0s autopkgtest [00:49:01]: starting date: 2024-03-18 0s autopkgtest [00:49:01]: git checkout: d9c0295b adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [00:49:01]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.nwq9xgji/out --timeout-copy=6000 --setup-commands 'ls /etc/apt/sources.list.d/*.list 2>/dev/null || true; 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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1' -- lxd -r lxd-armhf-10.44.124.24 lxd-armhf-10.44.124.24:autopkgtest/ubuntu/noble/armhf 82s autopkgtest [00:50:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 85s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 86s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 86s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 86s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 86s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3726 kB] 86s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [574 kB] 86s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 86s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 86s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 86s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3501 kB] 86s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 86s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [33.8 kB] 86s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 98s Fetched 8507 kB in 4s (2312 kB/s) 98s Reading package lists... 106s /etc/apt/sources.list.d/proposed.list 108s tee: /proc/self/fd/2: Permission denied 139s Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease 139s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 139s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 139s Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 139s Hit:5 http://ftpmaster.internal/ubuntu noble-security InRelease 139s Hit:6 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 139s Hit:7 http://ftpmaster.internal/ubuntu noble-proposed InRelease 139s Hit:8 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 148s Reading package lists... 148s Reading package lists... 149s Building dependency tree... 149s Reading state information... 151s Calculating upgrade... 153s The following packages were automatically installed and are no longer required: 153s libatasmart4 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 153s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 153s libblockdev-utils3 libblockdev3 libbytesize-common libbytesize1 libnspr4 153s libnss3 libnvme1t64 libpolkit-agent-1-0 libvolume-key1 153s linux-headers-6.8.0-11 python3-lib2to3 153s Use 'apt autoremove' to remove them. 156s The following packages will be REMOVED: 156s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 156s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 156s libhogweed6 libmagic1 libnetplan0 libnettle8 libnpth0 libnvme1 libparted2 156s libpcap0.8 libperl5.38 libpng16-16 libpsl5 libreadline8 libreiserfscore0 156s libssl3 libtirpc3 libudisks2-0 libuv1 linux-headers-6.8.0-11-generic 156s linux-headers-generic python3-distutils udisks2 156s The following NEW packages will be installed: 156s libapt-pkg6.0t64 libarchive13t64 libatm1t64 libcurl3t64-gnutls libcurl4t64 156s libdb5.3t64 libelf1t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 156s libglib2.0-0t64 libgnutls30t64 libgpgme11t64 libhogweed6t64 libmagic1t64 156s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 156s libpcap0.8t64 libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 156s libreiserfscore0t64 libssl3t64 libtirpc3t64 libuv1t64 xdg-user-dirs 156s The following packages have been kept back: 156s multipath-tools 156s The following packages will be upgraded: 156s apparmor apt apt-utils bind9-dnsutils bind9-host bind9-libs bolt 156s bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 156s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 156s dbus-user-session debianutils dhcpcd-base dirmngr dmsetup dpkg dpkg-dev 156s e2fsprogs e2fsprogs-l10n eject fdisk file ftp fwupd gawk gcc-13-base 156s gcc-14-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg gnupg-l10n 156s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv groff-base 156s ibverbs-providers inetutils-telnet info initramfs-tools initramfs-tools-bin 156s initramfs-tools-core install-info iproute2 jq keyboxd kmod kpartx 156s krb5-locales libapparmor1 libaudit-common libaudit1 libblkid1 156s libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 156s libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 156s libblockdev3 libbpf1 libbrotli1 libbsd0 libc-bin libc6 libcap-ng0 156s libcom-err2 libcryptsetup12 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 156s libdpkg-perl libevent-core-2.1-7 libexpat1 libfdisk1 libfido2-1 libftdi1-2 156s libfwupd2 libgcc-s1 libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 156s libgudev-1.0-0 libgusb2 libibverbs1 libjcat1 libjq1 libjson-glib-1.0-0 156s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 156s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 156s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 156s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 156s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 156s libpolkit-gobject-1-0 libpython3-stdlib libpython3.11-minimal 156s libpython3.11-stdlib libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 156s libqmi-proxy libqrtr-glib0 librtmp1 libsasl2-2 libsasl2-modules 156s libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libsemanage2 156s libslang2 libsmartcols1 libsqlite3-0 libss2 libssh-4 libstdc++6 156s libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl 156s libtirpc-common libudev1 libusb-1.0-0 libuuid1 libvolume-key1 libxml2 156s libxmlb2 libxmuu1 locales logsave lshw lsof man-db mount mtr-tiny 156s netplan-generator netplan.io openssh-client openssh-server 156s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 156s pinentry-curses plymouth plymouth-theme-ubuntu-text psmisc python-apt-common 156s python3 python3-apt python3-cryptography python3-dbus python3-gdbm 156s python3-gi python3-lib2to3 python3-markupsafe python3-minimal 156s python3-netplan python3-openssl python3-pkg-resources python3-pyrsistent 156s python3-setuptools python3-typing-extensions python3-yaml python3.11 156s python3.11-minimal python3.12 python3.12-minimal readline-common rsync 156s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 156s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 156s ubuntu-pro-client-l10n udev util-linux uuid-runtime vim-common vim-tiny wget 156s xxd xz-utils zlib1g 156s 225 upgraded, 30 newly installed, 34 to remove and 1 not upgraded. 156s Need to get 87.1 MB of archives. 156s After this operation, 9056 kB disk space will be freed. 156s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdutils armhf 1:2.39.3-9ubuntu2 [102 kB] 156s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-14-base armhf 14-20240315-1ubuntu1 [47.0 kB] 156s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-s1 armhf 14-20240315-1ubuntu1 [41.5 kB] 156s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++6 armhf 14-20240315-1ubuntu1 [714 kB] 156s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6 armhf 2.39-0ubuntu6 [2827 kB] 156s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssl armhf 3.0.13-0ubuntu1 [974 kB] 156s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g armhf 1:1.3.dfsg-3.1ubuntu1 [49.2 kB] 156s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2build6 [51.3 kB] 156s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12 armhf 3.12.2-4build2 [645 kB] 156s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libexpat1 armhf 2.6.1-2 [65.9 kB] 156s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12-minimal armhf 3.12.2-4build2 [1943 kB] 156s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-stdlib armhf 3.12.2-4build2 [1907 kB] 156s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-minimal armhf 3.12.2-4build2 [816 kB] 156s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma5 armhf 5.6.0-0.2 [117 kB] 156s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsqlite3-0 armhf 3.45.1-1ubuntu1 [599 kB] 156s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11 armhf 3.11.8-1build3 [589 kB] 157s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11-minimal armhf 3.11.8-1build3 [1794 kB] 157s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-stdlib armhf 3.11.8-1build3 [1810 kB] 157s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-minimal armhf 3.11.8-1build3 [827 kB] 157s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-iconv-perl armhf 1.7-8build2 [12.7 kB] 157s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-charwidth-perl armhf 0.04-11build2 [8962 B] 157s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 157s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-4ubuntu4 [19.2 kB] 157s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-5build1 [661 kB] 157s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gdbm armhf 3.12.2-3ubuntu2 [17.1 kB] 157s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main armhf man-db armhf 2.12.0-3build4 [1196 kB] 157s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm6t64 armhf 1.23-5.1 [30.3 kB] 157s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm-compat4t64 armhf 1.23-5.1 [6208 B] 157s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperl5.38t64 armhf 5.38.2-3.2 [4101 kB] 157s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl armhf 5.38.2-3.2 [231 kB] 157s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-base armhf 5.38.2-3.2 [1671 kB] 157s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblocale-gettext-perl armhf 1.07-6ubuntu3 [15.0 kB] 157s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-timesyncd armhf 255.4-1ubuntu5 [36.0 kB] 157s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 157s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit-common all 1:3.1.2-2.1 [5674 B] 157s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcap-ng0 armhf 0.8.4-2build1 [13.5 kB] 157s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit1 armhf 1:3.1.2-2.1 [44.3 kB] 157s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam0g armhf 1.5.3-5ubuntu3 [62.0 kB] 157s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2build3 [70.5 kB] 157s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules-bin armhf 1.5.3-5ubuntu3 [47.0 kB] 157s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules armhf 1.5.3-5ubuntu3 [261 kB] 157s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 157s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-sysv armhf 255.4-1ubuntu5 [11.9 kB] 157s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-systemd armhf 255.4-1ubuntu5 [216 kB] 157s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-user-session armhf 1.14.10-4ubuntu2 [9962 B] 157s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapparmor1 armhf 4.0.0~beta2-0ubuntu3 [44.8 kB] 157s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-bin armhf 1.14.10-4ubuntu2 [37.1 kB] 157s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 157s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus armhf 1.14.10-4ubuntu2 [28.1 kB] 157s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-daemon armhf 1.14.10-4ubuntu2 [109 kB] 157s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdbus-1-3 armhf 1.14.10-4ubuntu2 [190 kB] 157s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-resolved armhf 255.4-1ubuntu5 [289 kB] 157s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid1 armhf 2.39.3-9ubuntu2 [160 kB] 157s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kmod armhf 31+20240202-2ubuntu4 [91.8 kB] 157s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkmod2 armhf 31+20240202-2ubuntu4 [44.9 kB] 157s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount1 armhf 2.39.3-9ubuntu2 [171 kB] 157s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libseccomp2 armhf 2.5.5-1ubuntu2 [49.5 kB] 157s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu6 [172 kB] 157s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-0t64 armhf 2.79.3-3ubuntu5 [1414 kB] 157s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvolume-key1 armhf 0.3.12-7build1 [38.4 kB] 158s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgpgme11t64 armhf 1.18.0-4.1ubuntu3 [120 kB] 158s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjcat1 armhf 0.2.0-2build2 [30.4 kB] 158s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libarchive13t64 armhf 3.7.2-1.1ubuntu1 [330 kB] 158s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fwupd armhf 1.9.15-1 [4349 kB] 158s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client-l10n armhf 31.2 [19.4 kB] 158s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client armhf 31.2 [216 kB] 158s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparted2t64 armhf 3.6-3.1build2 [143 kB] 158s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main armhf parted armhf 3.6-3.1build2 [39.4 kB] 158s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf keyboxd armhf 2.4.4-2ubuntu15 [111 kB] 158s Get:70 http://ftpmaster.internal/ubuntu noble/main armhf libnpth0t64 armhf 1.6-3.1 [6940 B] 158s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgv armhf 2.4.4-2ubuntu15 [224 kB] 158s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg armhf 2.4.4-2ubuntu15 [524 kB] 158s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-wks-client armhf 2.4.4-2ubuntu15 [87.4 kB] 158s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-utils armhf 2.4.4-2ubuntu15 [158 kB] 158s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-agent armhf 2.4.4-2ubuntu15 [235 kB] 158s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgsm armhf 2.4.4-2ubuntu15 [241 kB] 158s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline8t64 armhf 8.2-3.1 [129 kB] 158s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gawk armhf 1:5.2.1-2build2 [415 kB] 158s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fdisk armhf 2.39.3-9ubuntu2 [135 kB] 158s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgconf armhf 2.4.4-2ubuntu15 [115 kB] 158s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dirmngr armhf 2.4.4-2ubuntu15 [346 kB] 158s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg all 2.4.4-2ubuntu15 [359 kB] 158s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-apt armhf 2.7.6build1 [162 kB] 158s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt-utils armhf 2.7.13ubuntu1 [210 kB] 158s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg6.0t64 armhf 2.7.13ubuntu1 [986 kB] 158s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnettle8t64 armhf 3.9.1-2.2 [187 kB] 158s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhogweed6t64 armhf 3.9.1-2.2 [187 kB] 158s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgnutls30t64 armhf 3.8.3-1.1ubuntu2 [1046 kB] 158s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt armhf 2.7.13ubuntu1 [1367 kB] 158s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl3t64-gnutls armhf 8.5.0-2ubuntu7 [290 kB] 158s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfwupd2 armhf 1.9.15-1 [123 kB] 158s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.7 kB] 158s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf wget armhf 1.21.4-1ubuntu2 [317 kB] 158s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tnftp armhf 20230507-2build1 [98.6 kB] 158s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpcap0.8t64 armhf 1.10.4-4.1ubuntu1 [137 kB] 158s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tcpdump armhf 4.99.4-3ubuntu2 [425 kB] 158s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main armhf sudo armhf 1.9.15p5-3ubuntu2 [936 kB] 158s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main armhf rsync armhf 3.2.7-1build1 [413 kB] 158s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-cryptography armhf 41.0.7-4build2 [788 kB] 158s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-sftp-server armhf 1:9.6p1-3ubuntu10 [35.5 kB] 158s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-client armhf 1:9.6p1-3ubuntu10 [890 kB] 159s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-server armhf 1:9.6p1-3ubuntu10 [503 kB] 159s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl3t64 armhf 3.0.13-0ubuntu1 [1557 kB] 160s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-dev all 255.4-1ubuntu5 [103 kB] 160s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd armhf 255.4-1ubuntu5 [3502 kB] 161s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udev armhf 255.4-1ubuntu5 [1852 kB] 161s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnss-systemd armhf 255.4-1ubuntu5 [148 kB] 161s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd-shared armhf 255.4-1ubuntu5 [2009 kB] 162s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudev1 armhf 255.4-1ubuntu5 [166 kB] 162s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.185-3ubuntu2 [135 kB] 162s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuuid1 armhf 2.39.3-9ubuntu2 [34.4 kB] 162s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcryptsetup12 armhf 2:2.7.0-1ubuntu2 [238 kB] 162s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfdisk1 armhf 2.39.3-9ubuntu2 [196 kB] 162s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mount armhf 2.39.3-9ubuntu2 [134 kB] 162s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd0 armhf 255.4-1ubuntu5 [410 kB] 162s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-yaml armhf 6.0.1-2build1 [117 kB] 162s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf pinentry-curses armhf 1.2.1-3ubuntu4 [36.7 kB] 162s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsmartcols1 armhf 2.39.3-9ubuntu2 [117 kB] 162s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf readline-common all 8.2-3.1 [56.4 kB] 162s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python-apt-common all 2.7.6build1 [19.8 kB] 162s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 162s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 162s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg armhf 1.22.6ubuntu2 [1229 kB] 162s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-minimal armhf 3.12.2-0ubuntu1 [27.1 kB] 162s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3 armhf 3.12.2-0ubuntu1 [24.1 kB] 162s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3-stdlib armhf 3.12.2-0ubuntu1 [9802 B] 162s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdextrautils armhf 2.39.3-9ubuntu2 [78.7 kB] 162s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main armhf groff-base armhf 1.23.0-3build1 [946 kB] 162s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-2 armhf 2.1.28+dfsg1-4ubuntu4 [49.7 kB] 162s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 162s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-0 armhf 1.8.0-2build1 [61.2 kB] 162s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml2 armhf 2.9.14+dfsg-1.3ubuntu2 [595 kB] 162s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgudev-1.0-0 armhf 1:238-3ubuntu2 [13.6 kB] 162s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libusb-1.0-0 armhf 2:1.0.27-1 [48.7 kB] 162s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgusb2 armhf 0.4.8-1build1 [34.6 kB] 162s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-proxy armhf 1.31.2-0ubuntu2 [5748 B] 162s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-glib4 armhf 1.31.2-0ubuntu2 [216 kB] 162s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmm-glib0 armhf 1.23.4-0ubuntu1 [214 kB] 162s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-agent-1-0 armhf 124-1ubuntu1 [15.3 kB] 162s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-gobject-1-0 armhf 124-1ubuntu1 [44.1 kB] 162s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-proxy armhf 1.35.2-0ubuntu1 [5732 B] 162s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqrtr-glib0 armhf 1.2.2-1ubuntu3 [15.4 kB] 162s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-glib5 armhf 1.35.2-0ubuntu1 [908 kB] 163s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmlb2 armhf 0.3.15-1build1 [57.0 kB] 163s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main armhf shared-mime-info armhf 2.4-1build1 [470 kB] 163s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbrotli1 armhf 1.1.0-2build1 [319 kB] 163s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgssapi-krb5-2 armhf 1.20.1-5.1build3 [119 kB] 163s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5-3 armhf 1.20.1-5.1build3 [321 kB] 163s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5support0 armhf 1.20.1-5.1build3 [31.4 kB] 163s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libk5crypto3 armhf 1.20.1-5.1build3 [78.6 kB] 163s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcom-err2 armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 163s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnghttp2-14 armhf 1.59.0-1build1 [68.1 kB] 163s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh-4 armhf 0.10.6-2build1 [169 kB] 163s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libibverbs1 armhf 50.0-2build1 [57.9 kB] 163s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfido2-1 armhf 1.14.0-1build1 [75.8 kB] 163s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main armhf coreutils armhf 9.4-3ubuntu3 [1280 kB] 163s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main armhf debianutils armhf 5.17 [88.9 kB] 163s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main armhf util-linux armhf 2.39.3-9ubuntu2 [1216 kB] 163s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-bin armhf 2.39-0ubuntu6 [530 kB] 163s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main armhf curl armhf 8.5.0-2ubuntu7 [219 kB] 163s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4t64 armhf 8.5.0-2ubuntu7 [296 kB] 163s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbpf1 armhf 1:1.3.0-2build1 [146 kB] 163s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main armhf iproute2 armhf 6.1.0-1ubuntu5 [1060 kB] 163s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libelf1t64 armhf 0.190-1.1build2 [49.9 kB] 163s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lsof armhf 4.95.0-1build2 [248 kB] 163s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnsl2 armhf 1.3.0-3build2 [36.5 kB] 163s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc-common all 1.3.4+ds-1.1 [8018 B] 163s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc3t64 armhf 1.3.4+ds-1.1 [73.2 kB] 163s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-utils3 armhf 3.1.0-1build1 [16.9 kB] 163s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-fs3 armhf 3.1.0-1build1 [34.4 kB] 163s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main armhf logsave armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 163s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools all 0.142ubuntu22 [9056 B] 163s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-core all 0.142ubuntu22 [50.0 kB] 163s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 163s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libext2fs2t64 armhf 1.47.0-2.4~exp1ubuntu2 [201 kB] 163s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs armhf 1.47.0-2.4~exp1ubuntu2 [571 kB] 163s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main armhf btrfs-progs armhf 6.6.3-1.1build1 [852 kB] 163s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dhcpcd-base armhf 1:10.0.6-1ubuntu2 [186 kB] 163s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-bin armhf 0.142ubuntu22 [20.1 kB] 163s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreiserfscore0t64 armhf 1:3.6.27-7.1 [66.2 kB] 163s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main armhf file armhf 1:5.45-3 [21.1 kB] 163s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic-mgc armhf 1:5.45-3 [307 kB] 164s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic1t64 armhf 1:5.45-3 [81.4 kB] 164s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetplan1 armhf 1.0-1 [113 kB] 164s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-netplan armhf 1.0-1 [22.5 kB] 164s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan-generator armhf 1.0-1 [58.7 kB] 164s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-dbus armhf 1.3.2-5build2 [94.7 kB] 164s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan.io armhf 1.0-1 [64.3 kB] 164s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-nvme3 armhf 3.1.0-1build1 [17.5 kB] 164s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnvme1t64 armhf 1.8-3 [67.5 kB] 164s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libplymouth5 armhf 24.004.60-1ubuntu4 [139 kB] 164s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng16-16t64 armhf 1.6.43-3 [166 kB] 164s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-host armhf 1:9.18.24-0ubuntu3 [47.4 kB] 164s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-dnsutils armhf 1:9.18.24-0ubuntu3 [149 kB] 164s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-libs armhf 1:9.18.24-0ubuntu3 [1148 kB] 164s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuv1t64 armhf 1.48.0-1.1 [82.9 kB] 164s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-runtime armhf 2.39.3-9ubuntu2 [41.7 kB] 164s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebconfclient0 armhf 0.271ubuntu2 [10.8 kB] 164s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage-common all 3.5-1build4 [10.1 kB] 164s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage2 armhf 3.5-1build4 [84.5 kB] 164s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main armhf install-info armhf 7.1-3build1 [60.5 kB] 164s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-base armhf 13.2.0-19ubuntu1 [47.7 kB] 164s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libss2 armhf 1.47.0-2.4~exp1ubuntu2 [14.7 kB] 164s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dmsetup armhf 2:1.02.185-3ubuntu2 [81.1 kB] 164s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main armhf eject armhf 2.39.3-9ubuntu2 [43.2 kB] 164s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-girepository-2.0 armhf 1.79.1-1ubuntu6 [24.8 kB] 164s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-glib-2.0 armhf 2.79.3-3ubuntu5 [182 kB] 164s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-1.0-1 armhf 1.79.1-1ubuntu6 [106 kB] 164s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main armhf krb5-locales all 1.20.1-5.1build3 [13.8 kB] 164s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbsd0 armhf 0.12.1-1 [36.6 kB] 164s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 164s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libslang2 armhf 2.3.3-3build1 [478 kB] 165s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main armhf locales all 2.39-0ubuntu6 [4232 kB] 165s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gi armhf 3.47.0-3build1 [219 kB] 165s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-tiny armhf 2:9.1.0016-1ubuntu5 [665 kB] 165s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-common all 2:9.1.0016-1ubuntu5 [385 kB] 165s Get:217 http://ftpmaster.internal/ubuntu noble/main armhf xdg-user-dirs armhf 0.18-1 [17.3 kB] 165s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xxd armhf 2:9.1.0016-1ubuntu5 [62.4 kB] 165s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apparmor armhf 4.0.0~beta2-0ubuntu3 [557 kB] 165s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ftp all 20230507-2build1 [4724 B] 165s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main armhf inetutils-telnet armhf 2:2.5-3ubuntu3 [90.7 kB] 165s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main armhf info armhf 7.1-3build1 [127 kB] 165s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmuu1 armhf 2:1.1.3-3build1 [8004 B] 165s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2build2 [310 kB] 165s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mtr-tiny armhf 0.95-1.1build1 [51.7 kB] 165s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-1ubuntu4 [9828 B] 166s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth armhf 24.004.60-1ubuntu4 [143 kB] 166s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main armhf psmisc armhf 23.7-1 [176 kB] 166s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main armhf telnet all 0.17+2.5-3ubuntu3 [3682 B] 166s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xz-utils armhf 5.6.0-0.2 [271 kB] 166s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bolt armhf 0.9.6-2build1 [138 kB] 166s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cryptsetup-bin armhf 2:2.7.0-1ubuntu2 [214 kB] 166s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg-dev all 1.22.6ubuntu2 [1074 kB] 166s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdpkg-perl all 1.22.6ubuntu2 [269 kB] 166s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 166s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ibverbs-providers armhf 50.0-2build1 [27.4 kB] 166s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf jq armhf 1.7.1-3 [65.2 kB] 166s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjq1 armhf 1.7.1-3 [156 kB] 166s Get:239 http://ftpmaster.internal/ubuntu noble/main armhf libatm1t64 armhf 1:2.5.1-5.1 [20.0 kB] 166s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-crypto3 armhf 3.1.0-1build1 [20.3 kB] 166s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-loop3 armhf 3.1.0-1build1 [6502 B] 166s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-mdraid3 armhf 3.1.0-1build1 [13.3 kB] 166s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-part3 armhf 3.1.0-1build1 [16.4 kB] 166s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-swap3 armhf 3.1.0-1build1 [8894 B] 166s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev3 armhf 3.1.0-1build1 [42.9 kB] 166s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-core-2.1-7 armhf 2.1.12-stable-9build1 [82.3 kB] 166s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libftdi1-2 armhf 1.5-6build4 [25.7 kB] 166s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 166s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules armhf 2.1.28+dfsg1-4ubuntu4 [61.4 kB] 166s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-lib2to3 all 3.12.2-3ubuntu2 [79.3 kB] 166s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-markupsafe armhf 2.1.5-1build1 [12.1 kB] 166s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-openssl all 24.0.0-2 [47.5 kB] 166s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pyrsistent armhf 0.20.0-1build1 [53.0 kB] 166s Get:254 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-typing-extensions all 4.10.0-1 [60.7 kB] 166s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kpartx armhf 0.9.4-5ubuntu4 [31.4 kB] 173s Preconfiguring packages ... 174s Fetched 87.1 MB in 10s (8360 kB/s) 175s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 175s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_armhf.deb ... 175s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 175s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 175s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 175s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_armhf.deb ... 175s Unpacking gcc-14-base:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 175s Setting up gcc-14-base:armhf (14-20240315-1ubuntu1) ... 175s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 175s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_armhf.deb ... 175s Unpacking libgcc-s1:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 176s Setting up libgcc-s1:armhf (14-20240315-1ubuntu1) ... 176s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 176s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_armhf.deb ... 176s Unpacking libstdc++6:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 176s Setting up libstdc++6:armhf (14-20240315-1ubuntu1) ... 176s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 176s Preparing to unpack .../libc6_2.39-0ubuntu6_armhf.deb ... 177s Unpacking libc6:armhf (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 178s Setting up libc6:armhf (2.39-0ubuntu6) ... 179s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 179s Preparing to unpack .../openssl_3.0.13-0ubuntu1_armhf.deb ... 179s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 180s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 180s Unpacking zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 180s Setting up zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) ... 180s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 180s Preparing to unpack .../0-librtmp1_2.4+20151223.gitfa8646d.1-2build6_armhf.deb ... 180s Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 180s Preparing to unpack .../1-python3.12_3.12.2-4build2_armhf.deb ... 181s Unpacking python3.12 (3.12.2-4build2) over (3.12.2-1) ... 181s Preparing to unpack .../2-libexpat1_2.6.1-2_armhf.deb ... 181s Unpacking libexpat1:armhf (2.6.1-2) over (2.6.0-1) ... 181s Preparing to unpack .../3-python3.12-minimal_3.12.2-4build2_armhf.deb ... 181s Unpacking python3.12-minimal (3.12.2-4build2) over (3.12.2-1) ... 182s Preparing to unpack .../4-libpython3.12-stdlib_3.12.2-4build2_armhf.deb ... 182s Unpacking libpython3.12-stdlib:armhf (3.12.2-4build2) over (3.12.2-1) ... 183s Preparing to unpack .../5-libpython3.12-minimal_3.12.2-4build2_armhf.deb ... 183s Unpacking libpython3.12-minimal:armhf (3.12.2-4build2) over (3.12.2-1) ... 184s Preparing to unpack .../6-liblzma5_5.6.0-0.2_armhf.deb ... 184s Unpacking liblzma5:armhf (5.6.0-0.2) over (5.4.5-0.3) ... 184s Setting up liblzma5:armhf (5.6.0-0.2) ... 185s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 185s Preparing to unpack .../0-libsqlite3-0_3.45.1-1ubuntu1_armhf.deb ... 185s Unpacking libsqlite3-0:armhf (3.45.1-1ubuntu1) over (3.45.1-1) ... 185s Preparing to unpack .../1-python3.11_3.11.8-1build3_armhf.deb ... 186s Unpacking python3.11 (3.11.8-1build3) over (3.11.8-1) ... 186s Preparing to unpack .../2-python3.11-minimal_3.11.8-1build3_armhf.deb ... 186s Unpacking python3.11-minimal (3.11.8-1build3) over (3.11.8-1) ... 186s Preparing to unpack .../3-libpython3.11-stdlib_3.11.8-1build3_armhf.deb ... 186s Unpacking libpython3.11-stdlib:armhf (3.11.8-1build3) over (3.11.8-1) ... 188s Preparing to unpack .../4-libpython3.11-minimal_3.11.8-1build3_armhf.deb ... 188s Unpacking libpython3.11-minimal:armhf (3.11.8-1build3) over (3.11.8-1) ... 188s Preparing to unpack .../5-libtext-iconv-perl_1.7-8build2_armhf.deb ... 188s Unpacking libtext-iconv-perl:armhf (1.7-8build2) over (1.7-8build1) ... 188s Preparing to unpack .../6-libtext-charwidth-perl_0.04-11build2_armhf.deb ... 188s Unpacking libtext-charwidth-perl:armhf (0.04-11build2) over (0.04-11build1) ... 189s Preparing to unpack .../7-perl-modules-5.38_5.38.2-3.2_all.deb ... 189s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 191s Preparing to unpack .../8-libsasl2-modules-db_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 191s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 191s dpkg: libperl5.38:armhf: dependency problems, but removing anyway as you requested: 191s perl depends on libperl5.38 (= 5.38.2-3). 191s 191s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 191s Removing libperl5.38:armhf (5.38.2-3) ... 192s dpkg: libdb5.3:armhf: dependency problems, but removing anyway as you requested: 192s libpam-modules:armhf depends on libdb5.3. 192s iproute2 depends on libdb5.3. 192s apt-utils depends on libdb5.3. 192s 192s Removing libdb5.3:armhf (5.3.28+dfsg2-4) ... 192s Selecting previously unselected package libdb5.3t64:armhf. 192s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58091 files and directories currently installed.) 192s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-5build1_armhf.deb ... 192s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 192s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu2_armhf.deb ... 192s Unpacking python3-gdbm:armhf (3.12.2-3ubuntu2) over (3.11.5-1) ... 192s Preparing to unpack .../man-db_2.12.0-3build4_armhf.deb ... 192s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 193s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58097 files and directories currently installed.) 193s Removing libgdbm-compat4:armhf (1.23-5) ... 193s Removing libgdbm6:armhf (1.23-5) ... 193s Selecting previously unselected package libgdbm6t64:armhf. 193s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58087 files and directories currently installed.) 193s Preparing to unpack .../libgdbm6t64_1.23-5.1_armhf.deb ... 193s Unpacking libgdbm6t64:armhf (1.23-5.1) ... 193s Selecting previously unselected package libgdbm-compat4t64:armhf. 193s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_armhf.deb ... 193s Unpacking libgdbm-compat4t64:armhf (1.23-5.1) ... 193s Selecting previously unselected package libperl5.38t64:armhf. 193s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_armhf.deb ... 193s Unpacking libperl5.38t64:armhf (5.38.2-3.2) ... 194s Preparing to unpack .../perl_5.38.2-3.2_armhf.deb ... 194s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 195s Preparing to unpack .../perl-base_5.38.2-3.2_armhf.deb ... 195s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 196s Setting up perl-base (5.38.2-3.2) ... 196s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 196s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu3_armhf.deb ... 196s Unpacking liblocale-gettext-perl (1.07-6ubuntu3) over (1.07-6build1) ... 196s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu5_armhf.deb ... 196s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 196s Preparing to unpack .../dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 196s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 196s Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1_all.deb ... 196s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 197s Setting up libaudit-common (1:3.1.2-2.1) ... 197s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 197s Preparing to unpack .../libcap-ng0_0.8.4-2build1_armhf.deb ... 197s Unpacking libcap-ng0:armhf (0.8.4-2build1) over (0.8.4-2) ... 197s Setting up libcap-ng0:armhf (0.8.4-2build1) ... 197s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 197s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_armhf.deb ... 197s Unpacking libaudit1:armhf (1:3.1.2-2.1) over (1:3.1.2-2) ... 197s Setting up libaudit1:armhf (1:3.1.2-2.1) ... 197s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 197s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_armhf.deb ... 197s Unpacking libpam0g:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 197s Setting up libpam0g:armhf (1.5.3-5ubuntu3) ... 198s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 198s Preparing to unpack .../libselinux1_3.5-2build3_armhf.deb ... 198s Unpacking libselinux1:armhf (3.5-2build3) over (3.5-2build1) ... 198s Setting up libselinux1:armhf (3.5-2build3) ... 198s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 198s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_armhf.deb ... 198s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 199s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 199s pam_namespace.service is a disabled or a static unit not running, not starting it. 200s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 200s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_armhf.deb ... 200s Unpacking libpam-modules:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 200s Setting up libpam-modules:armhf (1.5.3-5ubuntu3) ... 200s Installing new version of config file /etc/security/namespace.init ... 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 201s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 201s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 201s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 201s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 201s Preparing to unpack .../00-systemd-sysv_255.4-1ubuntu5_armhf.deb ... 201s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 201s Preparing to unpack .../01-libpam-systemd_255.4-1ubuntu5_armhf.deb ... 201s Unpacking libpam-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 202s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_armhf.deb ... 202s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 202s Preparing to unpack .../03-libapparmor1_4.0.0~beta2-0ubuntu3_armhf.deb ... 202s Unpacking libapparmor1:armhf (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 202s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_armhf.deb ... 202s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 202s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 202s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 202s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_armhf.deb ... 202s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 202s Preparing to unpack .../07-dbus-daemon_1.14.10-4ubuntu2_armhf.deb ... 202s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 202s Preparing to unpack .../08-libdbus-1-3_1.14.10-4ubuntu2_armhf.deb ... 202s Unpacking libdbus-1-3:armhf (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 203s Preparing to unpack .../09-systemd-resolved_255.4-1ubuntu5_armhf.deb ... 203s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 203s Preparing to unpack .../10-libblkid1_2.39.3-9ubuntu2_armhf.deb ... 203s Unpacking libblkid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 203s Setting up libblkid1:armhf (2.39.3-9ubuntu2) ... 203s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 203s Preparing to unpack .../kmod_31+20240202-2ubuntu4_armhf.deb ... 203s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 203s dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty 203s Preparing to unpack .../libkmod2_31+20240202-2ubuntu4_armhf.deb ... 203s Unpacking libkmod2:armhf (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 204s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_armhf.deb ... 204s Unpacking libmount1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 204s Setting up libmount1:armhf (2.39.3-9ubuntu2) ... 204s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 204s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_armhf.deb ... 204s Unpacking libseccomp2:armhf (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 204s Setting up libseccomp2:armhf (2.5.5-1ubuntu2) ... 204s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 204s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu6_armhf.deb ... 204s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 204s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 204s Removing udisks2 (2.10.1-1ubuntu2) ... 206s dpkg: libglib2.0-0:armhf: dependency problems, but removing anyway as you requested: 206s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 206s python3-gi depends on libglib2.0-0 (>= 2.77.0). 206s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 206s netplan.io depends on libglib2.0-0 (>= 2.70.0). 206s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 206s libxmlb2:armhf depends on libglib2.0-0 (>= 2.54.0). 206s libvolume-key1:armhf depends on libglib2.0-0 (>= 2.18.0). 206s libudisks2-0:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libqrtr-glib0:armhf depends on libglib2.0-0 (>= 2.56). 206s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 206s libqmi-glib5:armhf depends on libglib2.0-0 (>= 2.54.0). 206s libpolkit-gobject-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 206s libpolkit-agent-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 206s libnetplan0:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libmm-glib0:armhf depends on libglib2.0-0 (>= 2.62.0). 206s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 206s libmbim-glib4:armhf depends on libglib2.0-0 (>= 2.56). 206s libjson-glib-1.0-0:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libjcat1:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libgusb2:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libgudev-1.0-0:armhf depends on libglib2.0-0 (>= 2.38.0). 206s libgirepository-1.0-1:armhf depends on libglib2.0-0 (>= 2.79.0). 206s libfwupd2:armhf depends on libglib2.0-0 (>= 2.79.0). 206s libblockdev3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-utils3:armhf depends on libglib2.0-0 (>= 2.75.3). 206s libblockdev-swap3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-part3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-nvme3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-mdraid3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-loop3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-fs3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s libblockdev-crypto3:armhf depends on libglib2.0-0 (>= 2.42.2). 206s gir1.2-glib-2.0:armhf depends on libglib2.0-0 (= 2.79.2-1~ubuntu1). 206s fwupd depends on libglib2.0-0 (>= 2.79.0). 206s bolt depends on libglib2.0-0 (>= 2.56.0). 206s 206s Removing libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 206s Selecting previously unselected package libglib2.0-0t64:armhf. 206s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58563 files and directories currently installed.) 206s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_armhf.deb ... 206s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:armhf.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 206s removed '/var/lib/dpkg/info/libglib2.0-0:armhf.postrm' 206s Unpacking libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 206s Preparing to unpack .../libvolume-key1_0.3.12-7build1_armhf.deb ... 206s Unpacking libvolume-key1:armhf (0.3.12-7build1) over (0.3.12-5build2) ... 206s dpkg: libgpgme11:armhf: dependency problems, but removing anyway as you requested: 206s libjcat1:armhf depends on libgpgme11 (>= 1.2.0). 206s 206s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58588 files and directories currently installed.) 206s Removing libgpgme11:armhf (1.18.0-4ubuntu1) ... 206s Selecting previously unselected package libgpgme11t64:armhf. 206s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58582 files and directories currently installed.) 206s Preparing to unpack .../libgpgme11t64_1.18.0-4.1ubuntu3_armhf.deb ... 206s Unpacking libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 207s Preparing to unpack .../libjcat1_0.2.0-2build2_armhf.deb ... 207s Unpacking libjcat1:armhf (0.2.0-2build2) over (0.2.0-2) ... 207s dpkg: libarchive13:armhf: dependency problems, but removing anyway as you requested: 207s fwupd depends on libarchive13 (>= 3.2.1). 207s 207s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58589 files and directories currently installed.) 207s Removing libarchive13:armhf (3.7.2-1ubuntu2) ... 207s Selecting previously unselected package libarchive13t64:armhf. 207s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58583 files and directories currently installed.) 207s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu1_armhf.deb ... 207s Unpacking libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 207s Preparing to unpack .../fwupd_1.9.15-1_armhf.deb ... 208s Unpacking fwupd (1.9.15-1) over (1.9.14-1) ... 208s Preparing to unpack .../ubuntu-pro-client-l10n_31.2_armhf.deb ... 208s Unpacking ubuntu-pro-client-l10n (31.2) over (31.1) ... 208s Preparing to unpack .../ubuntu-pro-client_31.2_armhf.deb ... 209s Unpacking ubuntu-pro-client (31.2) over (31.1) ... 210s dpkg: libparted2:armhf: dependency problems, but removing anyway as you requested: 210s parted depends on libparted2 (= 3.6-3). 210s 210s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58590 files and directories currently installed.) 210s Removing libparted2:armhf (3.6-3) ... 210s Selecting previously unselected package libparted2t64:armhf. 210s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58584 files and directories currently installed.) 210s Preparing to unpack .../libparted2t64_3.6-3.1build2_armhf.deb ... 210s Unpacking libparted2t64:armhf (3.6-3.1build2) ... 210s Preparing to unpack .../parted_3.6-3.1build2_armhf.deb ... 210s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 211s Preparing to unpack .../keyboxd_2.4.4-2ubuntu15_armhf.deb ... 211s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 211s dpkg: libnpth0:armhf: dependency problems, but removing anyway as you requested: 211s gpgv depends on libnpth0 (>= 0.90). 211s gpgsm depends on libnpth0 (>= 0.90). 211s gpg-agent depends on libnpth0 (>= 0.90). 211s gpg depends on libnpth0 (>= 0.90). 211s dirmngr depends on libnpth0 (>= 0.90). 211s 211s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58591 files and directories currently installed.) 211s Removing libnpth0:armhf (1.6-3build2) ... 211s Selecting previously unselected package libnpth0t64:armhf. 211s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58586 files and directories currently installed.) 211s Preparing to unpack .../libnpth0t64_1.6-3.1_armhf.deb ... 211s Unpacking libnpth0t64:armhf (1.6-3.1) ... 211s Setting up libnpth0t64:armhf (1.6-3.1) ... 212s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 212s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s Setting up gpgv (2.4.4-2ubuntu15) ... 212s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 212s Preparing to unpack .../gpg_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s Preparing to unpack .../gpg-wks-client_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s Preparing to unpack .../gnupg-utils_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s Preparing to unpack .../gpg-agent_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_armhf.deb ... 212s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 212s dpkg: libreadline8:armhf: dependency problems, but removing anyway as you requested: 212s gpgconf depends on libreadline8 (>= 6.0). 212s gawk depends on libreadline8 (>= 6.0). 212s fdisk depends on libreadline8 (>= 6.0). 212s 213s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 213s Removing libreadline8:armhf (8.2-3) ... 213s Selecting previously unselected package libreadline8t64:armhf. 213s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58580 files and directories currently installed.) 213s Preparing to unpack .../libreadline8t64_8.2-3.1_armhf.deb ... 213s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 213s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 213s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 213s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 213s Unpacking libreadline8t64:armhf (8.2-3.1) ... 213s Setting up libreadline8t64:armhf (8.2-3.1) ... 213s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 213s Preparing to unpack .../0-gawk_1%3a5.2.1-2build2_armhf.deb ... 213s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 214s Preparing to unpack .../1-fdisk_2.39.3-9ubuntu2_armhf.deb ... 214s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 214s Preparing to unpack .../2-gpgconf_2.4.4-2ubuntu15_armhf.deb ... 214s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 214s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_armhf.deb ... 214s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 214s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 214s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 215s Preparing to unpack .../5-python3-apt_2.7.6build1_armhf.deb ... 215s Unpacking python3-apt (2.7.6build1) over (2.7.6) ... 215s Preparing to unpack .../6-apt-utils_2.7.13ubuntu1_armhf.deb ... 215s Unpacking apt-utils (2.7.13ubuntu1) over (2.7.12) ... 215s dpkg: libapt-pkg6.0:armhf: dependency problems, but removing anyway as you requested: 215s apt depends on libapt-pkg6.0 (>= 2.7.12). 215s 215s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58598 files and directories currently installed.) 215s Removing libapt-pkg6.0:armhf (2.7.12) ... 215s dpkg: libnettle8:armhf: dependency problems, but removing anyway as you requested: 215s libhogweed6:armhf depends on libnettle8. 215s libgnutls30:armhf depends on libnettle8 (>= 3.9~). 215s libcurl3-gnutls:armhf depends on libnettle8. 215s 215s Removing libnettle8:armhf (3.9.1-2) ... 216s Selecting previously unselected package libapt-pkg6.0t64:armhf. 216s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58542 files and directories currently installed.) 216s Preparing to unpack .../libapt-pkg6.0t64_2.7.13ubuntu1_armhf.deb ... 216s Unpacking libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 216s Setting up libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 216s Selecting previously unselected package libnettle8t64:armhf. 216s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 216s Preparing to unpack .../libnettle8t64_3.9.1-2.2_armhf.deb ... 216s Unpacking libnettle8t64:armhf (3.9.1-2.2) ... 216s Setting up libnettle8t64:armhf (3.9.1-2.2) ... 216s dpkg: libhogweed6:armhf: dependency problems, but removing anyway as you requested: 216s libgnutls30:armhf depends on libhogweed6 (>= 3.6). 216s 216s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 216s Removing libhogweed6:armhf (3.9.1-2) ... 217s Selecting previously unselected package libhogweed6t64:armhf. 217s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58595 files and directories currently installed.) 217s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_armhf.deb ... 217s Unpacking libhogweed6t64:armhf (3.9.1-2.2) ... 217s Setting up libhogweed6t64:armhf (3.9.1-2.2) ... 217s dpkg: libgnutls30:armhf: dependency problems, but removing anyway as you requested: 217s libcurl3-gnutls:armhf depends on libgnutls30 (>= 3.8.2). 217s apt depends on libgnutls30 (>= 3.8.1). 217s 217s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58601 files and directories currently installed.) 217s Removing libgnutls30:armhf (3.8.3-1ubuntu1) ... 217s Selecting previously unselected package libgnutls30t64:armhf. 217s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 217s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_armhf.deb ... 217s Unpacking libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 218s Setting up libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 218s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 218s Preparing to unpack .../apt_2.7.13ubuntu1_armhf.deb ... 218s Unpacking apt (2.7.13ubuntu1) over (2.7.12) ... 218s Setting up apt (2.7.13ubuntu1) ... 221s dpkg: libcurl3-gnutls:armhf: dependency problems, but removing anyway as you requested: 221s libfwupd2:armhf depends on libcurl3-gnutls (>= 7.63.0). 221s 221s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 221s Removing libcurl3-gnutls:armhf (8.5.0-2ubuntu2) ... 221s Selecting previously unselected package libcurl3t64-gnutls:armhf. 221s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58613 files and directories currently installed.) 221s Preparing to unpack .../libcurl3t64-gnutls_8.5.0-2ubuntu7_armhf.deb ... 221s Unpacking libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 221s Preparing to unpack .../libfwupd2_1.9.15-1_armhf.deb ... 221s Unpacking libfwupd2:armhf (1.9.15-1) over (1.9.14-1) ... 221s dpkg: libpsl5:armhf: dependency problems, but removing anyway as you requested: 221s wget depends on libpsl5 (>= 0.16.0). 221s libcurl4:armhf depends on libpsl5 (>= 0.16.0). 221s 221s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 221s Removing libpsl5:armhf (0.21.2-1build1) ... 221s Selecting previously unselected package libpsl5t64:armhf. 221s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 221s Preparing to unpack .../libpsl5t64_0.21.2-1.1_armhf.deb ... 221s Unpacking libpsl5t64:armhf (0.21.2-1.1) ... 222s Preparing to unpack .../wget_1.21.4-1ubuntu2_armhf.deb ... 222s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 222s Preparing to unpack .../tnftp_20230507-2build1_armhf.deb ... 222s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 222s dpkg: libpcap0.8:armhf: dependency problems, but removing anyway as you requested: 222s tcpdump depends on libpcap0.8 (>= 1.9.1). 222s 222s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58621 files and directories currently installed.) 222s Removing libpcap0.8:armhf (1.10.4-4ubuntu3) ... 222s Selecting previously unselected package libpcap0.8t64:armhf. 222s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58610 files and directories currently installed.) 222s Preparing to unpack .../0-libpcap0.8t64_1.10.4-4.1ubuntu1_armhf.deb ... 222s Unpacking libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 222s Preparing to unpack .../1-tcpdump_4.99.4-3ubuntu2_armhf.deb ... 222s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 222s Preparing to unpack .../2-sudo_1.9.15p5-3ubuntu2_armhf.deb ... 222s Unpacking sudo (1.9.15p5-3ubuntu2) over (1.9.15p5-3ubuntu1) ... 223s Preparing to unpack .../3-rsync_3.2.7-1build1_armhf.deb ... 223s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 223s Preparing to unpack .../4-python3-cryptography_41.0.7-4build2_armhf.deb ... 223s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 224s Preparing to unpack .../5-openssh-sftp-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 224s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 224s Preparing to unpack .../6-openssh-client_1%3a9.6p1-3ubuntu10_armhf.deb ... 224s Unpacking openssh-client (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 224s Preparing to unpack .../7-openssh-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 224s Unpacking openssh-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 225s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58622 files and directories currently installed.) 225s Removing linux-headers-generic (6.8.0-11.11+1) ... 225s Removing linux-headers-6.8.0-11-generic (6.8.0-11.11) ... 227s dpkg: libssl3:armhf: dependency problems, but removing anyway as you requested: 227s systemd depends on libssl3 (>= 3.0.0). 227s libsystemd-shared:armhf depends on libssl3 (>= 3.0.0). 227s libssh-4:armhf depends on libssl3 (>= 3.0.0). 227s libsasl2-modules:armhf depends on libssl3 (>= 3.0.0). 227s libsasl2-2:armhf depends on libssl3 (>= 3.0.0). 227s libnvme1 depends on libssl3 (>= 3.0.0). 227s libkrb5-3:armhf depends on libssl3 (>= 3.0.0). 227s libfido2-1:armhf depends on libssl3 (>= 3.0.0). 227s libcurl4:armhf depends on libssl3 (>= 3.0.0). 227s libcryptsetup12:armhf depends on libssl3 (>= 3.0.0). 227s dhcpcd-base depends on libssl3 (>= 3.0.0). 227s bind9-libs:armhf depends on libssl3 (>= 3.0.0). 227s 227s Removing libssl3:armhf (3.0.10-1ubuntu4) ... 227s Selecting previously unselected package libssl3t64:armhf. 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47469 files and directories currently installed.) 227s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_armhf.deb ... 227s Unpacking libssl3t64:armhf (3.0.13-0ubuntu1) ... 227s Setting up libssl3t64:armhf (3.0.13-0ubuntu1) ... 227s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 227s Preparing to unpack .../0-systemd-dev_255.4-1ubuntu5_all.deb ... 227s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 227s Preparing to unpack .../1-systemd_255.4-1ubuntu5_armhf.deb ... 227s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 228s Preparing to unpack .../2-udev_255.4-1ubuntu5_armhf.deb ... 228s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 229s Preparing to unpack .../3-libnss-systemd_255.4-1ubuntu5_armhf.deb ... 229s Unpacking libnss-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 229s Preparing to unpack .../4-libsystemd-shared_255.4-1ubuntu5_armhf.deb ... 229s Unpacking libsystemd-shared:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 229s Preparing to unpack .../5-libudev1_255.4-1ubuntu5_armhf.deb ... 229s Unpacking libudev1:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 229s Setting up libudev1:armhf (255.4-1ubuntu5) ... 230s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 230s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_armhf.deb ... 230s Unpacking libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 230s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_armhf.deb ... 230s Unpacking libuuid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 230s Setting up libuuid1:armhf (2.39.3-9ubuntu2) ... 230s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 230s Preparing to unpack .../libcryptsetup12_2%3a2.7.0-1ubuntu2_armhf.deb ... 230s Unpacking libcryptsetup12:armhf (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 230s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_armhf.deb ... 230s Unpacking libfdisk1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 230s Preparing to unpack .../mount_2.39.3-9ubuntu2_armhf.deb ... 230s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 230s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_armhf.deb ... 230s Unpacking libsystemd0:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 230s Setting up libsystemd0:armhf (255.4-1ubuntu5) ... 230s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 231s Preparing to unpack .../python3-yaml_6.0.1-2build1_armhf.deb ... 231s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 231s Preparing to unpack .../pinentry-curses_1.2.1-3ubuntu4_armhf.deb ... 231s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 231s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_armhf.deb ... 231s Unpacking libsmartcols1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 231s Setting up libsmartcols1:armhf (2.39.3-9ubuntu2) ... 231s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 231s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 231s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 231s Preparing to unpack .../python-apt-common_2.7.6build1_all.deb ... 231s Unpacking python-apt-common (2.7.6build1) over (2.7.6) ... 231s Preparing to unpack .../python3-setuptools_68.1.2-2ubuntu1_all.deb ... 232s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 232s Preparing to unpack .../python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 233s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 233s Preparing to unpack .../dpkg_1.22.6ubuntu2_armhf.deb ... 233s Unpacking dpkg (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 233s Setting up dpkg (1.22.6ubuntu2) ... 234s Setting up libpython3.12-minimal:armhf (3.12.2-4build2) ... 234s Setting up libexpat1:armhf (2.6.1-2) ... 234s Setting up python3.12-minimal (3.12.2-4build2) ... 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 237s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_armhf.deb ... 237s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 237s Setting up python3-minimal (3.12.2-0ubuntu1) ... 238s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 238s Preparing to unpack .../00-python3_3.12.2-0ubuntu1_armhf.deb ... 238s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 238s Preparing to unpack .../01-libpython3-stdlib_3.12.2-0ubuntu1_armhf.deb ... 238s Unpacking libpython3-stdlib:armhf (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 238s Preparing to unpack .../02-bsdextrautils_2.39.3-9ubuntu2_armhf.deb ... 238s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 238s Preparing to unpack .../03-groff-base_1.23.0-3build1_armhf.deb ... 238s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 238s Preparing to unpack .../04-libsasl2-2_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 238s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 239s Preparing to unpack .../05-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 239s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 239s Preparing to unpack .../06-libjson-glib-1.0-0_1.8.0-2build1_armhf.deb ... 239s Unpacking libjson-glib-1.0-0:armhf (1.8.0-2build1) over (1.8.0-2) ... 239s Preparing to unpack .../07-libxml2_2.9.14+dfsg-1.3ubuntu2_armhf.deb ... 239s Unpacking libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 239s Preparing to unpack .../08-libgudev-1.0-0_1%3a238-3ubuntu2_armhf.deb ... 239s Unpacking libgudev-1.0-0:armhf (1:238-3ubuntu2) over (1:238-3) ... 239s Preparing to unpack .../09-libusb-1.0-0_2%3a1.0.27-1_armhf.deb ... 239s Unpacking libusb-1.0-0:armhf (2:1.0.27-1) over (2:1.0.26-1) ... 239s Preparing to unpack .../10-libgusb2_0.4.8-1build1_armhf.deb ... 239s Unpacking libgusb2:armhf (0.4.8-1build1) over (0.4.8-1) ... 239s Preparing to unpack .../11-libmbim-proxy_1.31.2-0ubuntu2_armhf.deb ... 239s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 239s Preparing to unpack .../12-libmbim-glib4_1.31.2-0ubuntu2_armhf.deb ... 239s Unpacking libmbim-glib4:armhf (1.31.2-0ubuntu2) over (1.30.0-1) ... 239s Preparing to unpack .../13-libmm-glib0_1.23.4-0ubuntu1_armhf.deb ... 239s Unpacking libmm-glib0:armhf (1.23.4-0ubuntu1) over (1.22.0-3) ... 239s Preparing to unpack .../14-libpolkit-agent-1-0_124-1ubuntu1_armhf.deb ... 239s Unpacking libpolkit-agent-1-0:armhf (124-1ubuntu1) over (124-1) ... 239s Preparing to unpack .../15-libpolkit-gobject-1-0_124-1ubuntu1_armhf.deb ... 239s Unpacking libpolkit-gobject-1-0:armhf (124-1ubuntu1) over (124-1) ... 239s Preparing to unpack .../16-libqmi-proxy_1.35.2-0ubuntu1_armhf.deb ... 239s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 240s Preparing to unpack .../17-libqrtr-glib0_1.2.2-1ubuntu3_armhf.deb ... 240s Unpacking libqrtr-glib0:armhf (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 240s Preparing to unpack .../18-libqmi-glib5_1.35.2-0ubuntu1_armhf.deb ... 240s Unpacking libqmi-glib5:armhf (1.35.2-0ubuntu1) over (1.34.0-2) ... 240s Preparing to unpack .../19-libxmlb2_0.3.15-1build1_armhf.deb ... 240s Unpacking libxmlb2:armhf (0.3.15-1build1) over (0.3.15-1) ... 240s Preparing to unpack .../20-shared-mime-info_2.4-1build1_armhf.deb ... 240s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 240s Preparing to unpack .../21-libbrotli1_1.1.0-2build1_armhf.deb ... 240s Unpacking libbrotli1:armhf (1.1.0-2build1) over (1.1.0-2) ... 240s Preparing to unpack .../22-libgssapi-krb5-2_1.20.1-5.1build3_armhf.deb ... 240s Unpacking libgssapi-krb5-2:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 240s Preparing to unpack .../23-libkrb5-3_1.20.1-5.1build3_armhf.deb ... 240s Unpacking libkrb5-3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 240s Preparing to unpack .../24-libkrb5support0_1.20.1-5.1build3_armhf.deb ... 240s Unpacking libkrb5support0:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 240s Preparing to unpack .../25-libk5crypto3_1.20.1-5.1build3_armhf.deb ... 240s Unpacking libk5crypto3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 241s Preparing to unpack .../26-libcom-err2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 241s Unpacking libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 241s Preparing to unpack .../27-libnghttp2-14_1.59.0-1build1_armhf.deb ... 241s Unpacking libnghttp2-14:armhf (1.59.0-1build1) over (1.59.0-1) ... 241s Preparing to unpack .../28-libssh-4_0.10.6-2build1_armhf.deb ... 241s Unpacking libssh-4:armhf (0.10.6-2build1) over (0.10.6-2) ... 241s Preparing to unpack .../29-libibverbs1_50.0-2build1_armhf.deb ... 241s Unpacking libibverbs1:armhf (50.0-2build1) over (50.0-2) ... 241s Preparing to unpack .../30-libfido2-1_1.14.0-1build1_armhf.deb ... 241s Unpacking libfido2-1:armhf (1.14.0-1build1) over (1.14.0-1) ... 241s Preparing to unpack .../31-coreutils_9.4-3ubuntu3_armhf.deb ... 241s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 241s Setting up coreutils (9.4-3ubuntu3) ... 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 242s Preparing to unpack .../debianutils_5.17_armhf.deb ... 242s Unpacking debianutils (5.17) over (5.16) ... 242s Setting up debianutils (5.17) ... 242s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 242s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_armhf.deb ... 242s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 242s Setting up util-linux (2.39.3-9ubuntu2) ... 244s fstrim.service is a disabled or a static unit not running, not starting it. 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 244s Preparing to unpack .../libc-bin_2.39-0ubuntu6_armhf.deb ... 244s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 244s Setting up libc-bin (2.39-0ubuntu6) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 245s Removing libatm1:armhf (1:2.5.1-5) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 245s Preparing to unpack .../curl_8.5.0-2ubuntu7_armhf.deb ... 245s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 245s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 245s Selecting previously unselected package libcurl4t64:armhf. 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 245s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_armhf.deb ... 245s Unpacking libcurl4t64:armhf (8.5.0-2ubuntu7) ... 245s Preparing to unpack .../libbpf1_1%3a1.3.0-2build1_armhf.deb ... 245s Unpacking libbpf1:armhf (1:1.3.0-2build1) over (1:1.3.0-2) ... 245s Preparing to unpack .../iproute2_6.1.0-1ubuntu5_armhf.deb ... 245s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 246s Removing libelf1:armhf (0.190-1) ... 246s Selecting previously unselected package libelf1t64:armhf. 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47472 files and directories currently installed.) 246s Preparing to unpack .../libelf1t64_0.190-1.1build2_armhf.deb ... 246s Unpacking libelf1t64:armhf (0.190-1.1build2) ... 246s Preparing to unpack .../lsof_4.95.0-1build2_armhf.deb ... 246s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 246s Preparing to unpack .../libnsl2_1.3.0-3build2_armhf.deb ... 246s Unpacking libnsl2:armhf (1.3.0-3build2) over (1.3.0-3) ... 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 246s Removing libtirpc3:armhf (1.3.4+ds-1build1) ... 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 246s Preparing to unpack .../0-libtirpc-common_1.3.4+ds-1.1_all.deb ... 246s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 246s Selecting previously unselected package libtirpc3t64:armhf. 246s Preparing to unpack .../1-libtirpc3t64_1.3.4+ds-1.1_armhf.deb ... 246s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' 246s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 246s Unpacking libtirpc3t64:armhf (1.3.4+ds-1.1) ... 246s Preparing to unpack .../2-libblockdev-utils3_3.1.0-1build1_armhf.deb ... 246s Unpacking libblockdev-utils3:armhf (3.1.0-1build1) over (3.1.0-1) ... 246s Preparing to unpack .../3-libblockdev-fs3_3.1.0-1build1_armhf.deb ... 246s Unpacking libblockdev-fs3:armhf (3.1.0-1build1) over (3.1.0-1) ... 246s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 246s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 247s Preparing to unpack .../5-initramfs-tools_0.142ubuntu22_all.deb ... 247s Unpacking initramfs-tools (0.142ubuntu22) over (0.142ubuntu20) ... 247s Preparing to unpack .../6-initramfs-tools-core_0.142ubuntu22_all.deb ... 247s Unpacking initramfs-tools-core (0.142ubuntu22) over (0.142ubuntu20) ... 247s Preparing to unpack .../7-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 247s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 247s dpkg: libext2fs2:armhf: dependency problems, but removing anyway as you requested: 247s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 247s btrfs-progs depends on libext2fs2 (>= 1.42). 247s 247s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 247s Removing libext2fs2:armhf (1.47.0-2ubuntu1) ... 247s Selecting previously unselected package libext2fs2t64:armhf. 247s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 247s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 247s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 247s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 247s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 247s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 247s Unpacking libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 247s Setting up libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) ... 247s Setting up libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 247s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 247s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 247s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 248s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_armhf.deb ... 248s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 248s Preparing to unpack .../dhcpcd-base_1%3a10.0.6-1ubuntu2_armhf.deb ... 248s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 248s Preparing to unpack .../initramfs-tools-bin_0.142ubuntu22_armhf.deb ... 248s Unpacking initramfs-tools-bin (0.142ubuntu22) over (0.142ubuntu20) ... 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 248s Removing libreiserfscore0 (1:3.6.27-7) ... 248s Selecting previously unselected package libreiserfscore0t64. 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 248s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_armhf.deb ... 248s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 248s Preparing to unpack .../file_1%3a5.45-3_armhf.deb ... 248s Unpacking file (1:5.45-3) over (1:5.45-2) ... 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47493 files and directories currently installed.) 248s Removing libmagic1:armhf (1:5.45-2) ... 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 248s Preparing to unpack .../0-libmagic-mgc_1%3a5.45-3_armhf.deb ... 248s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 249s Selecting previously unselected package libmagic1t64:armhf. 249s Preparing to unpack .../1-libmagic1t64_1%3a5.45-3_armhf.deb ... 249s Unpacking libmagic1t64:armhf (1:5.45-3) ... 249s Selecting previously unselected package libnetplan1:armhf. 249s Preparing to unpack .../2-libnetplan1_1.0-1_armhf.deb ... 249s Unpacking libnetplan1:armhf (1.0-1) ... 249s Preparing to unpack .../3-python3-netplan_1.0-1_armhf.deb ... 249s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 249s Preparing to unpack .../4-netplan-generator_1.0-1_armhf.deb ... 249s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 249s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 249s Preparing to unpack .../5-python3-dbus_1.3.2-5build2_armhf.deb ... 249s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 249s Preparing to unpack .../6-netplan.io_1.0-1_armhf.deb ... 249s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47498 files and directories currently installed.) 250s Removing libnetplan0:armhf (0.107.1-3) ... 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 250s Preparing to unpack .../libblockdev-nvme3_3.1.0-1build1_armhf.deb ... 250s Unpacking libblockdev-nvme3:armhf (3.1.0-1build1) over (3.1.0-1) ... 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 250s Removing libnvme1 (1.8-2) ... 250s Selecting previously unselected package libnvme1t64. 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 250s Preparing to unpack .../libnvme1t64_1.8-3_armhf.deb ... 250s Unpacking libnvme1t64 (1.8-3) ... 250s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu4_armhf.deb ... 250s Unpacking libplymouth5:armhf (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47495 files and directories currently installed.) 250s Removing libpng16-16:armhf (1.6.43-1) ... 250s Selecting previously unselected package libpng16-16t64:armhf. 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47485 files and directories currently installed.) 250s Preparing to unpack .../libpng16-16t64_1.6.43-3_armhf.deb ... 250s Unpacking libpng16-16t64:armhf (1.6.43-3) ... 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47496 files and directories currently installed.) 251s Removing libudisks2-0:armhf (2.10.1-1ubuntu2) ... 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 251s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_armhf.deb ... 251s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 251s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_armhf.deb ... 251s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 251s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_armhf.deb ... 251s Unpacking bind9-libs:armhf (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 251s Removing libuv1:armhf (1.48.0-1) ... 251s Selecting previously unselected package libuv1t64:armhf. 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47486 files and directories currently installed.) 251s Preparing to unpack .../libuv1t64_1.48.0-1.1_armhf.deb ... 251s Unpacking libuv1t64:armhf (1.48.0-1.1) ... 251s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 251s Removing python3-distutils (3.11.5-1) ... 252s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 252s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_armhf.deb ... 252s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 252s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_armhf.deb ... 252s Unpacking libdebconfclient0:armhf (0.271ubuntu2) over (0.271ubuntu1) ... 252s Setting up libdebconfclient0:armhf (0.271ubuntu2) ... 252s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 252s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 252s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 252s Setting up libsemanage-common (3.5-1build4) ... 252s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 252s Preparing to unpack .../libsemanage2_3.5-1build4_armhf.deb ... 252s Unpacking libsemanage2:armhf (3.5-1build4) over (3.5-1build2) ... 252s Setting up libsemanage2:armhf (3.5-1build4) ... 252s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 252s Preparing to unpack .../install-info_7.1-3build1_armhf.deb ... 252s Unpacking install-info (7.1-3build1) over (7.1-3) ... 252s Setting up install-info (7.1-3build1) ... 253s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 253s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_armhf.deb ... 253s Unpacking gcc-13-base:armhf (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 253s Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 253s Unpacking libss2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 253s Preparing to unpack .../02-dmsetup_2%3a1.02.185-3ubuntu2_armhf.deb ... 253s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 253s Preparing to unpack .../03-eject_2.39.3-9ubuntu2_armhf.deb ... 253s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 253s Preparing to unpack .../04-gir1.2-girepository-2.0_1.79.1-1ubuntu6_armhf.deb ... 253s Unpacking gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 253s Preparing to unpack .../05-gir1.2-glib-2.0_2.79.3-3ubuntu5_armhf.deb ... 253s Unpacking gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 253s Preparing to unpack .../06-libgirepository-1.0-1_1.79.1-1ubuntu6_armhf.deb ... 253s Unpacking libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 253s Preparing to unpack .../07-krb5-locales_1.20.1-5.1build3_all.deb ... 253s Unpacking krb5-locales (1.20.1-5.1build3) over (1.20.1-5build1) ... 253s Preparing to unpack .../08-libbsd0_0.12.1-1_armhf.deb ... 253s Unpacking libbsd0:armhf (0.12.1-1) over (0.11.8-1) ... 253s Preparing to unpack .../09-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 253s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 253s Preparing to unpack .../10-libslang2_2.3.3-3build1_armhf.deb ... 253s Unpacking libslang2:armhf (2.3.3-3build1) over (2.3.3-3) ... 253s Preparing to unpack .../11-locales_2.39-0ubuntu6_all.deb ... 253s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 254s Preparing to unpack .../12-python3-gi_3.47.0-3build1_armhf.deb ... 254s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 255s Preparing to unpack .../13-vim-tiny_2%3a9.1.0016-1ubuntu5_armhf.deb ... 255s Unpacking vim-tiny (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 255s Preparing to unpack .../14-vim-common_2%3a9.1.0016-1ubuntu5_all.deb ... 255s Unpacking vim-common (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 255s Selecting previously unselected package xdg-user-dirs. 255s Preparing to unpack .../15-xdg-user-dirs_0.18-1_armhf.deb ... 255s Unpacking xdg-user-dirs (0.18-1) ... 255s Preparing to unpack .../16-xxd_2%3a9.1.0016-1ubuntu5_armhf.deb ... 255s Unpacking xxd (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 255s Preparing to unpack .../17-apparmor_4.0.0~beta2-0ubuntu3_armhf.deb ... 257s Unpacking apparmor (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 258s Preparing to unpack .../18-ftp_20230507-2build1_all.deb ... 258s Unpacking ftp (20230507-2build1) over (20230507-2) ... 258s Preparing to unpack .../19-inetutils-telnet_2%3a2.5-3ubuntu3_armhf.deb ... 258s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 258s Preparing to unpack .../20-info_7.1-3build1_armhf.deb ... 258s Unpacking info (7.1-3build1) over (7.1-3) ... 258s Preparing to unpack .../21-libxmuu1_2%3a1.1.3-3build1_armhf.deb ... 258s Unpacking libxmuu1:armhf (2:1.1.3-3build1) over (2:1.1.3-3) ... 258s Preparing to unpack .../22-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_armhf.deb ... 258s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 258s Preparing to unpack .../23-mtr-tiny_0.95-1.1build1_armhf.deb ... 258s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 258s Preparing to unpack .../24-plymouth-theme-ubuntu-text_24.004.60-1ubuntu4_armhf.deb ... 258s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 258s Preparing to unpack .../25-plymouth_24.004.60-1ubuntu4_armhf.deb ... 259s Unpacking plymouth (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 259s Preparing to unpack .../26-psmisc_23.7-1_armhf.deb ... 259s Unpacking psmisc (23.7-1) over (23.6-2) ... 259s Preparing to unpack .../27-telnet_0.17+2.5-3ubuntu3_all.deb ... 259s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 259s Preparing to unpack .../28-xz-utils_5.6.0-0.2_armhf.deb ... 259s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 259s Preparing to unpack .../29-bolt_0.9.6-2build1_armhf.deb ... 259s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 259s Preparing to unpack .../30-cryptsetup-bin_2%3a2.7.0-1ubuntu2_armhf.deb ... 259s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 260s Preparing to unpack .../31-dpkg-dev_1.22.6ubuntu2_all.deb ... 260s Unpacking dpkg-dev (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 260s Preparing to unpack .../32-libdpkg-perl_1.22.6ubuntu2_all.deb ... 260s Unpacking libdpkg-perl (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 261s Preparing to unpack .../33-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 261s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 261s Preparing to unpack .../34-ibverbs-providers_50.0-2build1_armhf.deb ... 261s Unpacking ibverbs-providers:armhf (50.0-2build1) over (50.0-2) ... 261s Preparing to unpack .../35-jq_1.7.1-3_armhf.deb ... 261s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 261s Preparing to unpack .../36-libjq1_1.7.1-3_armhf.deb ... 261s Unpacking libjq1:armhf (1.7.1-3) over (1.7.1-2) ... 261s Selecting previously unselected package libatm1t64:armhf. 261s Preparing to unpack .../37-libatm1t64_1%3a2.5.1-5.1_armhf.deb ... 261s Unpacking libatm1t64:armhf (1:2.5.1-5.1) ... 261s Preparing to unpack .../38-libblockdev-crypto3_3.1.0-1build1_armhf.deb ... 261s Unpacking libblockdev-crypto3:armhf (3.1.0-1build1) over (3.1.0-1) ... 261s Preparing to unpack .../39-libblockdev-loop3_3.1.0-1build1_armhf.deb ... 261s Unpacking libblockdev-loop3:armhf (3.1.0-1build1) over (3.1.0-1) ... 261s Preparing to unpack .../40-libblockdev-mdraid3_3.1.0-1build1_armhf.deb ... 261s Unpacking libblockdev-mdraid3:armhf (3.1.0-1build1) over (3.1.0-1) ... 261s Preparing to unpack .../41-libblockdev-part3_3.1.0-1build1_armhf.deb ... 261s Unpacking libblockdev-part3:armhf (3.1.0-1build1) over (3.1.0-1) ... 261s Preparing to unpack .../42-libblockdev-swap3_3.1.0-1build1_armhf.deb ... 261s Unpacking libblockdev-swap3:armhf (3.1.0-1build1) over (3.1.0-1) ... 262s Preparing to unpack .../43-libblockdev3_3.1.0-1build1_armhf.deb ... 262s Unpacking libblockdev3:armhf (3.1.0-1build1) over (3.1.0-1) ... 262s Preparing to unpack .../44-libevent-core-2.1-7_2.1.12-stable-9build1_armhf.deb ... 262s Unpacking libevent-core-2.1-7:armhf (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 262s Preparing to unpack .../45-libftdi1-2_1.5-6build4_armhf.deb ... 262s Unpacking libftdi1-2:armhf (1.5-6build4) over (1.5-6build3) ... 262s Preparing to unpack .../46-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 262s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 262s Preparing to unpack .../47-libsasl2-modules_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 262s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 262s Preparing to unpack .../48-python3-lib2to3_3.12.2-3ubuntu2_all.deb ... 262s Unpacking python3-lib2to3 (3.12.2-3ubuntu2) over (3.11.5-1) ... 262s Preparing to unpack .../49-python3-markupsafe_2.1.5-1build1_armhf.deb ... 263s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 263s Preparing to unpack .../50-python3-openssl_24.0.0-2_all.deb ... 263s Unpacking python3-openssl (24.0.0-2) over (23.2.0-1) ... 263s Preparing to unpack .../51-python3-pyrsistent_0.20.0-1build1_armhf.deb ... 263s Unpacking python3-pyrsistent:armhf (0.20.0-1build1) over (0.20.0-1) ... 263s Preparing to unpack .../52-python3-typing-extensions_4.10.0-1_all.deb ... 263s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 264s Preparing to unpack .../53-kpartx_0.9.4-5ubuntu4_armhf.deb ... 264s Unpacking kpartx (0.9.4-5ubuntu4) over (0.9.4-5ubuntu3) ... 264s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 264s Setting up libtext-iconv-perl:armhf (1.7-8build2) ... 264s Setting up libtext-charwidth-perl:armhf (0.04-11build2) ... 264s Setting up libibverbs1:armhf (50.0-2build1) ... 264s Setting up libapparmor1:armhf (4.0.0~beta2-0ubuntu3) ... 264s Setting up libatm1t64:armhf (1:2.5.1-5.1) ... 264s Setting up libgdbm6t64:armhf (1.23-5.1) ... 264s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 264s Setting up libgdbm-compat4t64:armhf (1.23-5.1) ... 264s Setting up xdg-user-dirs (0.18-1) ... 264s Setting up ibverbs-providers:armhf (50.0-2build1) ... 264s Setting up libmagic-mgc (1:5.45-3) ... 264s Setting up gawk (1:5.2.1-2build2) ... 264s Setting up psmisc (23.7-1) ... 264s Setting up libjq1:armhf (1.7.1-3) ... 264s Setting up libtirpc-common (1.3.4+ds-1.1) ... 264s Setting up libbrotli1:armhf (1.1.0-2build1) ... 264s Setting up libsqlite3-0:armhf (3.45.1-1ubuntu1) ... 264s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) ... 264s Setting up libuv1t64:armhf (1.48.0-1.1) ... 264s Setting up libmagic1t64:armhf (1:5.45-3) ... 264s Setting up libpsl5t64:armhf (0.21.2-1.1) ... 264s Setting up libnghttp2-14:armhf (1.59.0-1build1) ... 264s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 264s Setting up systemd-dev (255.4-1ubuntu5) ... 264s Setting up krb5-locales (1.20.1-5.1build3) ... 264s Setting up file (1:5.45-3) ... 264s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 264s Setting up locales (2.39-0ubuntu6) ... 266s Generating locales (this might take a while)... 272s en_US.UTF-8... done 272s Generation complete. 272s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 272s Setting up xxd (2:9.1.0016-1ubuntu5) ... 272s Setting up libelf1t64:armhf (0.190-1.1build2) ... 272s Setting up libkrb5support0:armhf (1.20.1-5.1build3) ... 272s Setting up eject (2.39.3-9ubuntu2) ... 272s Setting up apparmor (4.0.0~beta2-0ubuntu3) ... 272s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 272s Installing new version of config file /etc/apparmor.d/code ... 272s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 272s 272s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 272s 272s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 272s 274s sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory 274s Reloading AppArmor profiles 274s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 274s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 274s 275s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 275s 275s Error: At least one profile failed to load 275s Setting up libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 275s No schema files found: doing nothing. 275s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 275s Setting up vim-common (2:9.1.0016-1ubuntu5) ... 275s Setting up gcc-13-base:armhf (13.2.0-19ubuntu1) ... 275s Setting up libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 275s Setting up libslang2:armhf (2.3.3-3build1) ... 275s Setting up libnvme1t64 (1.8-3) ... 275s Setting up mtr-tiny (0.95-1.1build1) ... 275s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 275s Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) ... 275s Setting up libdbus-1-3:armhf (1.14.10-4ubuntu2) ... 275s Setting up xz-utils (5.6.0-0.2) ... 275s Setting up perl-modules-5.38 (5.38.2-3.2) ... 275s Setting up libpng16-16t64:armhf (1.6.43-3) ... 275s Setting up libevent-core-2.1-7:armhf (2.1.12-stable-9build1) ... 275s Setting up libss2:armhf (1.47.0-2.4~exp1ubuntu2) ... 275s Setting up sudo (1.9.15p5-3ubuntu2) ... 275s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 275s Setting up gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 275s Setting up libk5crypto3:armhf (1.20.1-5.1build3) ... 275s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 275s Setting up libfdisk1:armhf (2.39.3-9ubuntu2) ... 275s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 275s Setting up libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) ... 275s Setting up python-apt-common (2.7.6build1) ... 275s Setting up mount (2.39.3-9ubuntu2) ... 275s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 275s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 277s uuidd.service is a disabled or a static unit not running, not starting it. 277s Setting up libmm-glib0:armhf (1.23.4-0ubuntu1) ... 277s Setting up groff-base (1.23.0-3build1) ... 277s Setting up libplymouth5:armhf (24.004.60-1ubuntu4) ... 277s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 277s Setting up jq (1.7.1-3) ... 277s Setting up gpgconf (2.4.4-2ubuntu15) ... 277s Setting up libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 277s Setting up libcryptsetup12:armhf (2:2.7.0-1ubuntu2) ... 277s Setting up libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 277s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 277s Setting up libkrb5-3:armhf (1.20.1-5.1build3) ... 277s Setting up libpython3.11-minimal:armhf (3.11.8-1build3) ... 277s Setting up libusb-1.0-0:armhf (2:1.0.27-1) ... 277s Setting up libperl5.38t64:armhf (5.38.2-3.2) ... 277s Setting up tnftp (20230507-2build1) ... 277s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 277s Setting up libfido2-1:armhf (1.14.0-1build1) ... 277s Setting up openssl (3.0.13-0ubuntu1) ... 277s Setting up libbsd0:armhf (0.12.1-1) ... 277s Setting up readline-common (8.2-3.1) ... 277s Setting up libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) ... 277s Setting up libxmuu1:armhf (2:1.1.3-3build1) ... 277s Setting up dbus-bin (1.14.10-4ubuntu2) ... 277s Setting up info (7.1-3build1) ... 277s Setting up liblocale-gettext-perl (1.07-6ubuntu3) ... 277s Setting up gpg (2.4.4-2ubuntu15) ... 277s Setting up libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 277s Setting up libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 277s Setting up libbpf1:armhf (1:1.3.0-2build1) ... 277s Setting up libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 277s Setting up rsync (3.2.7-1build1) ... 279s rsync.service is a disabled or a static unit not running, not starting it. 279s Setting up libkmod2:armhf (31+20240202-2ubuntu4) ... 279s Setting up bolt (0.9.6-2build1) ... 280s bolt.service is a disabled or a static unit not running, not starting it. 280s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 280s Setting up initramfs-tools-bin (0.142ubuntu22) ... 280s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 280s Setting up python3.11-minimal (3.11.8-1build3) ... 282s Setting up tcpdump (4.99.4-3ubuntu2) ... 282s apparmor_parser: Unable to replace "tcpdump". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 282s 282s Setting up apt-utils (2.7.13ubuntu1) ... 282s Setting up gpg-agent (2.4.4-2ubuntu15) ... 284s Setting up libpython3.12-stdlib:armhf (3.12.2-4build2) ... 284s Setting up wget (1.21.4-1ubuntu2) ... 284s Setting up libxmlb2:armhf (0.3.15-1build1) ... 284s Setting up btrfs-progs (6.6.3-1.1build1) ... 284s Setting up libpython3.11-stdlib:armhf (3.11.8-1build3) ... 284s Setting up python3.12 (3.12.2-4build2) ... 287s Setting up gpgsm (2.4.4-2ubuntu15) ... 287s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 287s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 287s update-initramfs: deferring update (trigger activated) 288s e2scrub_all.service is a disabled or a static unit not running, not starting it. 288s Setting up libparted2t64:armhf (3.6-3.1build2) ... 288s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 288s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 288s Setting up vim-tiny (2:9.1.0016-1ubuntu5) ... 288s Setting up kmod (31+20240202-2ubuntu4) ... 289s Setting up libnetplan1:armhf (1.0-1) ... 289s Setting up man-db (2.12.0-3build4) ... 289s Updating database of manual pages ... 292s apparmor_parser: Unable to replace "/usr/bin/man". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 292s 293s man-db.service is a disabled or a static unit not running, not starting it. 293s Setting up fdisk (2.39.3-9ubuntu2) ... 293s Setting up libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 293s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) ... 293s Setting up libftdi1-2:armhf (1.5-6build4) ... 293s Setting up perl (5.38.2-3.2) ... 293s Setting up gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 293s Setting up dbus (1.14.10-4ubuntu2) ... 293s A reboot is required to replace the running dbus-daemon. 293s Please reboot the system when convenient. 294s Setting up shared-mime-info (2.4-1build1) ... 295s Setting up libblockdev-utils3:armhf (3.1.0-1build1) ... 295s Setting up libgssapi-krb5-2:armhf (1.20.1-5.1build3) ... 295s Setting up libsystemd-shared:armhf (255.4-1ubuntu5) ... 295s Setting up ftp (20230507-2build1) ... 295s Setting up keyboxd (2.4.4-2ubuntu15) ... 295s Setting up libdpkg-perl (1.22.6ubuntu2) ... 295s Setting up libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) ... 295s Setting up libssh-4:armhf (0.10.6-2build1) ... 295s Setting up libblockdev-nvme3:armhf (3.1.0-1build1) ... 295s Setting up libblockdev-fs3:armhf (3.1.0-1build1) ... 295s Setting up libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 295s Setting up libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 295s Setting up libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 295s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) ... 295s Setting up libpython3-stdlib:armhf (3.12.2-0ubuntu1) ... 295s Setting up python3.11 (3.11.8-1build3) ... 298s Setting up telnet (0.17+2.5-3ubuntu3) ... 298s Setting up libblockdev-mdraid3:armhf (3.1.0-1build1) ... 298s Setting up libcurl4t64:armhf (8.5.0-2ubuntu7) ... 298s Setting up bind9-libs:armhf (1:9.18.24-0ubuntu3) ... 298s Setting up libtirpc3t64:armhf (1.3.4+ds-1.1) ... 298s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 298s Setting up libblockdev-swap3:armhf (3.1.0-1build1) ... 298s Setting up iproute2 (6.1.0-1ubuntu5) ... 298s Setting up openssh-client (1:9.6p1-3ubuntu10) ... 298s Setting up libgusb2:armhf (0.4.8-1build1) ... 298s Setting up libblockdev-loop3:armhf (3.1.0-1build1) ... 298s Setting up libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 298s Setting up parted (3.6-3.1build2) ... 298s Setting up libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 298s Setting up python3 (3.12.2-0ubuntu1) ... 299s Setting up systemd (255.4-1ubuntu5) ... 301s Setting up python3-markupsafe (2.1.5-1build1) ... 301s Setting up libblockdev3:armhf (3.1.0-1build1) ... 301s Setting up libjcat1:armhf (0.2.0-2build2) ... 301s Setting up dpkg-dev (1.22.6ubuntu2) ... 301s Setting up libblockdev-part3:armhf (3.1.0-1build1) ... 301s Setting up dirmngr (2.4.4-2ubuntu15) ... 301s Setting up python3-cryptography (41.0.7-4build2) ... 302s Setting up python3-gi (3.47.0-3build1) ... 303s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 304s Setting up udev (255.4-1ubuntu5) ... 306s Setting up python3-typing-extensions (4.10.0-1) ... 306s Setting up lsof (4.95.0-1build2) ... 306s Setting up python3-pyrsistent:armhf (0.20.0-1build1) ... 307s Setting up kpartx (0.9.4-5ubuntu4) ... 307s Setting up libnsl2:armhf (1.3.0-3build2) ... 307s Setting up gnupg (2.4.4-2ubuntu15) ... 307s Setting up python3-netplan (1.0-1) ... 307s Setting up curl (8.5.0-2ubuntu7) ... 307s Setting up libvolume-key1:armhf (0.3.12-7build1) ... 307s Setting up netplan-generator (1.0-1) ... 307s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 307s Setting up initramfs-tools-core (0.142ubuntu22) ... 307s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 307s Setting up python3-lib2to3 (3.12.2-3ubuntu2) ... 307s Setting up systemd-resolved (255.4-1ubuntu5) ... 309s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 310s Setting up openssh-sftp-server (1:9.6p1-3ubuntu10) ... 310s Setting up systemd-sysv (255.4-1ubuntu5) ... 310s Setting up python3-dbus (1.3.2-5build2) ... 310s Setting up initramfs-tools (0.142ubuntu22) ... 310s update-initramfs: deferring update (trigger activated) 310s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 312s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 312s Setting up openssh-server (1:9.6p1-3ubuntu10) ... 312s Replacing config file /etc/ssh/sshd_config with new version 317s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 319s Setting up libblockdev-crypto3:armhf (3.1.0-1build1) ... 319s Setting up python3-gdbm:armhf (3.12.2-3ubuntu2) ... 319s Setting up plymouth (24.004.60-1ubuntu4) ... 319s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 320s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 321s Setting up python3-apt (2.7.6build1) ... 321s Setting up python3-openssl (24.0.0-2) ... 322s Setting up libfwupd2:armhf (1.9.15-1) ... 322s Setting up libnss-systemd:armhf (255.4-1ubuntu5) ... 322s Setting up python3-yaml (6.0.1-2build1) ... 323s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 323s Setting up netplan.io (1.0-1) ... 323s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) ... 323s update-initramfs: deferring update (trigger activated) 323s Setting up libpam-systemd:armhf (255.4-1ubuntu5) ... 323s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 323s Setting up ubuntu-pro-client (31.2) ... 323s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 323s 327s Setting up fwupd (1.9.15-1) ... 328s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 328s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 328s fwupd.service is a disabled or a static unit not running, not starting it. 328s Setting up ubuntu-pro-client-l10n (31.2) ... 328s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 328s Processing triggers for libc-bin (2.39-0ubuntu6) ... 329s Processing triggers for ufw (0.36.2-5) ... 329s Processing triggers for install-info (7.1-3build1) ... 329s Processing triggers for initramfs-tools (0.142ubuntu22) ... 333s Reading package lists... 334s Building dependency tree... 334s Reading state information... 335s The following packages will be REMOVED: 335s libatasmart4* libblockdev-crypto3* libblockdev-fs3* libblockdev-loop3* 335s libblockdev-mdraid3* libblockdev-nvme3* libblockdev-part3* 335s libblockdev-swap3* libblockdev-utils3* libblockdev3* libbytesize-common* 335s libbytesize1* libnspr4* libnss3* libnvme1t64* libpolkit-agent-1-0* 335s libvolume-key1* linux-headers-6.8.0-11* python3-lib2to3* 336s 0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded. 336s After this operation, 89.7 MB disk space will be freed. 336s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47392 files and directories currently installed.) 336s Removing libatasmart4:armhf (0.19-5build2) ... 336s Removing libblockdev-crypto3:armhf (3.1.0-1build1) ... 336s Removing libblockdev-fs3:armhf (3.1.0-1build1) ... 336s Removing libblockdev-loop3:armhf (3.1.0-1build1) ... 336s Removing libblockdev-mdraid3:armhf (3.1.0-1build1) ... 336s Removing libblockdev-nvme3:armhf (3.1.0-1build1) ... 336s Removing libblockdev-part3:armhf (3.1.0-1build1) ... 337s Removing libblockdev-swap3:armhf (3.1.0-1build1) ... 337s Removing libblockdev3:armhf (3.1.0-1build1) ... 337s Removing libblockdev-utils3:armhf (3.1.0-1build1) ... 337s Removing libbytesize1:armhf (2.10-1ubuntu1) ... 337s Removing libbytesize-common (2.10-1ubuntu1) ... 337s Removing libvolume-key1:armhf (0.3.12-7build1) ... 337s Removing libnss3:armhf (2:3.98-1) ... 337s Removing libnspr4:armhf (2:4.35-1.1) ... 337s Removing libnvme1t64 (1.8-3) ... 337s Removing libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 337s Removing linux-headers-6.8.0-11 (6.8.0-11.11) ... 339s Removing python3-lib2to3 (3.12.2-3ubuntu2) ... 339s Processing triggers for libc-bin (2.39-0ubuntu6) ... 340s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27121 files and directories currently installed.) 340s Purging configuration files for libblockdev3:armhf (3.1.0-1build1) ... 342s autopkgtest [00:54:43]: rebooting testbed after setup commands that affected boot 374s autopkgtest [00:55:15]: testbed running kernel: Linux 5.4.0-170-generic #188-Ubuntu SMP Wed Jan 10 09:51:10 UTC 2024 379s autopkgtest [00:55:20]: testbed dpkg architecture: armhf 393s autopkgtest [00:55:34]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 409s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (dsc) [4537 B] 409s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [263 kB] 409s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (tar) [5507 kB] 409s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu5 (diff) [129 kB] 410s gpgv: Signature made Mon Mar 11 01:27:21 2024 UTC 410s gpgv: using RSA key AC483F68DE728F43F2202FCA568D30F321B2133D 410s gpgv: issuer "steve.langasek@ubuntu.com" 410s gpgv: Can't check signature: No public key 410s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu5.dsc: no acceptable signature found 411s autopkgtest [00:55:52]: testing package glib2.0 version 2.79.3-3ubuntu5 411s autopkgtest [00:55:52]: build not needed 419s autopkgtest [00:56:00]: test build: preparing testbed 435s Reading package lists... 436s Building dependency tree... 436s Reading state information... 437s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 437s Starting 2 pkgProblemResolver with broken count: 0 437s Done 438s Done 439s Starting pkgProblemResolver with broken count: 0 439s Starting 2 pkgProblemResolver with broken count: 0 439s Done 441s The following additional packages will be installed: 441s build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 441s cpp-arm-linux-gnueabihf g++ g++-13 g++-13-arm-linux-gnueabihf 441s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 441s gcc-arm-linux-gnueabihf libasan8 libatomic1 libblkid-dev libc-dev-bin 441s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 441s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 441s libgomp1 libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 441s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 441s libstdc++-13-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 441s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 441s Suggested packages: 441s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 441s autoconf automake libtool flex bison gdb gcc-doc gdb-arm-linux-gnueabihf 441s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 441s libxml2-utils libstdc++-13-doc 441s Recommended packages: 441s manpages manpages-dev libc-devtools 441s The following NEW packages will be installed: 441s build-essential cpp cpp-13 cpp-13-arm-linux-gnueabihf 441s cpp-arm-linux-gnueabihf g++ g++-13 g++-13-arm-linux-gnueabihf 441s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 441s gcc-arm-linux-gnueabihf libasan8 libatomic1 libblkid-dev libc-dev-bin 441s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 441s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 441s libgomp1 libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 441s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 441s libstdc++-13-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 441s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 441s 0 upgraded, 46 newly installed, 0 to remove and 1 not upgraded. 441s 1 not fully installed or removed. 441s Need to get 52.3 MB of archives. 441s After this operation, 156 MB of additional disk space will be used. 441s Get:1 http://ftpmaster.internal/ubuntu noble/main armhf libffi-dev armhf 3.4.6-1 [57.0 kB] 442s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-bin armhf 2.79.3-3ubuntu5 [91.8 kB] 442s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 23.2-1 [40.6 kB] 442s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-2.0-0 armhf 2.79.3-3ubuntu5 [98.4 kB] 442s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-dev-bin armhf 2.79.3-3ubuntu5 [221 kB] 442s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-dev-bin armhf 2.39-0ubuntu6 [19.1 kB] 442s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-libc-dev armhf 6.8.0-19.19 [1555 kB] 443s Get:8 http://ftpmaster.internal/ubuntu noble/main armhf libcrypt-dev armhf 1:4.4.36-4 [136 kB] 443s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] 443s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6-dev armhf 2.39-0ubuntu6 [1351 kB] 444s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-dev armhf 2.39.3-9ubuntu2 [32.2 kB] 444s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid-dev armhf 2.39.3-9ubuntu2 [195 kB] 444s Get:13 http://ftpmaster.internal/ubuntu noble/main armhf libsepol-dev armhf 3.5-2 [358 kB] 444s Get:14 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-16-0 armhf 10.42-4ubuntu1 [180 kB] 444s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-32-0 armhf 10.42-4ubuntu1 [171 kB] 444s Get:16 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-posix3 armhf 10.42-4ubuntu1 [6096 B] 444s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-dev armhf 10.42-4ubuntu1 [664 kB] 444s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1-dev armhf 3.5-2build3 [158 kB] 444s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount-dev armhf 2.39.3-9ubuntu2 [14.9 kB] 444s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf libpkgconf3 armhf 1.8.1-2 [26.3 kB] 444s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf-bin armhf 1.8.1-2 [20.6 kB] 444s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf pkgconf armhf 1.8.1-2 [16.7 kB] 444s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu1 [880 kB] 444s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-dev armhf 2.79.3-3ubuntu5 [1687 kB] 445s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf libisl23 armhf 0.26-3 [595 kB] 445s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf libmpc3 armhf 1.3.1-1 [46.4 kB] 445s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [8753 kB] 446s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13 armhf 13.2.0-19ubuntu1 [1036 B] 446s Get:29 http://ftpmaster.internal/ubuntu noble/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 446s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 446s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcc1-0 armhf 14-20240315-1ubuntu1 [39.0 kB] 446s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgomp1 armhf 14-20240315-1ubuntu1 [125 kB] 446s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libatomic1 armhf 14-20240315-1ubuntu1 [7824 B] 446s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libasan8 armhf 14-20240315-1ubuntu1 [2941 kB] 447s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libubsan1 armhf 14-20240315-1ubuntu1 [1152 kB] 447s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-13-dev armhf 13.2.0-19ubuntu1 [900 kB] 447s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [16.8 MB] 450s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13 armhf 13.2.0-19ubuntu1 [448 kB] 450s Get:39 http://ftpmaster.internal/ubuntu noble/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 450s Get:40 http://ftpmaster.internal/ubuntu noble/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 450s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++-13-dev armhf 13.2.0-19ubuntu1 [2403 kB] 451s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [9935 kB] 453s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13 armhf 13.2.0-19ubuntu1 [14.5 kB] 453s Get:44 http://ftpmaster.internal/ubuntu noble/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 453s Get:45 http://ftpmaster.internal/ubuntu noble/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 453s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 454s Fetched 52.3 MB in 12s (4375 kB/s) 454s Selecting previously unselected package libffi-dev:armhf. 454s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27117 files and directories currently installed.) 454s Preparing to unpack .../00-libffi-dev_3.4.6-1_armhf.deb ... 454s Unpacking libffi-dev:armhf (3.4.6-1) ... 454s Selecting previously unselected package libglib2.0-bin. 454s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu5_armhf.deb ... 454s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 454s Selecting previously unselected package python3-packaging. 454s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 454s Unpacking python3-packaging (23.2-1) ... 455s Selecting previously unselected package libgirepository-2.0-0:armhf. 455s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu5_armhf.deb ... 455s Unpacking libgirepository-2.0-0:armhf (2.79.3-3ubuntu5) ... 455s Selecting previously unselected package libglib2.0-dev-bin. 455s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu5_armhf.deb ... 455s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 455s Selecting previously unselected package libc-dev-bin. 455s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu6_armhf.deb ... 455s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 455s Selecting previously unselected package linux-libc-dev:armhf. 455s Preparing to unpack .../06-linux-libc-dev_6.8.0-19.19_armhf.deb ... 455s Unpacking linux-libc-dev:armhf (6.8.0-19.19) ... 455s Selecting previously unselected package libcrypt-dev:armhf. 455s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_armhf.deb ... 455s Unpacking libcrypt-dev:armhf (1:4.4.36-4) ... 455s Selecting previously unselected package rpcsvc-proto. 455s Preparing to unpack .../08-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... 455s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 455s Selecting previously unselected package libc6-dev:armhf. 455s Preparing to unpack .../09-libc6-dev_2.39-0ubuntu6_armhf.deb ... 455s Unpacking libc6-dev:armhf (2.39-0ubuntu6) ... 456s Selecting previously unselected package uuid-dev:armhf. 456s Preparing to unpack .../10-uuid-dev_2.39.3-9ubuntu2_armhf.deb ... 456s Unpacking uuid-dev:armhf (2.39.3-9ubuntu2) ... 456s Selecting previously unselected package libblkid-dev:armhf. 456s Preparing to unpack .../11-libblkid-dev_2.39.3-9ubuntu2_armhf.deb ... 456s Unpacking libblkid-dev:armhf (2.39.3-9ubuntu2) ... 456s Selecting previously unselected package libsepol-dev:armhf. 456s Preparing to unpack .../12-libsepol-dev_3.5-2_armhf.deb ... 456s Unpacking libsepol-dev:armhf (3.5-2) ... 456s Selecting previously unselected package libpcre2-16-0:armhf. 456s Preparing to unpack .../13-libpcre2-16-0_10.42-4ubuntu1_armhf.deb ... 456s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu1) ... 456s Selecting previously unselected package libpcre2-32-0:armhf. 456s Preparing to unpack .../14-libpcre2-32-0_10.42-4ubuntu1_armhf.deb ... 456s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu1) ... 456s Selecting previously unselected package libpcre2-posix3:armhf. 456s Preparing to unpack .../15-libpcre2-posix3_10.42-4ubuntu1_armhf.deb ... 456s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu1) ... 456s Selecting previously unselected package libpcre2-dev:armhf. 456s Preparing to unpack .../16-libpcre2-dev_10.42-4ubuntu1_armhf.deb ... 456s Unpacking libpcre2-dev:armhf (10.42-4ubuntu1) ... 456s Selecting previously unselected package libselinux1-dev:armhf. 456s Preparing to unpack .../17-libselinux1-dev_3.5-2build3_armhf.deb ... 456s Unpacking libselinux1-dev:armhf (3.5-2build3) ... 456s Selecting previously unselected package libmount-dev:armhf. 456s Preparing to unpack .../18-libmount-dev_2.39.3-9ubuntu2_armhf.deb ... 456s Unpacking libmount-dev:armhf (2.39.3-9ubuntu2) ... 456s Selecting previously unselected package libpkgconf3:armhf. 456s Preparing to unpack .../19-libpkgconf3_1.8.1-2_armhf.deb ... 456s Unpacking libpkgconf3:armhf (1.8.1-2) ... 456s Selecting previously unselected package pkgconf-bin. 456s Preparing to unpack .../20-pkgconf-bin_1.8.1-2_armhf.deb ... 456s Unpacking pkgconf-bin (1.8.1-2) ... 456s Selecting previously unselected package pkgconf:armhf. 456s Preparing to unpack .../21-pkgconf_1.8.1-2_armhf.deb ... 456s Unpacking pkgconf:armhf (1.8.1-2) ... 456s Selecting previously unselected package zlib1g-dev:armhf. 456s Preparing to unpack .../22-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 456s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 457s Selecting previously unselected package libglib2.0-dev:armhf. 457s Preparing to unpack .../23-libglib2.0-dev_2.79.3-3ubuntu5_armhf.deb ... 457s Unpacking libglib2.0-dev:armhf (2.79.3-3ubuntu5) ... 457s Selecting previously unselected package libisl23:armhf. 457s Preparing to unpack .../24-libisl23_0.26-3_armhf.deb ... 457s Unpacking libisl23:armhf (0.26-3) ... 457s Selecting previously unselected package libmpc3:armhf. 457s Preparing to unpack .../25-libmpc3_1.3.1-1_armhf.deb ... 457s Unpacking libmpc3:armhf (1.3.1-1) ... 457s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 457s Preparing to unpack .../26-cpp-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 457s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 457s Selecting previously unselected package cpp-13. 457s Preparing to unpack .../27-cpp-13_13.2.0-19ubuntu1_armhf.deb ... 457s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 457s Selecting previously unselected package cpp-arm-linux-gnueabihf. 457s Preparing to unpack .../28-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 457s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 457s Selecting previously unselected package cpp. 457s Preparing to unpack .../29-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 457s Unpacking cpp (4:13.2.0-7ubuntu1) ... 458s Selecting previously unselected package libcc1-0:armhf. 458s Preparing to unpack .../30-libcc1-0_14-20240315-1ubuntu1_armhf.deb ... 458s Unpacking libcc1-0:armhf (14-20240315-1ubuntu1) ... 458s Selecting previously unselected package libgomp1:armhf. 458s Preparing to unpack .../31-libgomp1_14-20240315-1ubuntu1_armhf.deb ... 458s Unpacking libgomp1:armhf (14-20240315-1ubuntu1) ... 458s Selecting previously unselected package libatomic1:armhf. 458s Preparing to unpack .../32-libatomic1_14-20240315-1ubuntu1_armhf.deb ... 458s Unpacking libatomic1:armhf (14-20240315-1ubuntu1) ... 458s Selecting previously unselected package libasan8:armhf. 458s Preparing to unpack .../33-libasan8_14-20240315-1ubuntu1_armhf.deb ... 458s Unpacking libasan8:armhf (14-20240315-1ubuntu1) ... 458s Selecting previously unselected package libubsan1:armhf. 458s Preparing to unpack .../34-libubsan1_14-20240315-1ubuntu1_armhf.deb ... 458s Unpacking libubsan1:armhf (14-20240315-1ubuntu1) ... 458s Selecting previously unselected package libgcc-13-dev:armhf. 458s Preparing to unpack .../35-libgcc-13-dev_13.2.0-19ubuntu1_armhf.deb ... 458s Unpacking libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 458s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 458s Preparing to unpack .../36-gcc-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 458s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 459s Selecting previously unselected package gcc-13. 459s Preparing to unpack .../37-gcc-13_13.2.0-19ubuntu1_armhf.deb ... 459s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 459s Selecting previously unselected package gcc-arm-linux-gnueabihf. 459s Preparing to unpack .../38-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 459s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 459s Selecting previously unselected package gcc. 459s Preparing to unpack .../39-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 459s Unpacking gcc (4:13.2.0-7ubuntu1) ... 459s Selecting previously unselected package libstdc++-13-dev:armhf. 459s Preparing to unpack .../40-libstdc++-13-dev_13.2.0-19ubuntu1_armhf.deb ... 459s Unpacking libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 459s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 459s Preparing to unpack .../41-g++-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 459s Unpacking g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 460s Selecting previously unselected package g++-13. 460s Preparing to unpack .../42-g++-13_13.2.0-19ubuntu1_armhf.deb ... 460s Unpacking g++-13 (13.2.0-19ubuntu1) ... 460s Selecting previously unselected package g++-arm-linux-gnueabihf. 460s Preparing to unpack .../43-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 460s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 460s Selecting previously unselected package g++. 460s Preparing to unpack .../44-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 460s Unpacking g++ (4:13.2.0-7ubuntu1) ... 460s Selecting previously unselected package build-essential. 460s Preparing to unpack .../45-build-essential_12.10ubuntu1_armhf.deb ... 460s Unpacking build-essential (12.10ubuntu1) ... 460s Setting up libgirepository-2.0-0:armhf (2.79.3-3ubuntu5) ... 460s Setting up linux-libc-dev:armhf (6.8.0-19.19) ... 460s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 460s Setting up libgomp1:armhf (14-20240315-1ubuntu1) ... 460s Setting up libffi-dev:armhf (3.4.6-1) ... 460s Setting up libpcre2-16-0:armhf (10.42-4ubuntu1) ... 460s Setting up libpcre2-32-0:armhf (10.42-4ubuntu1) ... 460s Setting up python3-packaging (23.2-1) ... 460s Setting up libpkgconf3:armhf (1.8.1-2) ... 460s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 460s Setting up libmpc3:armhf (1.3.1-1) ... 460s Setting up libatomic1:armhf (14-20240315-1ubuntu1) ... 460s Setting up libsepol-dev:armhf (3.5-2) ... 460s Setting up pkgconf-bin (1.8.1-2) ... 460s Setting up libubsan1:armhf (14-20240315-1ubuntu1) ... 460s Setting up libpcre2-posix3:armhf (10.42-4ubuntu1) ... 460s Setting up libcrypt-dev:armhf (1:4.4.36-4) ... 460s Setting up libasan8:armhf (14-20240315-1ubuntu1) ... 460s Setting up libisl23:armhf (0.26-3) ... 461s Setting up libc-dev-bin (2.39-0ubuntu6) ... 461s Setting up libcc1-0:armhf (14-20240315-1ubuntu1) ... 461s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 461s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 461s Setting up pkgconf:armhf (1.8.1-2) ... 461s Setting up libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 461s Setting up libc6-dev:armhf (2.39-0ubuntu6) ... 461s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 461s Setting up libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 461s Setting up libpcre2-dev:armhf (10.42-4ubuntu1) ... 461s Setting up cpp-13 (13.2.0-19ubuntu1) ... 461s Setting up libselinux1-dev:armhf (3.5-2build3) ... 461s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 461s Setting up uuid-dev:armhf (2.39.3-9ubuntu2) ... 461s Setting up gcc-13 (13.2.0-19ubuntu1) ... 461s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 461s Setting up cpp (4:13.2.0-7ubuntu1) ... 461s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 461s Setting up g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 461s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 461s Setting up libblkid-dev:armhf (2.39.3-9ubuntu2) ... 461s Setting up g++-13 (13.2.0-19ubuntu1) ... 461s Setting up gcc (4:13.2.0-7ubuntu1) ... 461s Setting up g++ (4:13.2.0-7ubuntu1) ... 461s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 461s Setting up build-essential (12.10ubuntu1) ... 461s Setting up libmount-dev:armhf (2.39.3-9ubuntu2) ... 461s Setting up libglib2.0-dev:armhf (2.79.3-3ubuntu5) ... 461s Processing triggers for libc-bin (2.39-0ubuntu6) ... 461s Processing triggers for man-db (2.12.0-3build4) ... 462s Processing triggers for libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 462s No schema files found: doing nothing. 462s Processing triggers for install-info (7.1-3build1) ... 462s Setting up autopkgtest-satdep (0) ... 477s (Reading database ... 30775 files and directories currently installed.) 477s Removing autopkgtest-satdep (0) ... 486s autopkgtest [00:57:07]: test build: [----------------------- 488s + mode=dynamic 488s + getopt -o --long static -n debian/tests/build -- 488s + getopt_temp= -- 488s + eval set -- -- 488s + set -- -- 488s + true 488s + shift 488s + break 488s + mktemp -d 488s + WORKDIR=/tmp/tmp.KQtnlcKr9U 488s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 488s + cd /tmp/tmp.KQtnlcKr9U 488s + [ -n ] 488s + CROSS_COMPILE= 488s + cat 488s + cat 488s + cat 488s + cat 488s + cat 488s + cat 488s + cflags= 488s + pcflags= 488s + packages=glib-2.0 488s + pkg-config --cflags --libs glib-2.0 488s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lglib-2.0 488s + echo build (glib, dynamic): OK 488s + [ -x glib-dynamic ] 488s + foo=bar ./glib-dynamic 488s build (glib, dynamic): OK 488s run (glib, dynamic): OK 488s + echo run (glib, dynamic): OK 488s + cflags= 488s + pcflags= 488s + packages=gobject-2.0 488s + pkg-config --cflags --libs gobject-2.0 488s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgobject-2.0 -lglib-2.0 489s build (gobject, dynamic): OK 489s run (gobject, dynamic): OK 489s + echo build (gobject, dynamic): OK 489s + [ -x gobject-dynamic ] 489s + foo=bar ./gobject-dynamic 489s + echo run (gobject, dynamic): OK 489s + cflags= 489s + pcflags= 489s + packages=gio-2.0 489s + pkg-config --cflags --libs gio-2.0 489s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 489s build (gio, dynamic): OK 489s + echo build (gio, dynamic): OK 489s + [ -x gio-dynamic ] 489s + foo=bar ./gio-dynamic 489s + echo run (gio, dynamic): OK 489s + cflags= 489s + pcflags= 489s + packages=gio-unix-2.0 489s run (gio, dynamic): OK 489s + pkg-config --cflags --libs gio-unix-2.0 489s + 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 -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 490s build (gio-unix, dynamic): OK 490s + echo build (gio-unix, dynamic): OK 490s + [ -x gio-unix-dynamic ] 490s + foo=bar ./gio-unix-dynamic 490s run (gio-unix, dynamic): OK 490s + echo run (gio-unix, dynamic): OK 490s + cflags= 490s + pcflags= 490s + packages=gmodule-2.0 490s + pkg-config --cflags --libs gmodule-2.0 490s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 490s + echo build (gmodule, dynamic): OK 490s + [ -x gmodule-dynamic ] 490s + foo=bar ./gmodule-dynamic 490s build (gmodule, dynamic): OK 490s + echo run (gmodule, dynamic): OK 490s + cflags= 490s + pcflags= 490s + packages=gthread-2.0 490s run (gmodule, dynamic): OK 490s + pkg-config --cflags --libs gthread-2.0 490s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 490s build (gthread, dynamic): OK 490s + echo build (gthread, dynamic): OK 490s + [ -x gthread-dynamic ] 490s + foo=bar ./gthread-dynamic 490s run (gthread, dynamic): OK 490s + echo run (gthread, dynamic): OK 490s + rm -rf /tmp/tmp.KQtnlcKr9U 492s autopkgtest [00:57:12]: test build: -----------------------] 495s autopkgtest [00:57:16]: test build: - - - - - - - - - - results - - - - - - - - - - 495s build PASS (superficial) 499s autopkgtest [00:57:20]: test build-static: preparing testbed 511s Reading package lists... 512s Building dependency tree... 512s Reading state information... 513s Starting pkgProblemResolver with broken count: 0 513s Starting 2 pkgProblemResolver with broken count: 0 513s Done 515s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 515s 1 not fully installed or removed. 515s After this operation, 0 B of additional disk space will be used. 515s Setting up autopkgtest-satdep (0) ... 527s (Reading database ... 30775 files and directories currently installed.) 527s Removing autopkgtest-satdep (0) ... 536s autopkgtest [00:57:57]: test build-static: [----------------------- 539s + mode=dynamic 539s + getopt -o --long static -n debian/tests/build -- --static 539s + getopt_temp= --static -- 539s + eval set -- --static -- 539s + set -- --static -- 539s + true 539s + mode=static 539s + shift 539s + continue 539s + true 539s + shift 539s + break 539s + mktemp -d 539s + WORKDIR=/tmp/tmp.L1uREM1Kgx 539s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 539s + cd /tmp/tmp.L1uREM1Kgx 539s + [ -n ] 539s + CROSS_COMPILE= 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cat 539s + cflags= 539s + pcflags= 539s + packages=glib-2.0 539s + cflags=-static 539s + pcflags=--static 539s + pkg-config --static --cflags --libs glib-2.0 539s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 539s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 539s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 539s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 539s /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 539s build (glib, static): OK 539s + echo build (glib, static): OK 539s + [ -x glib-static ] 539s + foo=bar ./glib-static 539s + echo run (glib, static): OK 539s + cflags= 539s + pcflags= 539s + packages=gobject-2.0 539s + cflags=-static 539s + pcflags=--static 539s run (glib, static): OK 539s + pkg-config --static --cflags --libs gobject-2.0 539s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 540s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 540s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 540s /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 540s + echo build (gobject, static): OK 540s + build (gobject, static): OK 540s [ -x gobject-static ] 540s + foo=bar ./gobject-static 540s run (gobject, static): OK 540s + echo run (gobject, static): OK 540s + cflags= 540s + pcflags= 540s + packages=gio-2.0 540s + cflags=-static 540s + pcflags=--static 540s + continue 540s + cflags= 540s + pcflags= 540s + packages=gio-unix-2.0 540s + cflags=-static 540s + pcflags=--static 540s + continue 540s + cflags= 540s + pcflags= 540s + packages=gmodule-2.0 540s + cflags=-static 540s + pcflags=--static 540s + pkg-config --static --cflags --libs gmodule-2.0 540s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 541s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 541s (.text+0x402): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 541s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 541s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 541s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 541s /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 541s build (gmodule, static): OK 541s + echo build (gmodule, static): OK 541s + [ -x gmodule-static ] 541s + foo=bar ./gmodule-static 541s run (gmodule, static): OK 541s + echo run (gmodule, static): OK 541s + cflags= 541s + pcflags= 541s + packages=gthread-2.0 541s + cflags=-static 541s + pcflags=--static 541s + pkg-config --static --cflags --libs gthread-2.0 541s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 541s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/13/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 541s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 541s /usr/bin/ld: (.text+0x1a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 541s /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 542s + echo build (gthread, static): OK 542s build (gthread, static): OK 542s + [ -x gthread-static ] 542s + foo=bar ./gthread-static 542s + echo run (gthread, static): OK 542s + rm -rf /tmp/tmp.L1uREM1Kgx 542s run (gthread, static): OK 542s autopkgtest [00:58:03]: test build-static: -----------------------] 546s build-static PASS (superficial) 546s autopkgtest [00:58:07]: test build-static: - - - - - - - - - - results - - - - - - - - - - 550s autopkgtest [00:58:11]: test installed-tests: preparing testbed 608s autopkgtest [00:59:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 610s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 611s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 611s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 611s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 611s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3716 kB] 611s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [574 kB] 611s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 611s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 611s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 611s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3502 kB] 612s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 612s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [33.8 kB] 612s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 620s Fetched 8497 kB in 3s (3051 kB/s) 621s Reading package lists... 626s /etc/apt/sources.list.d/proposed.list 628s tee: /proc/self/fd/2: Permission denied 657s Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease 657s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 657s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 657s Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 658s Hit:5 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 658s Hit:6 http://ftpmaster.internal/ubuntu noble-security InRelease 658s Hit:7 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 658s Hit:8 http://ftpmaster.internal/ubuntu noble-proposed InRelease 665s Reading package lists... 666s Reading package lists... 667s Building dependency tree... 667s Reading state information... 670s Calculating upgrade... 671s The following packages were automatically installed and are no longer required: 671s libatasmart4 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 671s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 671s libblockdev-utils3 libblockdev3 libbytesize-common libbytesize1 libnspr4 671s libnss3 libnvme1t64 libpolkit-agent-1-0 libvolume-key1 671s linux-headers-6.8.0-11 python3-lib2to3 671s Use 'apt autoremove' to remove them. 673s The following packages will be REMOVED: 673s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 673s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 673s libhogweed6 libmagic1 libnetplan0 libnettle8 libnpth0 libnvme1 libparted2 673s libpcap0.8 libperl5.38 libpng16-16 libpsl5 libreadline8 libreiserfscore0 673s libssl3 libtirpc3 libudisks2-0 libuv1 linux-headers-6.8.0-11-generic 673s linux-headers-generic python3-distutils udisks2 673s The following NEW packages will be installed: 673s libapt-pkg6.0t64 libarchive13t64 libatm1t64 libcurl3t64-gnutls libcurl4t64 673s libdb5.3t64 libelf1t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 673s libglib2.0-0t64 libgnutls30t64 libgpgme11t64 libhogweed6t64 libmagic1t64 673s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 673s libpcap0.8t64 libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 673s libreiserfscore0t64 libssl3t64 libtirpc3t64 libuv1t64 xdg-user-dirs 673s The following packages have been kept back: 673s multipath-tools 673s The following packages will be upgraded: 673s apparmor apt apt-utils bind9-dnsutils bind9-host bind9-libs bolt 673s bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 673s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 673s dbus-user-session debianutils dhcpcd-base dirmngr dmsetup dpkg dpkg-dev 673s e2fsprogs e2fsprogs-l10n eject fdisk file ftp fwupd gawk gcc-13-base 673s gcc-14-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg gnupg-l10n 673s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv groff-base 673s ibverbs-providers inetutils-telnet info initramfs-tools initramfs-tools-bin 673s initramfs-tools-core install-info iproute2 jq keyboxd kmod kpartx 673s krb5-locales libapparmor1 libaudit-common libaudit1 libblkid1 673s libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 673s libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 673s libblockdev3 libbpf1 libbrotli1 libbsd0 libc-bin libc6 libcap-ng0 673s libcom-err2 libcryptsetup12 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 673s libdpkg-perl libevent-core-2.1-7 libexpat1 libfdisk1 libfido2-1 libftdi1-2 673s libfwupd2 libgcc-s1 libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 673s libgudev-1.0-0 libgusb2 libibverbs1 libjcat1 libjq1 libjson-glib-1.0-0 673s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 673s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 673s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 673s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 673s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 673s libpolkit-gobject-1-0 libpython3-stdlib libpython3.11-minimal 673s libpython3.11-stdlib libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 673s libqmi-proxy libqrtr-glib0 librtmp1 libsasl2-2 libsasl2-modules 673s libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libsemanage2 673s libslang2 libsmartcols1 libsqlite3-0 libss2 libssh-4 libstdc++6 673s libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl 673s libtirpc-common libudev1 libusb-1.0-0 libuuid1 libvolume-key1 libxml2 673s libxmlb2 libxmuu1 locales logsave lshw lsof man-db mount mtr-tiny 673s netplan-generator netplan.io openssh-client openssh-server 673s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 673s pinentry-curses plymouth plymouth-theme-ubuntu-text psmisc python-apt-common 673s python3 python3-apt python3-cryptography python3-dbus python3-gdbm 673s python3-gi python3-lib2to3 python3-markupsafe python3-minimal 673s python3-netplan python3-openssl python3-pkg-resources python3-pyrsistent 673s python3-setuptools python3-typing-extensions python3-yaml python3.11 673s python3.11-minimal python3.12 python3.12-minimal readline-common rsync 673s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 673s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 673s ubuntu-pro-client-l10n udev util-linux uuid-runtime vim-common vim-tiny wget 673s xxd xz-utils zlib1g 673s 225 upgraded, 30 newly installed, 34 to remove and 1 not upgraded. 673s Need to get 87.1 MB of archives. 673s After this operation, 9056 kB disk space will be freed. 673s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdutils armhf 1:2.39.3-9ubuntu2 [102 kB] 674s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-14-base armhf 14-20240315-1ubuntu1 [47.0 kB] 674s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-s1 armhf 14-20240315-1ubuntu1 [41.5 kB] 674s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++6 armhf 14-20240315-1ubuntu1 [714 kB] 674s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6 armhf 2.39-0ubuntu6 [2827 kB] 674s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssl armhf 3.0.13-0ubuntu1 [974 kB] 674s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g armhf 1:1.3.dfsg-3.1ubuntu1 [49.2 kB] 674s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2build6 [51.3 kB] 674s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12 armhf 3.12.2-4build2 [645 kB] 675s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libexpat1 armhf 2.6.1-2 [65.9 kB] 675s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12-minimal armhf 3.12.2-4build2 [1943 kB] 675s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-stdlib armhf 3.12.2-4build2 [1907 kB] 675s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-minimal armhf 3.12.2-4build2 [816 kB] 675s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma5 armhf 5.6.0-0.2 [117 kB] 675s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsqlite3-0 armhf 3.45.1-1ubuntu1 [599 kB] 675s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11 armhf 3.11.8-1build3 [589 kB] 675s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11-minimal armhf 3.11.8-1build3 [1794 kB] 675s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-stdlib armhf 3.11.8-1build3 [1810 kB] 675s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-minimal armhf 3.11.8-1build3 [827 kB] 675s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-iconv-perl armhf 1.7-8build2 [12.7 kB] 675s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-charwidth-perl armhf 0.04-11build2 [8962 B] 675s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 676s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-4ubuntu4 [19.2 kB] 676s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-5build1 [661 kB] 676s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gdbm armhf 3.12.2-3ubuntu2 [17.1 kB] 676s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main armhf man-db armhf 2.12.0-3build4 [1196 kB] 676s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm6t64 armhf 1.23-5.1 [30.3 kB] 676s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm-compat4t64 armhf 1.23-5.1 [6208 B] 676s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperl5.38t64 armhf 5.38.2-3.2 [4101 kB] 676s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl armhf 5.38.2-3.2 [231 kB] 676s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-base armhf 5.38.2-3.2 [1671 kB] 676s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblocale-gettext-perl armhf 1.07-6ubuntu3 [15.0 kB] 676s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-timesyncd armhf 255.4-1ubuntu5 [36.0 kB] 676s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 676s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit-common all 1:3.1.2-2.1 [5674 B] 676s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcap-ng0 armhf 0.8.4-2build1 [13.5 kB] 676s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit1 armhf 1:3.1.2-2.1 [44.3 kB] 676s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam0g armhf 1.5.3-5ubuntu3 [62.0 kB] 676s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2build3 [70.5 kB] 676s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules-bin armhf 1.5.3-5ubuntu3 [47.0 kB] 676s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules armhf 1.5.3-5ubuntu3 [261 kB] 676s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 676s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-sysv armhf 255.4-1ubuntu5 [11.9 kB] 676s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-systemd armhf 255.4-1ubuntu5 [216 kB] 676s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-user-session armhf 1.14.10-4ubuntu2 [9962 B] 676s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapparmor1 armhf 4.0.0~beta2-0ubuntu3 [44.8 kB] 676s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-bin armhf 1.14.10-4ubuntu2 [37.1 kB] 676s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 676s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus armhf 1.14.10-4ubuntu2 [28.1 kB] 676s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-daemon armhf 1.14.10-4ubuntu2 [109 kB] 676s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdbus-1-3 armhf 1.14.10-4ubuntu2 [190 kB] 676s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-resolved armhf 255.4-1ubuntu5 [289 kB] 676s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid1 armhf 2.39.3-9ubuntu2 [160 kB] 676s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kmod armhf 31+20240202-2ubuntu4 [91.8 kB] 676s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkmod2 armhf 31+20240202-2ubuntu4 [44.9 kB] 676s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount1 armhf 2.39.3-9ubuntu2 [171 kB] 676s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libseccomp2 armhf 2.5.5-1ubuntu2 [49.5 kB] 676s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu6 [172 kB] 676s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-0t64 armhf 2.79.3-3ubuntu5 [1414 kB] 676s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvolume-key1 armhf 0.3.12-7build1 [38.4 kB] 676s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgpgme11t64 armhf 1.18.0-4.1ubuntu3 [120 kB] 676s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjcat1 armhf 0.2.0-2build2 [30.4 kB] 676s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libarchive13t64 armhf 3.7.2-1.1ubuntu1 [330 kB] 676s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fwupd armhf 1.9.15-1 [4349 kB] 677s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client-l10n armhf 31.2 [19.4 kB] 677s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client armhf 31.2 [216 kB] 677s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparted2t64 armhf 3.6-3.1build2 [143 kB] 677s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main armhf parted armhf 3.6-3.1build2 [39.4 kB] 677s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf keyboxd armhf 2.4.4-2ubuntu15 [111 kB] 677s Get:70 http://ftpmaster.internal/ubuntu noble/main armhf libnpth0t64 armhf 1.6-3.1 [6940 B] 677s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgv armhf 2.4.4-2ubuntu15 [224 kB] 677s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg armhf 2.4.4-2ubuntu15 [524 kB] 677s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-wks-client armhf 2.4.4-2ubuntu15 [87.4 kB] 677s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-utils armhf 2.4.4-2ubuntu15 [158 kB] 677s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-agent armhf 2.4.4-2ubuntu15 [235 kB] 677s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgsm armhf 2.4.4-2ubuntu15 [241 kB] 677s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline8t64 armhf 8.2-3.1 [129 kB] 677s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gawk armhf 1:5.2.1-2build2 [415 kB] 677s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fdisk armhf 2.39.3-9ubuntu2 [135 kB] 677s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgconf armhf 2.4.4-2ubuntu15 [115 kB] 677s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dirmngr armhf 2.4.4-2ubuntu15 [346 kB] 677s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg all 2.4.4-2ubuntu15 [359 kB] 677s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-apt armhf 2.7.6build1 [162 kB] 677s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt-utils armhf 2.7.13ubuntu1 [210 kB] 677s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg6.0t64 armhf 2.7.13ubuntu1 [986 kB] 677s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnettle8t64 armhf 3.9.1-2.2 [187 kB] 677s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhogweed6t64 armhf 3.9.1-2.2 [187 kB] 677s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgnutls30t64 armhf 3.8.3-1.1ubuntu2 [1046 kB] 677s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt armhf 2.7.13ubuntu1 [1367 kB] 677s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl3t64-gnutls armhf 8.5.0-2ubuntu7 [290 kB] 677s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfwupd2 armhf 1.9.15-1 [123 kB] 677s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.7 kB] 677s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf wget armhf 1.21.4-1ubuntu2 [317 kB] 677s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tnftp armhf 20230507-2build1 [98.6 kB] 677s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpcap0.8t64 armhf 1.10.4-4.1ubuntu1 [137 kB] 677s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tcpdump armhf 4.99.4-3ubuntu2 [425 kB] 677s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main armhf sudo armhf 1.9.15p5-3ubuntu2 [936 kB] 677s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main armhf rsync armhf 3.2.7-1build1 [413 kB] 677s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-cryptography armhf 41.0.7-4build2 [788 kB] 677s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-sftp-server armhf 1:9.6p1-3ubuntu10 [35.5 kB] 677s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-client armhf 1:9.6p1-3ubuntu10 [890 kB] 677s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-server armhf 1:9.6p1-3ubuntu10 [503 kB] 678s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl3t64 armhf 3.0.13-0ubuntu1 [1557 kB] 678s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-dev all 255.4-1ubuntu5 [103 kB] 678s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd armhf 255.4-1ubuntu5 [3502 kB] 678s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udev armhf 255.4-1ubuntu5 [1852 kB] 678s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnss-systemd armhf 255.4-1ubuntu5 [148 kB] 678s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd-shared armhf 255.4-1ubuntu5 [2009 kB] 678s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudev1 armhf 255.4-1ubuntu5 [166 kB] 678s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.185-3ubuntu2 [135 kB] 678s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuuid1 armhf 2.39.3-9ubuntu2 [34.4 kB] 678s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcryptsetup12 armhf 2:2.7.0-1ubuntu2 [238 kB] 678s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfdisk1 armhf 2.39.3-9ubuntu2 [196 kB] 678s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mount armhf 2.39.3-9ubuntu2 [134 kB] 678s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd0 armhf 255.4-1ubuntu5 [410 kB] 678s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-yaml armhf 6.0.1-2build1 [117 kB] 678s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf pinentry-curses armhf 1.2.1-3ubuntu4 [36.7 kB] 678s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsmartcols1 armhf 2.39.3-9ubuntu2 [117 kB] 678s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf readline-common all 8.2-3.1 [56.4 kB] 678s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python-apt-common all 2.7.6build1 [19.8 kB] 678s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 678s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 678s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg armhf 1.22.6ubuntu2 [1229 kB] 679s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-minimal armhf 3.12.2-0ubuntu1 [27.1 kB] 679s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3 armhf 3.12.2-0ubuntu1 [24.1 kB] 679s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3-stdlib armhf 3.12.2-0ubuntu1 [9802 B] 679s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdextrautils armhf 2.39.3-9ubuntu2 [78.7 kB] 679s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main armhf groff-base armhf 1.23.0-3build1 [946 kB] 679s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-2 armhf 2.1.28+dfsg1-4ubuntu4 [49.7 kB] 679s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 679s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-0 armhf 1.8.0-2build1 [61.2 kB] 679s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml2 armhf 2.9.14+dfsg-1.3ubuntu2 [595 kB] 679s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgudev-1.0-0 armhf 1:238-3ubuntu2 [13.6 kB] 679s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libusb-1.0-0 armhf 2:1.0.27-1 [48.7 kB] 679s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgusb2 armhf 0.4.8-1build1 [34.6 kB] 679s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-proxy armhf 1.31.2-0ubuntu2 [5748 B] 679s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-glib4 armhf 1.31.2-0ubuntu2 [216 kB] 679s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmm-glib0 armhf 1.23.4-0ubuntu1 [214 kB] 679s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-agent-1-0 armhf 124-1ubuntu1 [15.3 kB] 679s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-gobject-1-0 armhf 124-1ubuntu1 [44.1 kB] 679s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-proxy armhf 1.35.2-0ubuntu1 [5732 B] 679s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqrtr-glib0 armhf 1.2.2-1ubuntu3 [15.4 kB] 679s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-glib5 armhf 1.35.2-0ubuntu1 [908 kB] 679s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmlb2 armhf 0.3.15-1build1 [57.0 kB] 679s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main armhf shared-mime-info armhf 2.4-1build1 [470 kB] 679s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbrotli1 armhf 1.1.0-2build1 [319 kB] 679s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgssapi-krb5-2 armhf 1.20.1-5.1build3 [119 kB] 679s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5-3 armhf 1.20.1-5.1build3 [321 kB] 679s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5support0 armhf 1.20.1-5.1build3 [31.4 kB] 679s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libk5crypto3 armhf 1.20.1-5.1build3 [78.6 kB] 679s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcom-err2 armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 679s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnghttp2-14 armhf 1.59.0-1build1 [68.1 kB] 679s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh-4 armhf 0.10.6-2build1 [169 kB] 679s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libibverbs1 armhf 50.0-2build1 [57.9 kB] 679s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfido2-1 armhf 1.14.0-1build1 [75.8 kB] 679s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main armhf coreutils armhf 9.4-3ubuntu3 [1280 kB] 679s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main armhf debianutils armhf 5.17 [88.9 kB] 679s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main armhf util-linux armhf 2.39.3-9ubuntu2 [1216 kB] 679s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-bin armhf 2.39-0ubuntu6 [530 kB] 679s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main armhf curl armhf 8.5.0-2ubuntu7 [219 kB] 679s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4t64 armhf 8.5.0-2ubuntu7 [296 kB] 679s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbpf1 armhf 1:1.3.0-2build1 [146 kB] 679s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main armhf iproute2 armhf 6.1.0-1ubuntu5 [1060 kB] 679s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libelf1t64 armhf 0.190-1.1build2 [49.9 kB] 679s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lsof armhf 4.95.0-1build2 [248 kB] 679s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnsl2 armhf 1.3.0-3build2 [36.5 kB] 679s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc-common all 1.3.4+ds-1.1 [8018 B] 679s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc3t64 armhf 1.3.4+ds-1.1 [73.2 kB] 679s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-utils3 armhf 3.1.0-1build1 [16.9 kB] 679s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-fs3 armhf 3.1.0-1build1 [34.4 kB] 679s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main armhf logsave armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 679s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools all 0.142ubuntu22 [9056 B] 679s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-core all 0.142ubuntu22 [50.0 kB] 679s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 679s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libext2fs2t64 armhf 1.47.0-2.4~exp1ubuntu2 [201 kB] 679s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs armhf 1.47.0-2.4~exp1ubuntu2 [571 kB] 679s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main armhf btrfs-progs armhf 6.6.3-1.1build1 [852 kB] 679s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dhcpcd-base armhf 1:10.0.6-1ubuntu2 [186 kB] 679s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-bin armhf 0.142ubuntu22 [20.1 kB] 679s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreiserfscore0t64 armhf 1:3.6.27-7.1 [66.2 kB] 679s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main armhf file armhf 1:5.45-3 [21.1 kB] 679s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic-mgc armhf 1:5.45-3 [307 kB] 679s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic1t64 armhf 1:5.45-3 [81.4 kB] 679s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetplan1 armhf 1.0-1 [113 kB] 679s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-netplan armhf 1.0-1 [22.5 kB] 679s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan-generator armhf 1.0-1 [58.7 kB] 679s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-dbus armhf 1.3.2-5build2 [94.7 kB] 680s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan.io armhf 1.0-1 [64.3 kB] 680s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-nvme3 armhf 3.1.0-1build1 [17.5 kB] 680s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnvme1t64 armhf 1.8-3 [67.5 kB] 680s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libplymouth5 armhf 24.004.60-1ubuntu4 [139 kB] 680s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng16-16t64 armhf 1.6.43-3 [166 kB] 680s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-host armhf 1:9.18.24-0ubuntu3 [47.4 kB] 680s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-dnsutils armhf 1:9.18.24-0ubuntu3 [149 kB] 680s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-libs armhf 1:9.18.24-0ubuntu3 [1148 kB] 680s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuv1t64 armhf 1.48.0-1.1 [82.9 kB] 680s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-runtime armhf 2.39.3-9ubuntu2 [41.7 kB] 680s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebconfclient0 armhf 0.271ubuntu2 [10.8 kB] 680s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage-common all 3.5-1build4 [10.1 kB] 680s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage2 armhf 3.5-1build4 [84.5 kB] 680s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main armhf install-info armhf 7.1-3build1 [60.5 kB] 680s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-base armhf 13.2.0-19ubuntu1 [47.7 kB] 680s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libss2 armhf 1.47.0-2.4~exp1ubuntu2 [14.7 kB] 680s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dmsetup armhf 2:1.02.185-3ubuntu2 [81.1 kB] 680s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main armhf eject armhf 2.39.3-9ubuntu2 [43.2 kB] 680s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-girepository-2.0 armhf 1.79.1-1ubuntu6 [24.8 kB] 680s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-glib-2.0 armhf 2.79.3-3ubuntu5 [182 kB] 680s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-1.0-1 armhf 1.79.1-1ubuntu6 [106 kB] 680s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main armhf krb5-locales all 1.20.1-5.1build3 [13.8 kB] 680s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbsd0 armhf 0.12.1-1 [36.6 kB] 680s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 680s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libslang2 armhf 2.3.3-3build1 [478 kB] 680s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main armhf locales all 2.39-0ubuntu6 [4232 kB] 681s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gi armhf 3.47.0-3build1 [219 kB] 681s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-tiny armhf 2:9.1.0016-1ubuntu5 [665 kB] 681s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-common all 2:9.1.0016-1ubuntu5 [385 kB] 681s Get:217 http://ftpmaster.internal/ubuntu noble/main armhf xdg-user-dirs armhf 0.18-1 [17.3 kB] 681s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xxd armhf 2:9.1.0016-1ubuntu5 [62.4 kB] 681s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apparmor armhf 4.0.0~beta2-0ubuntu3 [557 kB] 681s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ftp all 20230507-2build1 [4724 B] 681s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main armhf inetutils-telnet armhf 2:2.5-3ubuntu3 [90.7 kB] 681s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main armhf info armhf 7.1-3build1 [127 kB] 681s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmuu1 armhf 2:1.1.3-3build1 [8004 B] 681s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2build2 [310 kB] 681s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mtr-tiny armhf 0.95-1.1build1 [51.7 kB] 681s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-1ubuntu4 [9828 B] 681s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth armhf 24.004.60-1ubuntu4 [143 kB] 681s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main armhf psmisc armhf 23.7-1 [176 kB] 681s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main armhf telnet all 0.17+2.5-3ubuntu3 [3682 B] 681s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xz-utils armhf 5.6.0-0.2 [271 kB] 681s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bolt armhf 0.9.6-2build1 [138 kB] 681s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cryptsetup-bin armhf 2:2.7.0-1ubuntu2 [214 kB] 681s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg-dev all 1.22.6ubuntu2 [1074 kB] 681s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdpkg-perl all 1.22.6ubuntu2 [269 kB] 681s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 681s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ibverbs-providers armhf 50.0-2build1 [27.4 kB] 681s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf jq armhf 1.7.1-3 [65.2 kB] 681s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjq1 armhf 1.7.1-3 [156 kB] 681s Get:239 http://ftpmaster.internal/ubuntu noble/main armhf libatm1t64 armhf 1:2.5.1-5.1 [20.0 kB] 681s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-crypto3 armhf 3.1.0-1build1 [20.3 kB] 681s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-loop3 armhf 3.1.0-1build1 [6502 B] 681s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-mdraid3 armhf 3.1.0-1build1 [13.3 kB] 681s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-part3 armhf 3.1.0-1build1 [16.4 kB] 681s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-swap3 armhf 3.1.0-1build1 [8894 B] 681s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev3 armhf 3.1.0-1build1 [42.9 kB] 681s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-core-2.1-7 armhf 2.1.12-stable-9build1 [82.3 kB] 681s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libftdi1-2 armhf 1.5-6build4 [25.7 kB] 681s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 681s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules armhf 2.1.28+dfsg1-4ubuntu4 [61.4 kB] 681s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-lib2to3 all 3.12.2-3ubuntu2 [79.3 kB] 681s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-markupsafe armhf 2.1.5-1build1 [12.1 kB] 681s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-openssl all 24.0.0-2 [47.5 kB] 681s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pyrsistent armhf 0.20.0-1build1 [53.0 kB] 681s Get:254 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-typing-extensions all 4.10.0-1 [60.7 kB] 681s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kpartx armhf 0.9.4-5ubuntu4 [31.4 kB] 686s Preconfiguring packages ... 687s Fetched 87.1 MB in 8s (10.8 MB/s) 687s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 688s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_armhf.deb ... 688s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 688s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 688s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 688s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_armhf.deb ... 688s Unpacking gcc-14-base:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 688s Setting up gcc-14-base:armhf (14-20240315-1ubuntu1) ... 688s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 688s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_armhf.deb ... 688s Unpacking libgcc-s1:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 689s Setting up libgcc-s1:armhf (14-20240315-1ubuntu1) ... 689s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 689s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_armhf.deb ... 689s Unpacking libstdc++6:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 689s Setting up libstdc++6:armhf (14-20240315-1ubuntu1) ... 689s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 689s Preparing to unpack .../libc6_2.39-0ubuntu6_armhf.deb ... 690s Unpacking libc6:armhf (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 690s Setting up libc6:armhf (2.39-0ubuntu6) ... 692s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 692s Preparing to unpack .../openssl_3.0.13-0ubuntu1_armhf.deb ... 692s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 693s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 693s Unpacking zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 693s Setting up zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) ... 693s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 693s Preparing to unpack .../0-librtmp1_2.4+20151223.gitfa8646d.1-2build6_armhf.deb ... 693s Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 693s Preparing to unpack .../1-python3.12_3.12.2-4build2_armhf.deb ... 693s Unpacking python3.12 (3.12.2-4build2) over (3.12.2-1) ... 693s Preparing to unpack .../2-libexpat1_2.6.1-2_armhf.deb ... 693s Unpacking libexpat1:armhf (2.6.1-2) over (2.6.0-1) ... 694s Preparing to unpack .../3-python3.12-minimal_3.12.2-4build2_armhf.deb ... 694s Unpacking python3.12-minimal (3.12.2-4build2) over (3.12.2-1) ... 694s Preparing to unpack .../4-libpython3.12-stdlib_3.12.2-4build2_armhf.deb ... 694s Unpacking libpython3.12-stdlib:armhf (3.12.2-4build2) over (3.12.2-1) ... 695s Preparing to unpack .../5-libpython3.12-minimal_3.12.2-4build2_armhf.deb ... 695s Unpacking libpython3.12-minimal:armhf (3.12.2-4build2) over (3.12.2-1) ... 696s Preparing to unpack .../6-liblzma5_5.6.0-0.2_armhf.deb ... 696s Unpacking liblzma5:armhf (5.6.0-0.2) over (5.4.5-0.3) ... 696s Setting up liblzma5:armhf (5.6.0-0.2) ... 696s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 696s Preparing to unpack .../0-libsqlite3-0_3.45.1-1ubuntu1_armhf.deb ... 696s Unpacking libsqlite3-0:armhf (3.45.1-1ubuntu1) over (3.45.1-1) ... 696s Preparing to unpack .../1-python3.11_3.11.8-1build3_armhf.deb ... 696s Unpacking python3.11 (3.11.8-1build3) over (3.11.8-1) ... 697s Preparing to unpack .../2-python3.11-minimal_3.11.8-1build3_armhf.deb ... 697s Unpacking python3.11-minimal (3.11.8-1build3) over (3.11.8-1) ... 697s Preparing to unpack .../3-libpython3.11-stdlib_3.11.8-1build3_armhf.deb ... 697s Unpacking libpython3.11-stdlib:armhf (3.11.8-1build3) over (3.11.8-1) ... 698s Preparing to unpack .../4-libpython3.11-minimal_3.11.8-1build3_armhf.deb ... 699s Unpacking libpython3.11-minimal:armhf (3.11.8-1build3) over (3.11.8-1) ... 699s Preparing to unpack .../5-libtext-iconv-perl_1.7-8build2_armhf.deb ... 699s Unpacking libtext-iconv-perl:armhf (1.7-8build2) over (1.7-8build1) ... 699s Preparing to unpack .../6-libtext-charwidth-perl_0.04-11build2_armhf.deb ... 699s Unpacking libtext-charwidth-perl:armhf (0.04-11build2) over (0.04-11build1) ... 700s Preparing to unpack .../7-perl-modules-5.38_5.38.2-3.2_all.deb ... 700s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 702s Preparing to unpack .../8-libsasl2-modules-db_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 702s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 702s dpkg: libperl5.38:armhf: dependency problems, but removing anyway as you requested: 702s perl depends on libperl5.38 (= 5.38.2-3). 702s 702s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 702s Removing libperl5.38:armhf (5.38.2-3) ... 702s dpkg: libdb5.3:armhf: dependency problems, but removing anyway as you requested: 702s libpam-modules:armhf depends on libdb5.3. 702s iproute2 depends on libdb5.3. 702s apt-utils depends on libdb5.3. 702s 702s Removing libdb5.3:armhf (5.3.28+dfsg2-4) ... 702s Selecting previously unselected package libdb5.3t64:armhf. 703s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58091 files and directories currently installed.) 703s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-5build1_armhf.deb ... 703s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 703s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu2_armhf.deb ... 703s Unpacking python3-gdbm:armhf (3.12.2-3ubuntu2) over (3.11.5-1) ... 703s Preparing to unpack .../man-db_2.12.0-3build4_armhf.deb ... 703s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 703s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58097 files and directories currently installed.) 704s Removing libgdbm-compat4:armhf (1.23-5) ... 704s Removing libgdbm6:armhf (1.23-5) ... 704s Selecting previously unselected package libgdbm6t64:armhf. 704s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58087 files and directories currently installed.) 704s Preparing to unpack .../libgdbm6t64_1.23-5.1_armhf.deb ... 704s Unpacking libgdbm6t64:armhf (1.23-5.1) ... 704s Selecting previously unselected package libgdbm-compat4t64:armhf. 704s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_armhf.deb ... 704s Unpacking libgdbm-compat4t64:armhf (1.23-5.1) ... 704s Selecting previously unselected package libperl5.38t64:armhf. 704s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_armhf.deb ... 704s Unpacking libperl5.38t64:armhf (5.38.2-3.2) ... 705s Preparing to unpack .../perl_5.38.2-3.2_armhf.deb ... 705s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 705s Preparing to unpack .../perl-base_5.38.2-3.2_armhf.deb ... 705s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 706s Setting up perl-base (5.38.2-3.2) ... 706s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 706s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu3_armhf.deb ... 706s Unpacking liblocale-gettext-perl (1.07-6ubuntu3) over (1.07-6build1) ... 706s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu5_armhf.deb ... 706s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 706s Preparing to unpack .../dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 706s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 706s Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1_all.deb ... 706s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 706s Setting up libaudit-common (1:3.1.2-2.1) ... 707s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 707s Preparing to unpack .../libcap-ng0_0.8.4-2build1_armhf.deb ... 707s Unpacking libcap-ng0:armhf (0.8.4-2build1) over (0.8.4-2) ... 707s Setting up libcap-ng0:armhf (0.8.4-2build1) ... 707s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 707s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_armhf.deb ... 707s Unpacking libaudit1:armhf (1:3.1.2-2.1) over (1:3.1.2-2) ... 707s Setting up libaudit1:armhf (1:3.1.2-2.1) ... 707s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 707s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_armhf.deb ... 707s Unpacking libpam0g:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 707s Setting up libpam0g:armhf (1.5.3-5ubuntu3) ... 708s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 708s Preparing to unpack .../libselinux1_3.5-2build3_armhf.deb ... 708s Unpacking libselinux1:armhf (3.5-2build3) over (3.5-2build1) ... 708s Setting up libselinux1:armhf (3.5-2build3) ... 708s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 708s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_armhf.deb ... 708s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 708s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 709s pam_namespace.service is a disabled or a static unit not running, not starting it. 709s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 709s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_armhf.deb ... 709s Unpacking libpam-modules:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 709s Setting up libpam-modules:armhf (1.5.3-5ubuntu3) ... 709s Installing new version of config file /etc/security/namespace.init ... 710s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 710s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 710s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 710s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 710s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 710s Preparing to unpack .../00-systemd-sysv_255.4-1ubuntu5_armhf.deb ... 710s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 711s Preparing to unpack .../01-libpam-systemd_255.4-1ubuntu5_armhf.deb ... 711s Unpacking libpam-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 711s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_armhf.deb ... 711s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 711s Preparing to unpack .../03-libapparmor1_4.0.0~beta2-0ubuntu3_armhf.deb ... 711s Unpacking libapparmor1:armhf (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 711s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_armhf.deb ... 711s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 711s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 711s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 711s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_armhf.deb ... 711s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 711s Preparing to unpack .../07-dbus-daemon_1.14.10-4ubuntu2_armhf.deb ... 711s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 711s Preparing to unpack .../08-libdbus-1-3_1.14.10-4ubuntu2_armhf.deb ... 711s Unpacking libdbus-1-3:armhf (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 712s Preparing to unpack .../09-systemd-resolved_255.4-1ubuntu5_armhf.deb ... 712s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 712s Preparing to unpack .../10-libblkid1_2.39.3-9ubuntu2_armhf.deb ... 712s Unpacking libblkid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 712s Setting up libblkid1:armhf (2.39.3-9ubuntu2) ... 712s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 712s Preparing to unpack .../kmod_31+20240202-2ubuntu4_armhf.deb ... 712s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 712s dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty 712s Preparing to unpack .../libkmod2_31+20240202-2ubuntu4_armhf.deb ... 712s Unpacking libkmod2:armhf (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 712s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_armhf.deb ... 712s Unpacking libmount1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 713s Setting up libmount1:armhf (2.39.3-9ubuntu2) ... 713s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 713s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_armhf.deb ... 713s Unpacking libseccomp2:armhf (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 713s Setting up libseccomp2:armhf (2.5.5-1ubuntu2) ... 713s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 713s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu6_armhf.deb ... 713s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 713s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 713s Removing udisks2 (2.10.1-1ubuntu2) ... 715s dpkg: libglib2.0-0:armhf: dependency problems, but removing anyway as you requested: 715s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 715s python3-gi depends on libglib2.0-0 (>= 2.77.0). 715s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 715s netplan.io depends on libglib2.0-0 (>= 2.70.0). 715s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 715s libxmlb2:armhf depends on libglib2.0-0 (>= 2.54.0). 715s libvolume-key1:armhf depends on libglib2.0-0 (>= 2.18.0). 715s libudisks2-0:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libqrtr-glib0:armhf depends on libglib2.0-0 (>= 2.56). 715s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 715s libqmi-glib5:armhf depends on libglib2.0-0 (>= 2.54.0). 715s libpolkit-gobject-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 715s libpolkit-agent-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 715s libnetplan0:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libmm-glib0:armhf depends on libglib2.0-0 (>= 2.62.0). 715s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 715s libmbim-glib4:armhf depends on libglib2.0-0 (>= 2.56). 715s libjson-glib-1.0-0:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libjcat1:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libgusb2:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libgudev-1.0-0:armhf depends on libglib2.0-0 (>= 2.38.0). 715s libgirepository-1.0-1:armhf depends on libglib2.0-0 (>= 2.79.0). 715s libfwupd2:armhf depends on libglib2.0-0 (>= 2.79.0). 715s libblockdev3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-utils3:armhf depends on libglib2.0-0 (>= 2.75.3). 715s libblockdev-swap3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-part3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-nvme3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-mdraid3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-loop3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-fs3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s libblockdev-crypto3:armhf depends on libglib2.0-0 (>= 2.42.2). 715s gir1.2-glib-2.0:armhf depends on libglib2.0-0 (= 2.79.2-1~ubuntu1). 715s fwupd depends on libglib2.0-0 (>= 2.79.0). 715s bolt depends on libglib2.0-0 (>= 2.56.0). 715s 715s Removing libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 715s Selecting previously unselected package libglib2.0-0t64:armhf. 715s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58563 files and directories currently installed.) 715s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_armhf.deb ... 715s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:armhf.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 715s removed '/var/lib/dpkg/info/libglib2.0-0:armhf.postrm' 715s Unpacking libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 716s Preparing to unpack .../libvolume-key1_0.3.12-7build1_armhf.deb ... 716s Unpacking libvolume-key1:armhf (0.3.12-7build1) over (0.3.12-5build2) ... 716s dpkg: libgpgme11:armhf: dependency problems, but removing anyway as you requested: 716s libjcat1:armhf depends on libgpgme11 (>= 1.2.0). 716s 716s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58588 files and directories currently installed.) 716s Removing libgpgme11:armhf (1.18.0-4ubuntu1) ... 716s Selecting previously unselected package libgpgme11t64:armhf. 716s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58582 files and directories currently installed.) 716s Preparing to unpack .../libgpgme11t64_1.18.0-4.1ubuntu3_armhf.deb ... 716s Unpacking libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 716s Preparing to unpack .../libjcat1_0.2.0-2build2_armhf.deb ... 716s Unpacking libjcat1:armhf (0.2.0-2build2) over (0.2.0-2) ... 716s dpkg: libarchive13:armhf: dependency problems, but removing anyway as you requested: 716s fwupd depends on libarchive13 (>= 3.2.1). 716s 717s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58589 files and directories currently installed.) 717s Removing libarchive13:armhf (3.7.2-1ubuntu2) ... 717s Selecting previously unselected package libarchive13t64:armhf. 717s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58583 files and directories currently installed.) 717s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu1_armhf.deb ... 717s Unpacking libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 717s Preparing to unpack .../fwupd_1.9.15-1_armhf.deb ... 717s Unpacking fwupd (1.9.15-1) over (1.9.14-1) ... 718s Preparing to unpack .../ubuntu-pro-client-l10n_31.2_armhf.deb ... 718s Unpacking ubuntu-pro-client-l10n (31.2) over (31.1) ... 718s Preparing to unpack .../ubuntu-pro-client_31.2_armhf.deb ... 719s Unpacking ubuntu-pro-client (31.2) over (31.1) ... 720s dpkg: libparted2:armhf: dependency problems, but removing anyway as you requested: 720s parted depends on libparted2 (= 3.6-3). 720s 720s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58590 files and directories currently installed.) 720s Removing libparted2:armhf (3.6-3) ... 720s Selecting previously unselected package libparted2t64:armhf. 720s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58584 files and directories currently installed.) 720s Preparing to unpack .../libparted2t64_3.6-3.1build2_armhf.deb ... 720s Unpacking libparted2t64:armhf (3.6-3.1build2) ... 720s Preparing to unpack .../parted_3.6-3.1build2_armhf.deb ... 720s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 720s Preparing to unpack .../keyboxd_2.4.4-2ubuntu15_armhf.deb ... 720s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 721s dpkg: libnpth0:armhf: dependency problems, but removing anyway as you requested: 721s gpgv depends on libnpth0 (>= 0.90). 721s gpgsm depends on libnpth0 (>= 0.90). 721s gpg-agent depends on libnpth0 (>= 0.90). 721s gpg depends on libnpth0 (>= 0.90). 721s dirmngr depends on libnpth0 (>= 0.90). 721s 721s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58591 files and directories currently installed.) 721s Removing libnpth0:armhf (1.6-3build2) ... 721s Selecting previously unselected package libnpth0t64:armhf. 721s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58586 files and directories currently installed.) 721s Preparing to unpack .../libnpth0t64_1.6-3.1_armhf.deb ... 721s Unpacking libnpth0t64:armhf (1.6-3.1) ... 721s Setting up libnpth0t64:armhf (1.6-3.1) ... 721s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 721s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_armhf.deb ... 721s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 721s Setting up gpgv (2.4.4-2ubuntu15) ... 722s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 722s Preparing to unpack .../gpg_2.4.4-2ubuntu15_armhf.deb ... 722s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 722s Preparing to unpack .../gpg-wks-client_2.4.4-2ubuntu15_armhf.deb ... 722s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 722s Preparing to unpack .../gnupg-utils_2.4.4-2ubuntu15_armhf.deb ... 722s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 722s Preparing to unpack .../gpg-agent_2.4.4-2ubuntu15_armhf.deb ... 722s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 722s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_armhf.deb ... 722s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 722s dpkg: libreadline8:armhf: dependency problems, but removing anyway as you requested: 722s gpgconf depends on libreadline8 (>= 6.0). 722s gawk depends on libreadline8 (>= 6.0). 722s fdisk depends on libreadline8 (>= 6.0). 722s 722s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 722s Removing libreadline8:armhf (8.2-3) ... 723s Selecting previously unselected package libreadline8t64:armhf. 723s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58580 files and directories currently installed.) 723s Preparing to unpack .../libreadline8t64_8.2-3.1_armhf.deb ... 723s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 723s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 723s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 723s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 723s Unpacking libreadline8t64:armhf (8.2-3.1) ... 723s Setting up libreadline8t64:armhf (8.2-3.1) ... 723s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 723s Preparing to unpack .../0-gawk_1%3a5.2.1-2build2_armhf.deb ... 723s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 724s Preparing to unpack .../1-fdisk_2.39.3-9ubuntu2_armhf.deb ... 724s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 724s Preparing to unpack .../2-gpgconf_2.4.4-2ubuntu15_armhf.deb ... 724s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 724s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_armhf.deb ... 724s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 724s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 724s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 724s Preparing to unpack .../5-python3-apt_2.7.6build1_armhf.deb ... 725s Unpacking python3-apt (2.7.6build1) over (2.7.6) ... 725s Preparing to unpack .../6-apt-utils_2.7.13ubuntu1_armhf.deb ... 725s Unpacking apt-utils (2.7.13ubuntu1) over (2.7.12) ... 725s dpkg: libapt-pkg6.0:armhf: dependency problems, but removing anyway as you requested: 725s apt depends on libapt-pkg6.0 (>= 2.7.12). 725s 725s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58598 files and directories currently installed.) 725s Removing libapt-pkg6.0:armhf (2.7.12) ... 725s dpkg: libnettle8:armhf: dependency problems, but removing anyway as you requested: 725s libhogweed6:armhf depends on libnettle8. 725s libgnutls30:armhf depends on libnettle8 (>= 3.9~). 725s libcurl3-gnutls:armhf depends on libnettle8. 725s 725s Removing libnettle8:armhf (3.9.1-2) ... 725s Selecting previously unselected package libapt-pkg6.0t64:armhf. 725s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58542 files and directories currently installed.) 725s Preparing to unpack .../libapt-pkg6.0t64_2.7.13ubuntu1_armhf.deb ... 725s Unpacking libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 725s Setting up libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 725s Selecting previously unselected package libnettle8t64:armhf. 725s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 725s Preparing to unpack .../libnettle8t64_3.9.1-2.2_armhf.deb ... 725s Unpacking libnettle8t64:armhf (3.9.1-2.2) ... 725s Setting up libnettle8t64:armhf (3.9.1-2.2) ... 726s dpkg: libhogweed6:armhf: dependency problems, but removing anyway as you requested: 726s libgnutls30:armhf depends on libhogweed6 (>= 3.6). 726s 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 726s Removing libhogweed6:armhf (3.9.1-2) ... 726s Selecting previously unselected package libhogweed6t64:armhf. 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58595 files and directories currently installed.) 726s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_armhf.deb ... 726s Unpacking libhogweed6t64:armhf (3.9.1-2.2) ... 726s Setting up libhogweed6t64:armhf (3.9.1-2.2) ... 726s dpkg: libgnutls30:armhf: dependency problems, but removing anyway as you requested: 726s libcurl3-gnutls:armhf depends on libgnutls30 (>= 3.8.2). 726s apt depends on libgnutls30 (>= 3.8.1). 726s 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58601 files and directories currently installed.) 726s Removing libgnutls30:armhf (3.8.3-1ubuntu1) ... 726s Selecting previously unselected package libgnutls30t64:armhf. 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 726s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_armhf.deb ... 726s Unpacking libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 727s Setting up libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 727s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 727s Preparing to unpack .../apt_2.7.13ubuntu1_armhf.deb ... 727s Unpacking apt (2.7.13ubuntu1) over (2.7.12) ... 728s Setting up apt (2.7.13ubuntu1) ... 729s dpkg: libcurl3-gnutls:armhf: dependency problems, but removing anyway as you requested: 729s libfwupd2:armhf depends on libcurl3-gnutls (>= 7.63.0). 729s 729s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 729s Removing libcurl3-gnutls:armhf (8.5.0-2ubuntu2) ... 730s Selecting previously unselected package libcurl3t64-gnutls:armhf. 730s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58613 files and directories currently installed.) 730s Preparing to unpack .../libcurl3t64-gnutls_8.5.0-2ubuntu7_armhf.deb ... 730s Unpacking libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 730s Preparing to unpack .../libfwupd2_1.9.15-1_armhf.deb ... 730s Unpacking libfwupd2:armhf (1.9.15-1) over (1.9.14-1) ... 730s dpkg: libpsl5:armhf: dependency problems, but removing anyway as you requested: 730s wget depends on libpsl5 (>= 0.16.0). 730s libcurl4:armhf depends on libpsl5 (>= 0.16.0). 730s 730s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 730s Removing libpsl5:armhf (0.21.2-1build1) ... 730s Selecting previously unselected package libpsl5t64:armhf. 730s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 730s Preparing to unpack .../libpsl5t64_0.21.2-1.1_armhf.deb ... 730s Unpacking libpsl5t64:armhf (0.21.2-1.1) ... 730s Preparing to unpack .../wget_1.21.4-1ubuntu2_armhf.deb ... 730s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 731s Preparing to unpack .../tnftp_20230507-2build1_armhf.deb ... 731s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 731s dpkg: libpcap0.8:armhf: dependency problems, but removing anyway as you requested: 731s tcpdump depends on libpcap0.8 (>= 1.9.1). 731s 731s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58621 files and directories currently installed.) 731s Removing libpcap0.8:armhf (1.10.4-4ubuntu3) ... 731s Selecting previously unselected package libpcap0.8t64:armhf. 731s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58610 files and directories currently installed.) 731s Preparing to unpack .../0-libpcap0.8t64_1.10.4-4.1ubuntu1_armhf.deb ... 731s Unpacking libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 731s Preparing to unpack .../1-tcpdump_4.99.4-3ubuntu2_armhf.deb ... 731s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 731s Preparing to unpack .../2-sudo_1.9.15p5-3ubuntu2_armhf.deb ... 731s Unpacking sudo (1.9.15p5-3ubuntu2) over (1.9.15p5-3ubuntu1) ... 732s Preparing to unpack .../3-rsync_3.2.7-1build1_armhf.deb ... 732s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 732s Preparing to unpack .../4-python3-cryptography_41.0.7-4build2_armhf.deb ... 732s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 732s Preparing to unpack .../5-openssh-sftp-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 732s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 732s Preparing to unpack .../6-openssh-client_1%3a9.6p1-3ubuntu10_armhf.deb ... 732s Unpacking openssh-client (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 733s Preparing to unpack .../7-openssh-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 733s Unpacking openssh-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 733s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58622 files and directories currently installed.) 733s Removing linux-headers-generic (6.8.0-11.11+1) ... 733s Removing linux-headers-6.8.0-11-generic (6.8.0-11.11) ... 735s dpkg: libssl3:armhf: dependency problems, but removing anyway as you requested: 735s systemd depends on libssl3 (>= 3.0.0). 735s libsystemd-shared:armhf depends on libssl3 (>= 3.0.0). 735s libssh-4:armhf depends on libssl3 (>= 3.0.0). 735s libsasl2-modules:armhf depends on libssl3 (>= 3.0.0). 735s libsasl2-2:armhf depends on libssl3 (>= 3.0.0). 735s libnvme1 depends on libssl3 (>= 3.0.0). 735s libkrb5-3:armhf depends on libssl3 (>= 3.0.0). 735s libfido2-1:armhf depends on libssl3 (>= 3.0.0). 735s libcurl4:armhf depends on libssl3 (>= 3.0.0). 735s libcryptsetup12:armhf depends on libssl3 (>= 3.0.0). 735s dhcpcd-base depends on libssl3 (>= 3.0.0). 735s bind9-libs:armhf depends on libssl3 (>= 3.0.0). 735s 735s Removing libssl3:armhf (3.0.10-1ubuntu4) ... 735s Selecting previously unselected package libssl3t64:armhf. 735s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47469 files and directories currently installed.) 735s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_armhf.deb ... 735s Unpacking libssl3t64:armhf (3.0.13-0ubuntu1) ... 735s Setting up libssl3t64:armhf (3.0.13-0ubuntu1) ... 735s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 735s Preparing to unpack .../0-systemd-dev_255.4-1ubuntu5_all.deb ... 735s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 736s Preparing to unpack .../1-systemd_255.4-1ubuntu5_armhf.deb ... 736s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 737s Preparing to unpack .../2-udev_255.4-1ubuntu5_armhf.deb ... 737s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 737s Preparing to unpack .../3-libnss-systemd_255.4-1ubuntu5_armhf.deb ... 737s Unpacking libnss-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 737s Preparing to unpack .../4-libsystemd-shared_255.4-1ubuntu5_armhf.deb ... 737s Unpacking libsystemd-shared:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 737s Preparing to unpack .../5-libudev1_255.4-1ubuntu5_armhf.deb ... 737s Unpacking libudev1:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 737s Setting up libudev1:armhf (255.4-1ubuntu5) ... 737s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 737s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_armhf.deb ... 737s Unpacking libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 738s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_armhf.deb ... 738s Unpacking libuuid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 738s Setting up libuuid1:armhf (2.39.3-9ubuntu2) ... 738s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 738s Preparing to unpack .../libcryptsetup12_2%3a2.7.0-1ubuntu2_armhf.deb ... 738s Unpacking libcryptsetup12:armhf (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 738s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_armhf.deb ... 738s Unpacking libfdisk1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 738s Preparing to unpack .../mount_2.39.3-9ubuntu2_armhf.deb ... 738s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 738s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_armhf.deb ... 738s Unpacking libsystemd0:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 738s Setting up libsystemd0:armhf (255.4-1ubuntu5) ... 738s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 738s Preparing to unpack .../python3-yaml_6.0.1-2build1_armhf.deb ... 739s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 739s Preparing to unpack .../pinentry-curses_1.2.1-3ubuntu4_armhf.deb ... 739s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 739s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_armhf.deb ... 739s Unpacking libsmartcols1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 739s Setting up libsmartcols1:armhf (2.39.3-9ubuntu2) ... 739s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 739s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 739s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 739s Preparing to unpack .../python-apt-common_2.7.6build1_all.deb ... 739s Unpacking python-apt-common (2.7.6build1) over (2.7.6) ... 740s Preparing to unpack .../python3-setuptools_68.1.2-2ubuntu1_all.deb ... 740s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 740s Preparing to unpack .../python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 740s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 741s Preparing to unpack .../dpkg_1.22.6ubuntu2_armhf.deb ... 741s Unpacking dpkg (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 741s Setting up dpkg (1.22.6ubuntu2) ... 742s Setting up libpython3.12-minimal:armhf (3.12.2-4build2) ... 742s Setting up libexpat1:armhf (2.6.1-2) ... 742s Setting up python3.12-minimal (3.12.2-4build2) ... 746s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 746s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_armhf.deb ... 746s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 746s Setting up python3-minimal (3.12.2-0ubuntu1) ... 746s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 746s Preparing to unpack .../00-python3_3.12.2-0ubuntu1_armhf.deb ... 747s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 747s Preparing to unpack .../01-libpython3-stdlib_3.12.2-0ubuntu1_armhf.deb ... 747s Unpacking libpython3-stdlib:armhf (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 747s Preparing to unpack .../02-bsdextrautils_2.39.3-9ubuntu2_armhf.deb ... 747s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 747s Preparing to unpack .../03-groff-base_1.23.0-3build1_armhf.deb ... 747s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 747s Preparing to unpack .../04-libsasl2-2_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 747s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 747s Preparing to unpack .../05-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 747s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 748s Preparing to unpack .../06-libjson-glib-1.0-0_1.8.0-2build1_armhf.deb ... 748s Unpacking libjson-glib-1.0-0:armhf (1.8.0-2build1) over (1.8.0-2) ... 748s Preparing to unpack .../07-libxml2_2.9.14+dfsg-1.3ubuntu2_armhf.deb ... 748s Unpacking libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 748s Preparing to unpack .../08-libgudev-1.0-0_1%3a238-3ubuntu2_armhf.deb ... 748s Unpacking libgudev-1.0-0:armhf (1:238-3ubuntu2) over (1:238-3) ... 748s Preparing to unpack .../09-libusb-1.0-0_2%3a1.0.27-1_armhf.deb ... 748s Unpacking libusb-1.0-0:armhf (2:1.0.27-1) over (2:1.0.26-1) ... 748s Preparing to unpack .../10-libgusb2_0.4.8-1build1_armhf.deb ... 748s Unpacking libgusb2:armhf (0.4.8-1build1) over (0.4.8-1) ... 748s Preparing to unpack .../11-libmbim-proxy_1.31.2-0ubuntu2_armhf.deb ... 748s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 748s Preparing to unpack .../12-libmbim-glib4_1.31.2-0ubuntu2_armhf.deb ... 748s Unpacking libmbim-glib4:armhf (1.31.2-0ubuntu2) over (1.30.0-1) ... 748s Preparing to unpack .../13-libmm-glib0_1.23.4-0ubuntu1_armhf.deb ... 748s Unpacking libmm-glib0:armhf (1.23.4-0ubuntu1) over (1.22.0-3) ... 748s Preparing to unpack .../14-libpolkit-agent-1-0_124-1ubuntu1_armhf.deb ... 748s Unpacking libpolkit-agent-1-0:armhf (124-1ubuntu1) over (124-1) ... 748s Preparing to unpack .../15-libpolkit-gobject-1-0_124-1ubuntu1_armhf.deb ... 748s Unpacking libpolkit-gobject-1-0:armhf (124-1ubuntu1) over (124-1) ... 749s Preparing to unpack .../16-libqmi-proxy_1.35.2-0ubuntu1_armhf.deb ... 749s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 749s Preparing to unpack .../17-libqrtr-glib0_1.2.2-1ubuntu3_armhf.deb ... 749s Unpacking libqrtr-glib0:armhf (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 749s Preparing to unpack .../18-libqmi-glib5_1.35.2-0ubuntu1_armhf.deb ... 749s Unpacking libqmi-glib5:armhf (1.35.2-0ubuntu1) over (1.34.0-2) ... 749s Preparing to unpack .../19-libxmlb2_0.3.15-1build1_armhf.deb ... 749s Unpacking libxmlb2:armhf (0.3.15-1build1) over (0.3.15-1) ... 749s Preparing to unpack .../20-shared-mime-info_2.4-1build1_armhf.deb ... 749s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 749s Preparing to unpack .../21-libbrotli1_1.1.0-2build1_armhf.deb ... 749s Unpacking libbrotli1:armhf (1.1.0-2build1) over (1.1.0-2) ... 749s Preparing to unpack .../22-libgssapi-krb5-2_1.20.1-5.1build3_armhf.deb ... 749s Unpacking libgssapi-krb5-2:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 750s Preparing to unpack .../23-libkrb5-3_1.20.1-5.1build3_armhf.deb ... 750s Unpacking libkrb5-3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 750s Preparing to unpack .../24-libkrb5support0_1.20.1-5.1build3_armhf.deb ... 750s Unpacking libkrb5support0:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 750s Preparing to unpack .../25-libk5crypto3_1.20.1-5.1build3_armhf.deb ... 750s Unpacking libk5crypto3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 750s Preparing to unpack .../26-libcom-err2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 750s Unpacking libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 750s Preparing to unpack .../27-libnghttp2-14_1.59.0-1build1_armhf.deb ... 750s Unpacking libnghttp2-14:armhf (1.59.0-1build1) over (1.59.0-1) ... 750s Preparing to unpack .../28-libssh-4_0.10.6-2build1_armhf.deb ... 750s Unpacking libssh-4:armhf (0.10.6-2build1) over (0.10.6-2) ... 750s Preparing to unpack .../29-libibverbs1_50.0-2build1_armhf.deb ... 750s Unpacking libibverbs1:armhf (50.0-2build1) over (50.0-2) ... 750s Preparing to unpack .../30-libfido2-1_1.14.0-1build1_armhf.deb ... 750s Unpacking libfido2-1:armhf (1.14.0-1build1) over (1.14.0-1) ... 750s Preparing to unpack .../31-coreutils_9.4-3ubuntu3_armhf.deb ... 750s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 751s Setting up coreutils (9.4-3ubuntu3) ... 751s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 751s Preparing to unpack .../debianutils_5.17_armhf.deb ... 751s Unpacking debianutils (5.17) over (5.16) ... 751s Setting up debianutils (5.17) ... 751s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 751s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_armhf.deb ... 751s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 752s Setting up util-linux (2.39.3-9ubuntu2) ... 753s fstrim.service is a disabled or a static unit not running, not starting it. 754s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 754s Preparing to unpack .../libc-bin_2.39-0ubuntu6_armhf.deb ... 754s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 754s Setting up libc-bin (2.39-0ubuntu6) ... 754s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 754s Removing libatm1:armhf (1:2.5.1-5) ... 754s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 754s Preparing to unpack .../curl_8.5.0-2ubuntu7_armhf.deb ... 754s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 754s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 754s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 755s Selecting previously unselected package libcurl4t64:armhf. 755s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 755s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_armhf.deb ... 755s Unpacking libcurl4t64:armhf (8.5.0-2ubuntu7) ... 755s Preparing to unpack .../libbpf1_1%3a1.3.0-2build1_armhf.deb ... 755s Unpacking libbpf1:armhf (1:1.3.0-2build1) over (1:1.3.0-2) ... 755s Preparing to unpack .../iproute2_6.1.0-1ubuntu5_armhf.deb ... 755s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 755s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 755s Removing libelf1:armhf (0.190-1) ... 755s Selecting previously unselected package libelf1t64:armhf. 755s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47472 files and directories currently installed.) 755s Preparing to unpack .../libelf1t64_0.190-1.1build2_armhf.deb ... 755s Unpacking libelf1t64:armhf (0.190-1.1build2) ... 755s Preparing to unpack .../lsof_4.95.0-1build2_armhf.deb ... 755s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 756s Preparing to unpack .../libnsl2_1.3.0-3build2_armhf.deb ... 756s Unpacking libnsl2:armhf (1.3.0-3build2) over (1.3.0-3) ... 756s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 756s Removing libtirpc3:armhf (1.3.4+ds-1build1) ... 756s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 756s Preparing to unpack .../0-libtirpc-common_1.3.4+ds-1.1_all.deb ... 756s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 756s Selecting previously unselected package libtirpc3t64:armhf. 756s Preparing to unpack .../1-libtirpc3t64_1.3.4+ds-1.1_armhf.deb ... 756s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' 756s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 756s Unpacking libtirpc3t64:armhf (1.3.4+ds-1.1) ... 756s Preparing to unpack .../2-libblockdev-utils3_3.1.0-1build1_armhf.deb ... 756s Unpacking libblockdev-utils3:armhf (3.1.0-1build1) over (3.1.0-1) ... 756s Preparing to unpack .../3-libblockdev-fs3_3.1.0-1build1_armhf.deb ... 756s Unpacking libblockdev-fs3:armhf (3.1.0-1build1) over (3.1.0-1) ... 756s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 756s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 756s Preparing to unpack .../5-initramfs-tools_0.142ubuntu22_all.deb ... 756s Unpacking initramfs-tools (0.142ubuntu22) over (0.142ubuntu20) ... 757s Preparing to unpack .../6-initramfs-tools-core_0.142ubuntu22_all.deb ... 757s Unpacking initramfs-tools-core (0.142ubuntu22) over (0.142ubuntu20) ... 757s Preparing to unpack .../7-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 757s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 757s dpkg: libext2fs2:armhf: dependency problems, but removing anyway as you requested: 757s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 757s btrfs-progs depends on libext2fs2 (>= 1.42). 757s 757s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 757s Removing libext2fs2:armhf (1.47.0-2ubuntu1) ... 757s Selecting previously unselected package libext2fs2t64:armhf. 757s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 757s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 757s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 757s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 757s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 757s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 757s Unpacking libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 757s Setting up libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) ... 757s Setting up libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 758s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 758s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 758s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 758s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_armhf.deb ... 758s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 758s Preparing to unpack .../dhcpcd-base_1%3a10.0.6-1ubuntu2_armhf.deb ... 758s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 758s Preparing to unpack .../initramfs-tools-bin_0.142ubuntu22_armhf.deb ... 758s Unpacking initramfs-tools-bin (0.142ubuntu22) over (0.142ubuntu20) ... 758s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 758s Removing libreiserfscore0 (1:3.6.27-7) ... 758s Selecting previously unselected package libreiserfscore0t64. 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 759s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_armhf.deb ... 759s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 759s Preparing to unpack .../file_1%3a5.45-3_armhf.deb ... 759s Unpacking file (1:5.45-3) over (1:5.45-2) ... 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47493 files and directories currently installed.) 759s Removing libmagic1:armhf (1:5.45-2) ... 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 759s Preparing to unpack .../0-libmagic-mgc_1%3a5.45-3_armhf.deb ... 759s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 759s Selecting previously unselected package libmagic1t64:armhf. 759s Preparing to unpack .../1-libmagic1t64_1%3a5.45-3_armhf.deb ... 759s Unpacking libmagic1t64:armhf (1:5.45-3) ... 759s Selecting previously unselected package libnetplan1:armhf. 759s Preparing to unpack .../2-libnetplan1_1.0-1_armhf.deb ... 759s Unpacking libnetplan1:armhf (1.0-1) ... 759s Preparing to unpack .../3-python3-netplan_1.0-1_armhf.deb ... 759s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 760s Preparing to unpack .../4-netplan-generator_1.0-1_armhf.deb ... 760s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 760s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 760s Preparing to unpack .../5-python3-dbus_1.3.2-5build2_armhf.deb ... 760s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 760s Preparing to unpack .../6-netplan.io_1.0-1_armhf.deb ... 760s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 760s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47498 files and directories currently installed.) 760s Removing libnetplan0:armhf (0.107.1-3) ... 760s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 760s Preparing to unpack .../libblockdev-nvme3_3.1.0-1build1_armhf.deb ... 760s Unpacking libblockdev-nvme3:armhf (3.1.0-1build1) over (3.1.0-1) ... 760s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 760s Removing libnvme1 (1.8-2) ... 760s Selecting previously unselected package libnvme1t64. 761s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 761s Preparing to unpack .../libnvme1t64_1.8-3_armhf.deb ... 761s Unpacking libnvme1t64 (1.8-3) ... 761s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu4_armhf.deb ... 761s Unpacking libplymouth5:armhf (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 761s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47495 files and directories currently installed.) 761s Removing libpng16-16:armhf (1.6.43-1) ... 761s Selecting previously unselected package libpng16-16t64:armhf. 761s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47485 files and directories currently installed.) 761s Preparing to unpack .../libpng16-16t64_1.6.43-3_armhf.deb ... 761s Unpacking libpng16-16t64:armhf (1.6.43-3) ... 761s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47496 files and directories currently installed.) 761s Removing libudisks2-0:armhf (2.10.1-1ubuntu2) ... 761s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 761s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_armhf.deb ... 761s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 761s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_armhf.deb ... 761s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 761s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_armhf.deb ... 761s Unpacking bind9-libs:armhf (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 762s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 762s Removing libuv1:armhf (1.48.0-1) ... 762s Selecting previously unselected package libuv1t64:armhf. 762s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47486 files and directories currently installed.) 762s Preparing to unpack .../libuv1t64_1.48.0-1.1_armhf.deb ... 762s Unpacking libuv1t64:armhf (1.48.0-1.1) ... 762s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 762s Removing python3-distutils (3.11.5-1) ... 762s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 762s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_armhf.deb ... 762s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 762s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_armhf.deb ... 762s Unpacking libdebconfclient0:armhf (0.271ubuntu2) over (0.271ubuntu1) ... 762s Setting up libdebconfclient0:armhf (0.271ubuntu2) ... 763s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 763s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 763s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 763s Setting up libsemanage-common (3.5-1build4) ... 763s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 763s Preparing to unpack .../libsemanage2_3.5-1build4_armhf.deb ... 763s Unpacking libsemanage2:armhf (3.5-1build4) over (3.5-1build2) ... 763s Setting up libsemanage2:armhf (3.5-1build4) ... 763s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 763s Preparing to unpack .../install-info_7.1-3build1_armhf.deb ... 763s Unpacking install-info (7.1-3build1) over (7.1-3) ... 763s Setting up install-info (7.1-3build1) ... 764s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 764s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_armhf.deb ... 764s Unpacking gcc-13-base:armhf (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 764s Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 764s Unpacking libss2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 764s Preparing to unpack .../02-dmsetup_2%3a1.02.185-3ubuntu2_armhf.deb ... 764s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 764s Preparing to unpack .../03-eject_2.39.3-9ubuntu2_armhf.deb ... 764s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 764s Preparing to unpack .../04-gir1.2-girepository-2.0_1.79.1-1ubuntu6_armhf.deb ... 764s Unpacking gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 764s Preparing to unpack .../05-gir1.2-glib-2.0_2.79.3-3ubuntu5_armhf.deb ... 764s Unpacking gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 764s Preparing to unpack .../06-libgirepository-1.0-1_1.79.1-1ubuntu6_armhf.deb ... 764s Unpacking libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 764s Preparing to unpack .../07-krb5-locales_1.20.1-5.1build3_all.deb ... 764s Unpacking krb5-locales (1.20.1-5.1build3) over (1.20.1-5build1) ... 764s Preparing to unpack .../08-libbsd0_0.12.1-1_armhf.deb ... 764s Unpacking libbsd0:armhf (0.12.1-1) over (0.11.8-1) ... 764s Preparing to unpack .../09-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 764s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 764s Preparing to unpack .../10-libslang2_2.3.3-3build1_armhf.deb ... 764s Unpacking libslang2:armhf (2.3.3-3build1) over (2.3.3-3) ... 765s Preparing to unpack .../11-locales_2.39-0ubuntu6_all.deb ... 765s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 766s Preparing to unpack .../12-python3-gi_3.47.0-3build1_armhf.deb ... 766s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 767s Preparing to unpack .../13-vim-tiny_2%3a9.1.0016-1ubuntu5_armhf.deb ... 767s Unpacking vim-tiny (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 767s Preparing to unpack .../14-vim-common_2%3a9.1.0016-1ubuntu5_all.deb ... 767s Unpacking vim-common (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 767s Selecting previously unselected package xdg-user-dirs. 767s Preparing to unpack .../15-xdg-user-dirs_0.18-1_armhf.deb ... 767s Unpacking xdg-user-dirs (0.18-1) ... 767s Preparing to unpack .../16-xxd_2%3a9.1.0016-1ubuntu5_armhf.deb ... 767s Unpacking xxd (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 768s Preparing to unpack .../17-apparmor_4.0.0~beta2-0ubuntu3_armhf.deb ... 770s Unpacking apparmor (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 771s Preparing to unpack .../18-ftp_20230507-2build1_all.deb ... 772s Unpacking ftp (20230507-2build1) over (20230507-2) ... 772s Preparing to unpack .../19-inetutils-telnet_2%3a2.5-3ubuntu3_armhf.deb ... 772s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 772s Preparing to unpack .../20-info_7.1-3build1_armhf.deb ... 772s Unpacking info (7.1-3build1) over (7.1-3) ... 772s Preparing to unpack .../21-libxmuu1_2%3a1.1.3-3build1_armhf.deb ... 772s Unpacking libxmuu1:armhf (2:1.1.3-3build1) over (2:1.1.3-3) ... 772s Preparing to unpack .../22-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_armhf.deb ... 772s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 772s Preparing to unpack .../23-mtr-tiny_0.95-1.1build1_armhf.deb ... 772s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 772s Preparing to unpack .../24-plymouth-theme-ubuntu-text_24.004.60-1ubuntu4_armhf.deb ... 772s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 772s Preparing to unpack .../25-plymouth_24.004.60-1ubuntu4_armhf.deb ... 773s Unpacking plymouth (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 773s Preparing to unpack .../26-psmisc_23.7-1_armhf.deb ... 773s Unpacking psmisc (23.7-1) over (23.6-2) ... 774s Preparing to unpack .../27-telnet_0.17+2.5-3ubuntu3_all.deb ... 774s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 774s Preparing to unpack .../28-xz-utils_5.6.0-0.2_armhf.deb ... 774s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 774s Preparing to unpack .../29-bolt_0.9.6-2build1_armhf.deb ... 774s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 774s Preparing to unpack .../30-cryptsetup-bin_2%3a2.7.0-1ubuntu2_armhf.deb ... 774s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 775s Preparing to unpack .../31-dpkg-dev_1.22.6ubuntu2_all.deb ... 775s Unpacking dpkg-dev (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 776s Preparing to unpack .../32-libdpkg-perl_1.22.6ubuntu2_all.deb ... 776s Unpacking libdpkg-perl (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 776s Preparing to unpack .../33-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 776s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 776s Preparing to unpack .../34-ibverbs-providers_50.0-2build1_armhf.deb ... 776s Unpacking ibverbs-providers:armhf (50.0-2build1) over (50.0-2) ... 776s Preparing to unpack .../35-jq_1.7.1-3_armhf.deb ... 776s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 777s Preparing to unpack .../36-libjq1_1.7.1-3_armhf.deb ... 777s Unpacking libjq1:armhf (1.7.1-3) over (1.7.1-2) ... 777s Selecting previously unselected package libatm1t64:armhf. 777s Preparing to unpack .../37-libatm1t64_1%3a2.5.1-5.1_armhf.deb ... 777s Unpacking libatm1t64:armhf (1:2.5.1-5.1) ... 777s Preparing to unpack .../38-libblockdev-crypto3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev-crypto3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../39-libblockdev-loop3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev-loop3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../40-libblockdev-mdraid3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev-mdraid3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../41-libblockdev-part3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev-part3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../42-libblockdev-swap3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev-swap3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../43-libblockdev3_3.1.0-1build1_armhf.deb ... 777s Unpacking libblockdev3:armhf (3.1.0-1build1) over (3.1.0-1) ... 777s Preparing to unpack .../44-libevent-core-2.1-7_2.1.12-stable-9build1_armhf.deb ... 777s Unpacking libevent-core-2.1-7:armhf (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 778s Preparing to unpack .../45-libftdi1-2_1.5-6build4_armhf.deb ... 778s Unpacking libftdi1-2:armhf (1.5-6build4) over (1.5-6build3) ... 778s Preparing to unpack .../46-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 778s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 778s Preparing to unpack .../47-libsasl2-modules_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 778s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 778s Preparing to unpack .../48-python3-lib2to3_3.12.2-3ubuntu2_all.deb ... 778s Unpacking python3-lib2to3 (3.12.2-3ubuntu2) over (3.11.5-1) ... 778s Preparing to unpack .../49-python3-markupsafe_2.1.5-1build1_armhf.deb ... 779s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 779s Preparing to unpack .../50-python3-openssl_24.0.0-2_all.deb ... 779s Unpacking python3-openssl (24.0.0-2) over (23.2.0-1) ... 779s Preparing to unpack .../51-python3-pyrsistent_0.20.0-1build1_armhf.deb ... 779s Unpacking python3-pyrsistent:armhf (0.20.0-1build1) over (0.20.0-1) ... 779s Preparing to unpack .../52-python3-typing-extensions_4.10.0-1_all.deb ... 780s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 780s Preparing to unpack .../53-kpartx_0.9.4-5ubuntu4_armhf.deb ... 780s Unpacking kpartx (0.9.4-5ubuntu4) over (0.9.4-5ubuntu3) ... 780s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 780s Setting up libtext-iconv-perl:armhf (1.7-8build2) ... 780s Setting up libtext-charwidth-perl:armhf (0.04-11build2) ... 780s Setting up libibverbs1:armhf (50.0-2build1) ... 780s Setting up libapparmor1:armhf (4.0.0~beta2-0ubuntu3) ... 780s Setting up libatm1t64:armhf (1:2.5.1-5.1) ... 780s Setting up libgdbm6t64:armhf (1.23-5.1) ... 780s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 780s Setting up libgdbm-compat4t64:armhf (1.23-5.1) ... 780s Setting up xdg-user-dirs (0.18-1) ... 780s Setting up ibverbs-providers:armhf (50.0-2build1) ... 780s Setting up libmagic-mgc (1:5.45-3) ... 780s Setting up gawk (1:5.2.1-2build2) ... 780s Setting up psmisc (23.7-1) ... 780s Setting up libjq1:armhf (1.7.1-3) ... 780s Setting up libtirpc-common (1.3.4+ds-1.1) ... 780s Setting up libbrotli1:armhf (1.1.0-2build1) ... 780s Setting up libsqlite3-0:armhf (3.45.1-1ubuntu1) ... 780s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) ... 780s Setting up libuv1t64:armhf (1.48.0-1.1) ... 780s Setting up libmagic1t64:armhf (1:5.45-3) ... 780s Setting up libpsl5t64:armhf (0.21.2-1.1) ... 780s Setting up libnghttp2-14:armhf (1.59.0-1build1) ... 780s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 780s Setting up systemd-dev (255.4-1ubuntu5) ... 780s Setting up krb5-locales (1.20.1-5.1build3) ... 780s Setting up file (1:5.45-3) ... 780s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 780s Setting up locales (2.39-0ubuntu6) ... 783s Generating locales (this might take a while)... 789s en_US.UTF-8... done 789s Generation complete. 789s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 790s Setting up xxd (2:9.1.0016-1ubuntu5) ... 790s Setting up libelf1t64:armhf (0.190-1.1build2) ... 790s Setting up libkrb5support0:armhf (1.20.1-5.1build3) ... 790s Setting up eject (2.39.3-9ubuntu2) ... 790s Setting up apparmor (4.0.0~beta2-0ubuntu3) ... 790s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 790s Installing new version of config file /etc/apparmor.d/code ... 791s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 791s 791s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 791s 791s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 791s 793s sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory 793s Reloading AppArmor profiles 793s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 793s 793s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 793s 793s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 793s 793s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 793s 794s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 794s 794s Error: At least one profile failed to load 794s Setting up libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 794s No schema files found: doing nothing. 794s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 794s Setting up vim-common (2:9.1.0016-1ubuntu5) ... 794s Setting up gcc-13-base:armhf (13.2.0-19ubuntu1) ... 794s Setting up libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 794s Setting up libslang2:armhf (2.3.3-3build1) ... 794s Setting up libnvme1t64 (1.8-3) ... 794s Setting up mtr-tiny (0.95-1.1build1) ... 794s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 794s Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) ... 794s Setting up libdbus-1-3:armhf (1.14.10-4ubuntu2) ... 794s Setting up xz-utils (5.6.0-0.2) ... 794s Setting up perl-modules-5.38 (5.38.2-3.2) ... 794s Setting up libpng16-16t64:armhf (1.6.43-3) ... 794s Setting up libevent-core-2.1-7:armhf (2.1.12-stable-9build1) ... 794s Setting up libss2:armhf (1.47.0-2.4~exp1ubuntu2) ... 794s Setting up sudo (1.9.15p5-3ubuntu2) ... 795s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 795s Setting up gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 795s Setting up libk5crypto3:armhf (1.20.1-5.1build3) ... 795s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 795s Setting up libfdisk1:armhf (2.39.3-9ubuntu2) ... 795s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 795s Setting up libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) ... 795s Setting up python-apt-common (2.7.6build1) ... 795s Setting up mount (2.39.3-9ubuntu2) ... 795s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 795s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 797s uuidd.service is a disabled or a static unit not running, not starting it. 797s Setting up libmm-glib0:armhf (1.23.4-0ubuntu1) ... 797s Setting up groff-base (1.23.0-3build1) ... 797s Setting up libplymouth5:armhf (24.004.60-1ubuntu4) ... 797s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 797s Setting up jq (1.7.1-3) ... 797s Setting up gpgconf (2.4.4-2ubuntu15) ... 797s Setting up libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 797s Setting up libcryptsetup12:armhf (2:2.7.0-1ubuntu2) ... 797s Setting up libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 797s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 797s Setting up libkrb5-3:armhf (1.20.1-5.1build3) ... 797s Setting up libpython3.11-minimal:armhf (3.11.8-1build3) ... 797s Setting up libusb-1.0-0:armhf (2:1.0.27-1) ... 797s Setting up libperl5.38t64:armhf (5.38.2-3.2) ... 797s Setting up tnftp (20230507-2build1) ... 797s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 797s Setting up libfido2-1:armhf (1.14.0-1build1) ... 797s Setting up openssl (3.0.13-0ubuntu1) ... 797s Setting up libbsd0:armhf (0.12.1-1) ... 798s Setting up readline-common (8.2-3.1) ... 798s Setting up libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) ... 798s Setting up libxmuu1:armhf (2:1.1.3-3build1) ... 798s Setting up dbus-bin (1.14.10-4ubuntu2) ... 798s Setting up info (7.1-3build1) ... 798s Setting up liblocale-gettext-perl (1.07-6ubuntu3) ... 798s Setting up gpg (2.4.4-2ubuntu15) ... 798s Setting up libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 798s Setting up libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 798s Setting up libbpf1:armhf (1:1.3.0-2build1) ... 798s Setting up libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 798s Setting up rsync (3.2.7-1build1) ... 800s rsync.service is a disabled or a static unit not running, not starting it. 800s Setting up libkmod2:armhf (31+20240202-2ubuntu4) ... 800s Setting up bolt (0.9.6-2build1) ... 801s bolt.service is a disabled or a static unit not running, not starting it. 801s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 801s Setting up initramfs-tools-bin (0.142ubuntu22) ... 801s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 801s Setting up python3.11-minimal (3.11.8-1build3) ... 804s Setting up tcpdump (4.99.4-3ubuntu2) ... 805s apparmor_parser: Unable to replace "tcpdump". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 805s 805s Setting up apt-utils (2.7.13ubuntu1) ... 805s Setting up gpg-agent (2.4.4-2ubuntu15) ... 807s Setting up libpython3.12-stdlib:armhf (3.12.2-4build2) ... 807s Setting up wget (1.21.4-1ubuntu2) ... 807s Setting up libxmlb2:armhf (0.3.15-1build1) ... 807s Setting up btrfs-progs (6.6.3-1.1build1) ... 807s Setting up libpython3.11-stdlib:armhf (3.11.8-1build3) ... 807s Setting up python3.12 (3.12.2-4build2) ... 811s Setting up gpgsm (2.4.4-2ubuntu15) ... 811s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 811s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 811s update-initramfs: deferring update (trigger activated) 813s e2scrub_all.service is a disabled or a static unit not running, not starting it. 814s Setting up libparted2t64:armhf (3.6-3.1build2) ... 814s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 814s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 814s Setting up vim-tiny (2:9.1.0016-1ubuntu5) ... 814s Setting up kmod (31+20240202-2ubuntu4) ... 815s Setting up libnetplan1:armhf (1.0-1) ... 815s Setting up man-db (2.12.0-3build4) ... 816s Updating database of manual pages ... 820s apparmor_parser: Unable to replace "/usr/bin/man". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 820s 822s man-db.service is a disabled or a static unit not running, not starting it. 822s Setting up fdisk (2.39.3-9ubuntu2) ... 822s Setting up libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 822s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) ... 822s Setting up libftdi1-2:armhf (1.5-6build4) ... 822s Setting up perl (5.38.2-3.2) ... 822s Setting up gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 822s Setting up dbus (1.14.10-4ubuntu2) ... 822s A reboot is required to replace the running dbus-daemon. 822s Please reboot the system when convenient. 823s Setting up shared-mime-info (2.4-1build1) ... 825s Setting up libblockdev-utils3:armhf (3.1.0-1build1) ... 825s Setting up libgssapi-krb5-2:armhf (1.20.1-5.1build3) ... 825s Setting up libsystemd-shared:armhf (255.4-1ubuntu5) ... 825s Setting up ftp (20230507-2build1) ... 825s Setting up keyboxd (2.4.4-2ubuntu15) ... 825s Setting up libdpkg-perl (1.22.6ubuntu2) ... 825s Setting up libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) ... 825s Setting up libssh-4:armhf (0.10.6-2build1) ... 825s Setting up libblockdev-nvme3:armhf (3.1.0-1build1) ... 825s Setting up libblockdev-fs3:armhf (3.1.0-1build1) ... 825s Setting up libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 825s Setting up libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 825s Setting up libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 825s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) ... 825s Setting up libpython3-stdlib:armhf (3.12.2-0ubuntu1) ... 825s Setting up python3.11 (3.11.8-1build3) ... 828s Setting up telnet (0.17+2.5-3ubuntu3) ... 828s Setting up libblockdev-mdraid3:armhf (3.1.0-1build1) ... 828s Setting up libcurl4t64:armhf (8.5.0-2ubuntu7) ... 828s Setting up bind9-libs:armhf (1:9.18.24-0ubuntu3) ... 828s Setting up libtirpc3t64:armhf (1.3.4+ds-1.1) ... 828s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 828s Setting up libblockdev-swap3:armhf (3.1.0-1build1) ... 828s Setting up iproute2 (6.1.0-1ubuntu5) ... 828s Setting up openssh-client (1:9.6p1-3ubuntu10) ... 828s Setting up libgusb2:armhf (0.4.8-1build1) ... 828s Setting up libblockdev-loop3:armhf (3.1.0-1build1) ... 828s Setting up libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 828s Setting up parted (3.6-3.1build2) ... 829s Setting up libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 829s Setting up python3 (3.12.2-0ubuntu1) ... 829s Setting up systemd (255.4-1ubuntu5) ... 831s Setting up python3-markupsafe (2.1.5-1build1) ... 831s Setting up libblockdev3:armhf (3.1.0-1build1) ... 831s Setting up libjcat1:armhf (0.2.0-2build2) ... 831s Setting up dpkg-dev (1.22.6ubuntu2) ... 831s Setting up libblockdev-part3:armhf (3.1.0-1build1) ... 831s Setting up dirmngr (2.4.4-2ubuntu15) ... 832s Setting up python3-cryptography (41.0.7-4build2) ... 833s Setting up python3-gi (3.47.0-3build1) ... 833s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 835s Setting up udev (255.4-1ubuntu5) ... 837s Setting up python3-typing-extensions (4.10.0-1) ... 837s Setting up lsof (4.95.0-1build2) ... 837s Setting up python3-pyrsistent:armhf (0.20.0-1build1) ... 837s Setting up kpartx (0.9.4-5ubuntu4) ... 837s Setting up libnsl2:armhf (1.3.0-3build2) ... 837s Setting up gnupg (2.4.4-2ubuntu15) ... 837s Setting up python3-netplan (1.0-1) ... 837s Setting up curl (8.5.0-2ubuntu7) ... 837s Setting up libvolume-key1:armhf (0.3.12-7build1) ... 837s Setting up netplan-generator (1.0-1) ... 837s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 837s Setting up initramfs-tools-core (0.142ubuntu22) ... 837s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 837s Setting up python3-lib2to3 (3.12.2-3ubuntu2) ... 838s Setting up systemd-resolved (255.4-1ubuntu5) ... 840s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 841s Setting up openssh-sftp-server (1:9.6p1-3ubuntu10) ... 841s Setting up systemd-sysv (255.4-1ubuntu5) ... 841s Setting up python3-dbus (1.3.2-5build2) ... 841s Setting up initramfs-tools (0.142ubuntu22) ... 841s update-initramfs: deferring update (trigger activated) 842s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 843s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 843s Setting up openssh-server (1:9.6p1-3ubuntu10) ... 844s Replacing config file /etc/ssh/sshd_config with new version 847s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 851s Setting up libblockdev-crypto3:armhf (3.1.0-1build1) ... 851s Setting up python3-gdbm:armhf (3.12.2-3ubuntu2) ... 851s Setting up plymouth (24.004.60-1ubuntu4) ... 851s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 852s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 853s Setting up python3-apt (2.7.6build1) ... 853s Setting up python3-openssl (24.0.0-2) ... 854s Setting up libfwupd2:armhf (1.9.15-1) ... 854s Setting up libnss-systemd:armhf (255.4-1ubuntu5) ... 854s Setting up python3-yaml (6.0.1-2build1) ... 854s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 854s Setting up netplan.io (1.0-1) ... 854s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) ... 855s update-initramfs: deferring update (trigger activated) 855s Setting up libpam-systemd:armhf (255.4-1ubuntu5) ... 855s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 855s Setting up ubuntu-pro-client (31.2) ... 856s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 856s 859s Setting up fwupd (1.9.15-1) ... 861s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 861s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 861s fwupd.service is a disabled or a static unit not running, not starting it. 861s Setting up ubuntu-pro-client-l10n (31.2) ... 861s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 861s Processing triggers for libc-bin (2.39-0ubuntu6) ... 862s Processing triggers for ufw (0.36.2-5) ... 862s Processing triggers for install-info (7.1-3build1) ... 862s Processing triggers for initramfs-tools (0.142ubuntu22) ... 867s Reading package lists... 868s Building dependency tree... 868s Reading state information... 871s The following packages will be REMOVED: 871s libatasmart4* libblockdev-crypto3* libblockdev-fs3* libblockdev-loop3* 871s libblockdev-mdraid3* libblockdev-nvme3* libblockdev-part3* 871s libblockdev-swap3* libblockdev-utils3* libblockdev3* libbytesize-common* 871s libbytesize1* libnspr4* libnss3* libnvme1t64* libpolkit-agent-1-0* 871s libvolume-key1* linux-headers-6.8.0-11* python3-lib2to3* 872s 0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded. 872s After this operation, 89.7 MB disk space will be freed. 872s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47392 files and directories currently installed.) 872s Removing libatasmart4:armhf (0.19-5build2) ... 872s Removing libblockdev-crypto3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-fs3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-loop3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-mdraid3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-nvme3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-part3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-swap3:armhf (3.1.0-1build1) ... 873s Removing libblockdev3:armhf (3.1.0-1build1) ... 873s Removing libblockdev-utils3:armhf (3.1.0-1build1) ... 873s Removing libbytesize1:armhf (2.10-1ubuntu1) ... 873s Removing libbytesize-common (2.10-1ubuntu1) ... 873s Removing libvolume-key1:armhf (0.3.12-7build1) ... 873s Removing libnss3:armhf (2:3.98-1) ... 873s Removing libnspr4:armhf (2:4.35-1.1) ... 874s Removing libnvme1t64 (1.8-3) ... 874s Removing libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 874s Removing linux-headers-6.8.0-11 (6.8.0-11.11) ... 878s Removing python3-lib2to3 (3.12.2-3ubuntu2) ... 878s Processing triggers for libc-bin (2.39-0ubuntu6) ... 879s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27121 files and directories currently installed.) 879s Purging configuration files for libblockdev3:armhf (3.1.0-1build1) ... 882s autopkgtest [01:03:43]: rebooting testbed after setup commands that affected boot 921s autopkgtest [01:04:22]: testbed dpkg architecture: armhf 948s Reading package lists... 949s Building dependency tree... 949s Reading state information... 950s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 950s Starting 2 pkgProblemResolver with broken count: 0 950s Done 951s Done 952s Starting pkgProblemResolver with broken count: 0 953s Starting 2 pkgProblemResolver with broken count: 0 953s Done 955s The following additional packages will be installed: 955s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-nouveau2 955s libdrm-radeon1 libfontenc1 libfreetype6 libgirepository-2.0-0 libgl1 955s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 955s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 955s libunwind8 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 955s libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 955s libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 955s libxshmfence1 libxt6t64 libxxf86vm1 python3-dbusmock python3-packaging 955s x11-common x11-xkb-utils xserver-common xvfb 955s Suggested packages: 955s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 955s Recommended packages: 955s libgl1-amber-dri xdg-desktop-portal xfonts-base 955s The following NEW packages will be installed: 955s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-nouveau2 955s libdrm-radeon1 libfontenc1 libfreetype6 libgirepository-2.0-0 libgl1 955s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 955s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 955s libunwind8 libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 955s libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 955s libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 955s libxshmfence1 libxt6t64 libxxf86vm1 python3-dbusmock python3-packaging 955s x11-common x11-xkb-utils xserver-common xvfb 955s 0 upgraded, 47 newly installed, 0 to remove and 1 not upgraded. 955s 1 not fully installed or removed. 955s Need to get 10.8 MB of archives. 955s After this operation, 37.3 MB of additional disk space will be used. 955s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-x11 armhf 1.14.10-4ubuntu2 [23.0 kB] 955s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf gnome-desktop-testing armhf 2021.1-3build1 [16.1 kB] 955s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf desktop-file-utils armhf 0.27-2 [47.9 kB] 956s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-bin armhf 2.79.3-3ubuntu5 [91.8 kB] 956s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf python3-packaging all 23.2-1 [40.6 kB] 956s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-2.0-0 armhf 2.79.3-3ubuntu5 [98.4 kB] 956s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-dev-bin armhf 2.79.3-3ubuntu5 [221 kB] 956s Get:8 http://ftpmaster.internal/ubuntu noble/universe armhf python3-dbusmock all 0.31.1-1 [85.5 kB] 956s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libglib2.0-tests armhf 2.79.3-3ubuntu5 [2258 kB] 956s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf x11-common all 1:7.7+23ubuntu2 [23.4 kB] 956s Get:11 http://ftpmaster.internal/ubuntu noble/main armhf libice6 armhf 2:1.0.10-1build2 [36.4 kB] 956s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libsm6 armhf 2:1.2.3-1build2 [15.1 kB] 956s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxt6t64 armhf 1:1.2.1-1.2 [145 kB] 956s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmu6 armhf 2:1.1.3-3build1 [40.3 kB] 956s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxpm4 armhf 1:3.5.17-1build1 [30.4 kB] 956s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxaw7 armhf 2:1.0.14-1build1 [153 kB] 956s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libxkbfile1 armhf 1:1.1.0-1build3 [64.2 kB] 956s Get:18 http://ftpmaster.internal/ubuntu noble/main armhf libxrender1 armhf 1:0.9.10-1.1 [16.5 kB] 956s Get:19 http://ftpmaster.internal/ubuntu noble/main armhf libxrandr2 armhf 2:1.5.2-2 [16.4 kB] 956s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf x11-xkb-utils armhf 7.7+8build1 [159 kB] 956s Get:21 http://ftpmaster.internal/ubuntu noble/main armhf xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 956s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf libglvnd0 armhf 1.7.0-1 [83.7 kB] 956s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglapi-mesa armhf 24.0.2-1ubuntu8 [47.6 kB] 956s Get:24 http://ftpmaster.internal/ubuntu noble/main armhf libx11-xcb1 armhf 2:1.8.7-1 [7744 B] 956s Get:25 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri2-0 armhf 1.15-1 [6872 B] 956s Get:26 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri3-0 armhf 1.15-1 [6778 B] 956s Get:27 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-glx0 armhf 1.15-1 [22.6 kB] 956s Get:28 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-present0 armhf 1.15-1 [5526 B] 956s Get:29 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-randr0 armhf 1.15-1 [16.8 kB] 956s Get:30 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-shm0 armhf 1.15-1 [5852 B] 956s Get:31 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-sync1 armhf 1.15-1 [8794 B] 956s Get:32 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xfixes0 armhf 1.15-1 [10.0 kB] 956s Get:33 http://ftpmaster.internal/ubuntu noble/main armhf libxfixes3 armhf 1:6.0.0-2 [8966 B] 956s Get:34 http://ftpmaster.internal/ubuntu noble/main armhf libxshmfence1 armhf 1.3-1build4 [5080 B] 956s Get:35 http://ftpmaster.internal/ubuntu noble/main armhf libxxf86vm1 armhf 1:1.1.4-1build3 [9068 B] 956s Get:36 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-nouveau2 armhf 2.4.120-2 [15.2 kB] 956s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-radeon1 armhf 2.4.120-2 [18.2 kB] 956s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgl1-mesa-dri armhf 24.0.2-1ubuntu8 [5239 kB] 957s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglx-mesa0 armhf 24.0.2-1ubuntu8 [143 kB] 957s Get:40 http://ftpmaster.internal/ubuntu noble/main armhf libglx0 armhf 1.7.0-1 [37.0 kB] 957s Get:41 http://ftpmaster.internal/ubuntu noble/main armhf libgl1 armhf 1.7.0-1 [104 kB] 957s Get:42 http://ftpmaster.internal/ubuntu noble/main armhf libpixman-1-0 armhf 0.42.2-1 [184 kB] 957s Get:43 http://ftpmaster.internal/ubuntu noble/main armhf libunwind8 armhf 1.6.2-3 [49.2 kB] 957s Get:44 http://ftpmaster.internal/ubuntu noble/main armhf libfontenc1 armhf 1:1.1.8-1 [11.5 kB] 957s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfreetype6 armhf 2.13.2+dfsg-1build1 [331 kB] 957s Get:46 http://ftpmaster.internal/ubuntu noble/main armhf libxfont2 armhf 1:2.0.6-1 [80.5 kB] 957s Get:47 http://ftpmaster.internal/ubuntu noble/universe armhf xvfb armhf 2:21.1.11-2ubuntu1 [738 kB] 959s Fetched 10.8 MB in 1s (7445 kB/s) 959s Selecting previously unselected package dbus-x11. 959s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27117 files and directories currently installed.) 959s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu2_armhf.deb ... 959s Unpacking dbus-x11 (1.14.10-4ubuntu2) ... 959s Selecting previously unselected package gnome-desktop-testing. 959s Preparing to unpack .../01-gnome-desktop-testing_2021.1-3build1_armhf.deb ... 959s Unpacking gnome-desktop-testing (2021.1-3build1) ... 959s Selecting previously unselected package desktop-file-utils. 959s Preparing to unpack .../02-desktop-file-utils_0.27-2_armhf.deb ... 959s Unpacking desktop-file-utils (0.27-2) ... 959s Selecting previously unselected package libglib2.0-bin. 959s Preparing to unpack .../03-libglib2.0-bin_2.79.3-3ubuntu5_armhf.deb ... 959s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 959s Selecting previously unselected package python3-packaging. 959s Preparing to unpack .../04-python3-packaging_23.2-1_all.deb ... 959s Unpacking python3-packaging (23.2-1) ... 959s Selecting previously unselected package libgirepository-2.0-0:armhf. 959s Preparing to unpack .../05-libgirepository-2.0-0_2.79.3-3ubuntu5_armhf.deb ... 959s Unpacking libgirepository-2.0-0:armhf (2.79.3-3ubuntu5) ... 959s Selecting previously unselected package libglib2.0-dev-bin. 959s Preparing to unpack .../06-libglib2.0-dev-bin_2.79.3-3ubuntu5_armhf.deb ... 959s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 960s Selecting previously unselected package python3-dbusmock. 960s Preparing to unpack .../07-python3-dbusmock_0.31.1-1_all.deb ... 960s Unpacking python3-dbusmock (0.31.1-1) ... 960s Selecting previously unselected package libglib2.0-tests. 960s Preparing to unpack .../08-libglib2.0-tests_2.79.3-3ubuntu5_armhf.deb ... 960s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 961s Selecting previously unselected package x11-common. 961s Preparing to unpack .../09-x11-common_1%3a7.7+23ubuntu2_all.deb ... 961s Unpacking x11-common (1:7.7+23ubuntu2) ... 961s Selecting previously unselected package libice6:armhf. 961s Preparing to unpack .../10-libice6_2%3a1.0.10-1build2_armhf.deb ... 961s Unpacking libice6:armhf (2:1.0.10-1build2) ... 961s Selecting previously unselected package libsm6:armhf. 961s Preparing to unpack .../11-libsm6_2%3a1.2.3-1build2_armhf.deb ... 961s Unpacking libsm6:armhf (2:1.2.3-1build2) ... 961s Selecting previously unselected package libxt6t64:armhf. 961s Preparing to unpack .../12-libxt6t64_1%3a1.2.1-1.2_armhf.deb ... 961s Unpacking libxt6t64:armhf (1:1.2.1-1.2) ... 961s Selecting previously unselected package libxmu6:armhf. 961s Preparing to unpack .../13-libxmu6_2%3a1.1.3-3build1_armhf.deb ... 961s Unpacking libxmu6:armhf (2:1.1.3-3build1) ... 962s Selecting previously unselected package libxpm4:armhf. 962s Preparing to unpack .../14-libxpm4_1%3a3.5.17-1build1_armhf.deb ... 962s Unpacking libxpm4:armhf (1:3.5.17-1build1) ... 962s Selecting previously unselected package libxaw7:armhf. 962s Preparing to unpack .../15-libxaw7_2%3a1.0.14-1build1_armhf.deb ... 962s Unpacking libxaw7:armhf (2:1.0.14-1build1) ... 962s Selecting previously unselected package libxkbfile1:armhf. 962s Preparing to unpack .../16-libxkbfile1_1%3a1.1.0-1build3_armhf.deb ... 962s Unpacking libxkbfile1:armhf (1:1.1.0-1build3) ... 962s Selecting previously unselected package libxrender1:armhf. 962s Preparing to unpack .../17-libxrender1_1%3a0.9.10-1.1_armhf.deb ... 962s Unpacking libxrender1:armhf (1:0.9.10-1.1) ... 962s Selecting previously unselected package libxrandr2:armhf. 962s Preparing to unpack .../18-libxrandr2_2%3a1.5.2-2_armhf.deb ... 962s Unpacking libxrandr2:armhf (2:1.5.2-2) ... 962s Selecting previously unselected package x11-xkb-utils. 962s Preparing to unpack .../19-x11-xkb-utils_7.7+8build1_armhf.deb ... 962s Unpacking x11-xkb-utils (7.7+8build1) ... 962s Selecting previously unselected package xserver-common. 962s Preparing to unpack .../20-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 962s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 962s Selecting previously unselected package libglvnd0:armhf. 963s Preparing to unpack .../21-libglvnd0_1.7.0-1_armhf.deb ... 963s Unpacking libglvnd0:armhf (1.7.0-1) ... 963s Selecting previously unselected package libglapi-mesa:armhf. 963s Preparing to unpack .../22-libglapi-mesa_24.0.2-1ubuntu8_armhf.deb ... 963s Unpacking libglapi-mesa:armhf (24.0.2-1ubuntu8) ... 963s Selecting previously unselected package libx11-xcb1:armhf. 963s Preparing to unpack .../23-libx11-xcb1_2%3a1.8.7-1_armhf.deb ... 963s Unpacking libx11-xcb1:armhf (2:1.8.7-1) ... 963s Selecting previously unselected package libxcb-dri2-0:armhf. 963s Preparing to unpack .../24-libxcb-dri2-0_1.15-1_armhf.deb ... 963s Unpacking libxcb-dri2-0:armhf (1.15-1) ... 963s Selecting previously unselected package libxcb-dri3-0:armhf. 963s Preparing to unpack .../25-libxcb-dri3-0_1.15-1_armhf.deb ... 963s Unpacking libxcb-dri3-0:armhf (1.15-1) ... 963s Selecting previously unselected package libxcb-glx0:armhf. 963s Preparing to unpack .../26-libxcb-glx0_1.15-1_armhf.deb ... 963s Unpacking libxcb-glx0:armhf (1.15-1) ... 963s Selecting previously unselected package libxcb-present0:armhf. 963s Preparing to unpack .../27-libxcb-present0_1.15-1_armhf.deb ... 963s Unpacking libxcb-present0:armhf (1.15-1) ... 963s Selecting previously unselected package libxcb-randr0:armhf. 964s Preparing to unpack .../28-libxcb-randr0_1.15-1_armhf.deb ... 964s Unpacking libxcb-randr0:armhf (1.15-1) ... 964s Selecting previously unselected package libxcb-shm0:armhf. 964s Preparing to unpack .../29-libxcb-shm0_1.15-1_armhf.deb ... 964s Unpacking libxcb-shm0:armhf (1.15-1) ... 964s Selecting previously unselected package libxcb-sync1:armhf. 964s Preparing to unpack .../30-libxcb-sync1_1.15-1_armhf.deb ... 964s Unpacking libxcb-sync1:armhf (1.15-1) ... 964s Selecting previously unselected package libxcb-xfixes0:armhf. 964s Preparing to unpack .../31-libxcb-xfixes0_1.15-1_armhf.deb ... 964s Unpacking libxcb-xfixes0:armhf (1.15-1) ... 964s Selecting previously unselected package libxfixes3:armhf. 964s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2_armhf.deb ... 964s Unpacking libxfixes3:armhf (1:6.0.0-2) ... 964s Selecting previously unselected package libxshmfence1:armhf. 964s Preparing to unpack .../33-libxshmfence1_1.3-1build4_armhf.deb ... 964s Unpacking libxshmfence1:armhf (1.3-1build4) ... 964s Selecting previously unselected package libxxf86vm1:armhf. 964s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build3_armhf.deb ... 964s Unpacking libxxf86vm1:armhf (1:1.1.4-1build3) ... 965s Selecting previously unselected package libdrm-nouveau2:armhf. 965s Preparing to unpack .../35-libdrm-nouveau2_2.4.120-2_armhf.deb ... 965s Unpacking libdrm-nouveau2:armhf (2.4.120-2) ... 965s Selecting previously unselected package libdrm-radeon1:armhf. 965s Preparing to unpack .../36-libdrm-radeon1_2.4.120-2_armhf.deb ... 965s Unpacking libdrm-radeon1:armhf (2.4.120-2) ... 965s Selecting previously unselected package libgl1-mesa-dri:armhf. 965s Preparing to unpack .../37-libgl1-mesa-dri_24.0.2-1ubuntu8_armhf.deb ... 965s Unpacking libgl1-mesa-dri:armhf (24.0.2-1ubuntu8) ... 966s Selecting previously unselected package libglx-mesa0:armhf. 966s Preparing to unpack .../38-libglx-mesa0_24.0.2-1ubuntu8_armhf.deb ... 966s Unpacking libglx-mesa0:armhf (24.0.2-1ubuntu8) ... 966s Selecting previously unselected package libglx0:armhf. 966s Preparing to unpack .../39-libglx0_1.7.0-1_armhf.deb ... 966s Unpacking libglx0:armhf (1.7.0-1) ... 966s Selecting previously unselected package libgl1:armhf. 966s Preparing to unpack .../40-libgl1_1.7.0-1_armhf.deb ... 966s Unpacking libgl1:armhf (1.7.0-1) ... 966s Selecting previously unselected package libpixman-1-0:armhf. 966s Preparing to unpack .../41-libpixman-1-0_0.42.2-1_armhf.deb ... 966s Unpacking libpixman-1-0:armhf (0.42.2-1) ... 966s Selecting previously unselected package libunwind8:armhf. 966s Preparing to unpack .../42-libunwind8_1.6.2-3_armhf.deb ... 966s Unpacking libunwind8:armhf (1.6.2-3) ... 966s Selecting previously unselected package libfontenc1:armhf. 966s Preparing to unpack .../43-libfontenc1_1%3a1.1.8-1_armhf.deb ... 966s Unpacking libfontenc1:armhf (1:1.1.8-1) ... 966s Selecting previously unselected package libfreetype6:armhf. 966s Preparing to unpack .../44-libfreetype6_2.13.2+dfsg-1build1_armhf.deb ... 966s Unpacking libfreetype6:armhf (2.13.2+dfsg-1build1) ... 967s Selecting previously unselected package libxfont2:armhf. 967s Preparing to unpack .../45-libxfont2_1%3a2.0.6-1_armhf.deb ... 967s Unpacking libxfont2:armhf (1:2.0.6-1) ... 967s Selecting previously unselected package xvfb. 967s Preparing to unpack .../46-xvfb_2%3a21.1.11-2ubuntu1_armhf.deb ... 967s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 967s Setting up gnome-desktop-testing (2021.1-3build1) ... 967s Setting up libxcb-dri3-0:armhf (1.15-1) ... 967s Setting up libpixman-1-0:armhf (0.42.2-1) ... 967s Setting up libx11-xcb1:armhf (2:1.8.7-1) ... 967s Setting up libdrm-nouveau2:armhf (2.4.120-2) ... 967s Setting up libxcb-xfixes0:armhf (1.15-1) ... 967s Setting up desktop-file-utils (0.27-2) ... 967s Setting up libxpm4:armhf (1:3.5.17-1build1) ... 967s Setting up libxrender1:armhf (1:0.9.10-1.1) ... 967s Setting up libgirepository-2.0-0:armhf (2.79.3-3ubuntu5) ... 967s Setting up libdrm-radeon1:armhf (2.4.120-2) ... 967s Setting up libglvnd0:armhf (1.7.0-1) ... 967s Setting up libxcb-glx0:armhf (1.15-1) ... 967s Setting up x11-common (1:7.7+23ubuntu2) ... 969s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 969s Setting up libxcb-shm0:armhf (1.15-1) ... 969s Setting up libunwind8:armhf (1.6.2-3) ... 969s Setting up libxxf86vm1:armhf (1:1.1.4-1build3) ... 969s Setting up libxcb-present0:armhf (1.15-1) ... 969s Setting up libfontenc1:armhf (1:1.1.8-1) ... 969s Setting up python3-packaging (23.2-1) ... 969s Setting up libfreetype6:armhf (2.13.2+dfsg-1build1) ... 969s Setting up libxfixes3:armhf (1:6.0.0-2) ... 969s Setting up libxcb-sync1:armhf (1.15-1) ... 969s Setting up libxrandr2:armhf (2:1.5.2-2) ... 969s Setting up libglapi-mesa:armhf (24.0.2-1ubuntu8) ... 969s Setting up libxcb-dri2-0:armhf (1.15-1) ... 969s Setting up libxshmfence1:armhf (1.3-1build4) ... 969s Setting up dbus-x11 (1.14.10-4ubuntu2) ... 969s Setting up libxcb-randr0:armhf (1.15-1) ... 969s Setting up libxkbfile1:armhf (1:1.1.0-1build3) ... 969s Setting up libxfont2:armhf (1:2.0.6-1) ... 969s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 970s Setting up libice6:armhf (2:1.0.10-1build2) ... 970s Setting up libgl1-mesa-dri:armhf (24.0.2-1ubuntu8) ... 970s Setting up python3-dbusmock (0.31.1-1) ... 971s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 972s Setting up libsm6:armhf (2:1.2.3-1build2) ... 972s Setting up libglx-mesa0:armhf (24.0.2-1ubuntu8) ... 972s Setting up libglx0:armhf (1.7.0-1) ... 972s Setting up libgl1:armhf (1.7.0-1) ... 972s Setting up libxt6t64:armhf (1:1.2.1-1.2) ... 972s Setting up libxmu6:armhf (2:1.1.3-3build1) ... 972s Setting up libxaw7:armhf (2:1.0.14-1build1) ... 972s Setting up x11-xkb-utils (7.7+8build1) ... 972s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 972s Setting up xvfb (2:21.1.11-2ubuntu1) ... 972s Setting up autopkgtest-satdep (0) ... 972s Processing triggers for man-db (2.12.0-3build4) ... 973s Processing triggers for libc-bin (2.39-0ubuntu6) ... 996s (Reading database ... 28585 files and directories currently installed.) 996s Removing autopkgtest-satdep (0) ... 1014s autopkgtest [01:05:55]: test installed-tests: [----------------------- 1017s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1017s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1017s group entry: ubuntu:x:1000: 1017s Environment: 1017s ADTTMP=/tmp/autopkgtest.31oWYP/autopkgtest_tmp 1017s ADT_ARTIFACTS=/tmp/autopkgtest.31oWYP/installed-tests-artifacts 1017s ADT_TEST_TRIGGERS=glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1 1017s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.31oWYP/installed-tests-artifacts 1017s AUTOPKGTEST_TMP=/tmp/autopkgtest.31oWYP/autopkgtest_tmp 1017s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 1017s DEBIAN_FRONTEND=noninteractive 1017s DEB_BUILD_OPTIONS=parallel=8 1017s GIO_USE_VFS=local 1017s GIO_USE_VOLUME_MONITOR=unix 1017s HOME=/home/ubuntu 1017s LANG=C.UTF-8 1017s LOGNAME=ubuntu 1017s MAIL=/var/mail/ubuntu 1017s OLDPWD=/root 1017s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1017s PWD=/tmp/autopkgtest.31oWYP/build.RKw/src 1017s SHELL=/bin/bash 1017s SHLVL=2 1017s USER=ubuntu 1017s XDG_RUNTIME_DIR=/tmp/autopkgtest.31oWYP/autopkgtest_tmp 1017s XDG_SESSION_CLASS=background 1017s XDG_SESSION_ID=c1 1017s XDG_SESSION_TYPE=unspecified 1017s _=/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests 1017s http_proxy=http://squid.internal:3128 1017s https_proxy=http://squid.internal:3128 1017s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1017s run-with-locales: de_DE=ISO-8859-1... 1017s Character set: ISO-8859-1 1017s Source file: de_DE 1017s Output: /tmp/tmp.bbiI1gV390/de_DE 1019s run-with-locales: de_DE.utf8... 1019s Character set: UTF-8 1019s Source file: de_DE 1019s Output: /tmp/tmp.bbiI1gV390/de_DE.utf8 1027s run-with-locales: de_DE@euro.utf8... 1027s Character set: UTF-8 1027s Source file: de_DE@euro 1027s Output: /tmp/tmp.bbiI1gV390/de_DE@euro.utf8 1035s run-with-locales: el_GR.utf8... 1035s Character set: UTF-8 1035s Source file: el_GR 1035s Output: /tmp/tmp.bbiI1gV390/el_GR.utf8 1043s run-with-locales: en_GB=ISO-8859-1... 1043s Character set: ISO-8859-1 1043s Source file: en_GB 1043s Output: /tmp/tmp.bbiI1gV390/en_GB 1045s run-with-locales: en_GB.utf8... 1045s Character set: UTF-8 1045s Source file: en_GB 1045s Output: /tmp/tmp.bbiI1gV390/en_GB.utf8 1054s run-with-locales: en_US=ISO-8859-1... 1054s Character set: ISO-8859-1 1054s Source file: en_US 1054s Output: /tmp/tmp.bbiI1gV390/en_US 1055s run-with-locales: en_US.utf8... 1055s Character set: UTF-8 1055s Source file: en_US 1055s Output: /tmp/tmp.bbiI1gV390/en_US.utf8 1064s run-with-locales: es_ES.utf8... 1064s Character set: UTF-8 1064s Source file: es_ES 1064s Output: /tmp/tmp.bbiI1gV390/es_ES.utf8 1072s run-with-locales: fa_IR=UTF-8... 1072s Character set: UTF-8 1072s Source file: fa_IR 1072s Output: /tmp/tmp.bbiI1gV390/fa_IR 1079s run-with-locales: fa_IR.utf8... 1079s Character set: UTF-8 1079s Source file: fa_IR 1079s Output: /tmp/tmp.bbiI1gV390/fa_IR.utf8 1087s run-with-locales: fr_FR.utf8... 1087s Character set: UTF-8 1087s Source file: fr_FR 1087s Output: /tmp/tmp.bbiI1gV390/fr_FR.utf8 1096s run-with-locales: hr_HR.utf8... 1096s Character set: UTF-8 1096s Source file: hr_HR 1096s Output: /tmp/tmp.bbiI1gV390/hr_HR.utf8 1104s run-with-locales: ja_JP.utf8... 1104s Character set: UTF-8 1104s Source file: ja_JP 1104s Output: /tmp/tmp.bbiI1gV390/ja_JP.utf8 1106s run-with-locales: ja_JP.EUC-JP... 1106s Character set: EUC-JP 1106s Source file: ja_JP 1106s Output: /tmp/tmp.bbiI1gV390/ja_JP.eucjp 1108s run-with-locales: lt_LT.utf8... 1108s Character set: UTF-8 1108s Source file: lt_LT 1108s Output: /tmp/tmp.bbiI1gV390/lt_LT.utf8 1115s run-with-locales: pl_PL=ISO-8859-2... 1115s Character set: ISO-8859-2 1115s Source file: pl_PL 1115s Output: /tmp/tmp.bbiI1gV390/pl_PL 1117s run-with-locales: pl_PL.ISO-8859-2... 1117s Character set: ISO-8859-2 1117s Source file: pl_PL 1117s Output: /tmp/tmp.bbiI1gV390/pl_PL.iso88592 1118s run-with-locales: pl_PL.utf8... 1118s Character set: UTF-8 1118s Source file: pl_PL 1118s Output: /tmp/tmp.bbiI1gV390/pl_PL.utf8 1127s run-with-locales: ru_RU=ISO-8859-5... 1127s Character set: ISO-8859-5 1127s Source file: ru_RU 1127s Output: /tmp/tmp.bbiI1gV390/ru_RU 1128s run-with-locales: ru_RU.utf8... 1128s Character set: UTF-8 1128s Source file: ru_RU 1128s Output: /tmp/tmp.bbiI1gV390/ru_RU.utf8 1136s run-with-locales: sr_RS=UTF-8... 1136s Character set: UTF-8 1136s Source file: sr_RS 1136s Output: /tmp/tmp.bbiI1gV390/sr_RS 1144s run-with-locales: sr_RS@latin=UTF-8... 1144s Character set: UTF-8 1144s Source file: sr_RS@latin 1144s Output: /tmp/tmp.bbiI1gV390/sr_RS@latin 1153s run-with-locales: sv_SE=ISO-8859-1... 1153s Character set: ISO-8859-1 1153s Source file: sv_SE 1153s Output: /tmp/tmp.bbiI1gV390/sv_SE 1154s run-with-locales: sv_SE.utf8... 1154s Character set: UTF-8 1154s Source file: sv_SE 1154s Output: /tmp/tmp.bbiI1gV390/sv_SE.utf8 1163s run-with-locales: tr_TR=ISO-8859-9... 1163s Character set: ISO-8859-9 1163s Source file: tr_TR 1163s Output: /tmp/tmp.bbiI1gV390/tr_TR 1164s run-with-locales: tr_TR.utf8... 1164s Character set: UTF-8 1164s Source file: tr_TR 1164s Output: /tmp/tmp.bbiI1gV390/tr_TR.utf8 1174s run-with-locales: tt_RU=UTF-8... 1174s Character set: UTF-8 1174s Source file: tt_RU 1174s Output: /tmp/tmp.bbiI1gV390/tt_RU 1184s run-with-locales: tt_RU.utf8... 1184s Character set: UTF-8 1184s Source file: tt_RU 1184s Output: /tmp/tmp.bbiI1gV390/tt_RU.utf8 1195s run-with-locales: tt_RU@iqtelif=UTF-8... 1195s Character set: UTF-8 1195s Source file: tt_RU@iqtelif 1195s Output: /tmp/tmp.bbiI1gV390/tt_RU@iqtelif 1203s /tmp/tmp.bbiI1gV390 1203s /tmp/tmp.bbiI1gV390/de_DE 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_TIME 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_NAME 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/de_DE/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/de_DE.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/de_DE@euro.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/el_GR.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/en_GB 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_TIME 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_NAME 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/en_GB/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/en_GB.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/en_US 1203s /tmp/tmp.bbiI1gV390/en_US/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/en_US/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/en_US/LC_TIME 1203s /tmp/tmp.bbiI1gV390/en_US/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/en_US/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/en_US/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_US/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/en_US/LC_NAME 1203s /tmp/tmp.bbiI1gV390/en_US/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/en_US/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/en_US/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/en_US/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/en_US.utf8 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/en_US.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/es_ES.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/fa_IR 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_TIME 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_NAME 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/fa_IR/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/fa_IR.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/fr_FR.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/hr_HR.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/ja_JP.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_TIME 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_NAME 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/ja_JP.eucjp/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/lt_LT.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/pl_PL 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_TIME 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_NAME 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/pl_PL/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_TIME 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_NAME 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/pl_PL.iso88592/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/pl_PL.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/ru_RU 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_TIME 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_NAME 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/ru_RU/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/ru_RU.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/sr_RS 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_TIME 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_NAME 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/sr_RS/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_TIME 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_NAME 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/sr_RS@latin/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/sv_SE 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_TIME 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_NAME 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/sv_SE/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/sv_SE.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/tr_TR 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_TIME 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_NAME 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/tr_TR/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/tr_TR.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/tt_RU 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_TIME 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_NAME 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/tt_RU/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_TIME 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_NAME 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/tt_RU.utf8/LC_IDENTIFICATION 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_CTYPE 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_NUMERIC 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_TIME 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_COLLATE 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_MONETARY 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_PAPER 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_NAME 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_ADDRESS 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_TELEPHONE 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_MEASUREMENT 1203s /tmp/tmp.bbiI1gV390/tt_RU@iqtelif/LC_IDENTIFICATION 1203s 1..316 1203s # Running test: glib/contenttype.test 1203s TAP version 13 1203s # random seed: R02Scb6a42fd5c6530cabbfe96a739ee8686 1203s 1..13 1204s # Start of contenttype tests 1204s ok 1 /contenttype/guess 1204s ok 2 /contenttype/guess_svg_from_data 1204s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1204s ok 4 /contenttype/unknown 1204s ok 5 /contenttype/subtype 1204s ok 6 /contenttype/list 1204s ok 7 /contenttype/executable 1204s ok 8 /contenttype/description 1204s ok 9 /contenttype/icon 1204s ok 10 /contenttype/symbolic-icon 1204s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1204s ok 11 /contenttype/tree 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1204s ok 12 /contenttype/tree_invalid_encoding 1204s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1204s ok 13 /contenttype/test_type_is_a_special_case 1204s # End of contenttype tests 1204s ok - glib/contenttype.test 1204s # Running test: glib/dynamictype.test 1204s TAP version 13 1204s # random seed: R02S56bd586387b6f7df3cb4a9e476280db1 1204s 1..2 1204s # Start of gobject tests 1204s ok 1 /gobject/dynamic-type 1204s # Start of dynamic-type tests 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1204s ok 2 /gobject/dynamic-type/query 1204s # End of dynamic-type tests 1204s # End of gobject tests 1204s ok - glib/dynamictype.test 1204s # Running test: glib/codegen.py.test 1204s TAP version 13 1204s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1204s # tmpdir: /tmp/tmpq74sdp53 1204s # codegen: /usr/bin/gdbus-codegen 1204s # /tmp/tmpq74sdp53/tmpe6kl_4s0.xml: 1204s # 1204s # 1204s # 1204s # 1204s # 1204s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq74sdp53/tmpe6kl_4s0.xml', '--output', '-', '--header'] 1204s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # Output: /* 1204s # * This file is generated by gdbus-codegen, do not modify it. 1204s # * 1204s # * The license of this code is the same as for the D-Bus interface description 1204s # * it was derived from. Note that it links to GLib, so must comply with the 1204s # * LGPL linking clauses. 1204s # */ 1204s # 1204s # #ifndef __STDOUT__ 1204s # #define __STDOUT__ 1204s # 1204s # #include 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # 1204s # /* ------------------------------------------------------------------------ */ 1204s # /* Declarations for org.project.UsefulInterface */ 1204s # 1204s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1204s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1204s # 1204s # struct _OrgProjectUsefulInterface; 1204s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1204s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1204s # 1204s # struct _OrgProjectUsefulInterfaceIface 1204s # { 1204s # GTypeInterface parent_iface; 1204s # 1204s # gboolean (*handle_useful_method) ( 1204s # OrgProjectUsefulInterface *object, 1204s # GDBusMethodInvocation *invocation); 1204s # 1204s # }; 1204s # 1204s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1204s # 1204s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1204s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1204s # 1204s # 1204s # /* D-Bus method call completion functions: */ 1204s # void org_project_useful_interface_complete_useful_method ( 1204s # OrgProjectUsefulInterface *object, 1204s # GDBusMethodInvocation *invocation); 1204s # 1204s # 1204s # 1204s # /* D-Bus method calls: */ 1204s # void org_project_useful_interface_call_useful_method ( 1204s # OrgProjectUsefulInterface *proxy, 1204s # GCancellable *cancellable, 1204s # GAsyncReadyCallback callback, 1204s # gpointer user_data); 1204s # 1204s # gboolean org_project_useful_interface_call_useful_method_finish ( 1204s # OrgProjectUsefulInterface *proxy, 1204s # GAsyncResult *res, 1204s # GError **error); 1204s # 1204s # gboolean org_project_useful_interface_call_useful_method_sync ( 1204s # OrgProjectUsefulInterface *proxy, 1204s # GCancellable *cancellable, 1204s # GError **error); 1204s # 1204s # 1204s # 1204s # /* ---- */ 1204s # 1204s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1204s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1204s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1204s # 1204s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1204s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1204s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1204s # 1204s # struct _OrgProjectUsefulInterfaceProxy 1204s # { 1204s # /*< private >*/ 1204s # GDBusProxy parent_instance; 1204s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1204s # }; 1204s # 1204s # struct _OrgProjectUsefulInterfaceProxyClass 1204s # { 1204s # GDBusProxyClass parent_class; 1204s # }; 1204s # 1204s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1204s # 1204s # #if GLIB_CHECK_VERSION(2, 44, 0) 1204s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1204s # #endif 1204s # 1204s # void org_project_useful_interface_proxy_new ( 1204s # GDBusConnection *connection, 1204s # GDBusProxyFlags flags, 1204s # const gchar *name, 1204s # const gchar *object_path, 1204s # GCancellable *cancellable, 1204s # GAsyncReadyCallback callback, 1204s # gpointer user_data); 1204s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1204s # GAsyncResult *res, 1204s # GError **error); 1204s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1204s # GDBusConnection *connection, 1204s # GDBusProxyFlags flags, 1204s # const gchar *name, 1204s # const gchar *object_path, 1204s # GCancellable *cancellable, 1204s # GError **error); 1204s # 1204s # void org_project_useful_interface_proxy_new_for_bus ( 1204s # GBusType bus_type, 1204s # GDBusProxyFlags flags, 1204s # const gchar *name, 1204s # const gchar *object_path, 1204s # GCancellable *cancellable, 1204s # GAsyncReadyCallback callback, 1204s # gpointer user_data); 1204s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1204s # GAsyncResult *res, 1204s # GError **error); 1204s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1204s # GBusType bus_type, 1204s # GDBusProxyFlags flags, 1204s # const gchar *name, 1204s # const gchar *object_path, 1204s # GCancellable *cancellable, 1204s # GError **error); 1204s # 1204s # 1204s # /* ---- */ 1204s # 1204s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1204s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1204s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1204s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1204s # 1204s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1204s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1204s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1204s # 1204s # struct _OrgProjectUsefulInterfaceSkeleton 1204s # { 1204s # /*< private >*/ 1204s # GDBusInterfaceSkeleton parent_instance; 1204s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1204s # }; 1204s # 1204s # struct _OrgProjectUsefulInterfaceSkeletonClass 1204s # { 1204s # GDBusInterfaceSkeletonClass parent_class; 1204s # }; 1204s # 1204s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1204s # 1204s # #if GLIB_CHECK_VERSION(2, 44, 0) 1204s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1204s # #endif 1204s # 1204s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __STDOUT__ */ 1204s # /tmp/tmpq74sdp53/tmpm12nka2k.xml: 1204s # 1204s # 1204s # 1204s # 1204s # 1204s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq74sdp53/tmpm12nka2k.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1204s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # Output: /* 1204s # * This file is generated by gdbus-codegen, do not modify it. 1204s # * 1204s # * The license of this code is the same as for the D-Bus interface description 1205s # * it was derived from. Note that it links to GLib, so must comply with the 1205s # * LGPL linking clauses. 1205s # */ 1205s # 1205s # #ifndef __STDOUT__ 1205s # #define __STDOUT__ 1205s # 1205s # #include 1205s # 1205s # G_BEGIN_DECLS 1205s # 1205s # 1205s # /* ------------------------------------------------------------------------ */ 1205s # /* Declarations for org.project.UsefulInterface */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1205s # 1205s # struct _OrgProjectUsefulInterface; 1205s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1205s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1205s # 1205s # struct _OrgProjectUsefulInterfaceIface 1205s # { 1205s # GTypeInterface parent_iface; 1205s # 1205s # gboolean (*handle_useful_method) ( 1205s # OrgProjectUsefulInterface *object, 1205s # GDBusMethodInvocation *invocation); 1205s # 1205s # }; 1205s # 1205s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1205s # 1205s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1205s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1205s # 1205s # 1205s # /* D-Bus method call completion functions: */ 1205s # void org_project_useful_interface_complete_useful_method ( 1205s # OrgProjectUsefulInterface *object, 1205s # GDBusMethodInvocation *invocation); 1205s # 1205s # 1205s # 1205s # /* D-Bus method calls: */ 1205s # void org_project_useful_interface_call_useful_method ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # 1205s # gboolean org_project_useful_interface_call_useful_method_finish ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # 1205s # gboolean org_project_useful_interface_call_useful_method_sync ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # 1205s # 1205s # /* ---- */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1205s # 1205s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1205s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1205s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1205s # 1205s # struct _OrgProjectUsefulInterfaceProxy 1205s # { 1205s # /*< private >*/ 1205s # GDBusProxy parent_instance; 1205s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1205s # }; 1205s # 1205s # struct _OrgProjectUsefulInterfaceProxyClass 1205s # { 1205s # GDBusProxyClass parent_class; 1205s # }; 1205s # 1205s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1205s # 1205s # #if GLIB_CHECK_VERSION(2, 44, 0) 1205s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1205s # #endif 1205s # 1205s # void org_project_useful_interface_proxy_new ( 1205s # GDBusConnection *connection, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1205s # GDBusConnection *connection, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # void org_project_useful_interface_proxy_new_for_bus ( 1205s # GBusType bus_type, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1205s # GBusType bus_type, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # 1205s # /* ---- */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1205s # 1205s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1205s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1205s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1205s # 1205s # struct _OrgProjectUsefulInterfaceSkeleton 1205s # { 1205s # /*< private >*/ 1205s # GDBusInterfaceSkeleton parent_instance; 1205s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1205s # }; 1205s # 1205s # struct _OrgProjectUsefulInterfaceSkeletonClass 1205s # { 1205s # GDBusInterfaceSkeletonClass parent_class; 1205s # }; 1205s # 1205s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1205s # 1205s # #if GLIB_CHECK_VERSION(2, 44, 0) 1205s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1205s # #endif 1205s # 1205s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1205s # 1205s # 1205s # G_END_DECLS 1205s # 1205s # #endif /* __STDOUT__ */ 1205s # /tmp/tmpq74sdp53/tmpxl5pse9l.xml: 1205s # 1205s # 1205s # 1205s # 1205s # 1205s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq74sdp53/tmpxl5pse9l.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1205s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1205s # Output: /* 1205s # * This file is generated by gdbus-codegen, do not modify it. 1205s # * 1205s # * The license of this code is the same as for the D-Bus interface description 1205s # * it was derived from. Note that it links to GLib, so must comply with the 1205s # * LGPL linking clauses. 1205s # */ 1205s # 1205s # #ifndef __STDOUT__ 1205s # #define __STDOUT__ 1205s # 1205s # #include 1205s # 1205s # G_BEGIN_DECLS 1205s # 1205s # 1205s # /* ------------------------------------------------------------------------ */ 1205s # /* Declarations for org.project.UsefulInterface */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1205s # 1205s # struct _OrgProjectUsefulInterface; 1205s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1205s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1205s # 1205s # struct _OrgProjectUsefulInterfaceIface 1205s # { 1205s # GTypeInterface parent_iface; 1205s # 1205s # gboolean (*handle_useful_method) ( 1205s # OrgProjectUsefulInterface *object, 1205s # GDBusMethodInvocation *invocation); 1205s # 1205s # }; 1205s # 1205s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1205s # 1205s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1205s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1205s # 1205s # 1205s # /* D-Bus method call completion functions: */ 1205s # void org_project_useful_interface_complete_useful_method ( 1205s # OrgProjectUsefulInterface *object, 1205s # GDBusMethodInvocation *invocation); 1205s # 1205s # 1205s # 1205s # /* D-Bus method calls: */ 1205s # void org_project_useful_interface_call_useful_method ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GDBusCallFlags call_flags, 1205s # gint timeout_msec, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # 1205s # gboolean org_project_useful_interface_call_useful_method_finish ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # 1205s # gboolean org_project_useful_interface_call_useful_method_sync ( 1205s # OrgProjectUsefulInterface *proxy, 1205s # GDBusCallFlags call_flags, 1205s # gint timeout_msec, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # 1205s # 1205s # /* ---- */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1205s # 1205s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1205s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1205s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1205s # 1205s # struct _OrgProjectUsefulInterfaceProxy 1205s # { 1205s # /*< private >*/ 1205s # GDBusProxy parent_instance; 1205s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1205s # }; 1205s # 1205s # struct _OrgProjectUsefulInterfaceProxyClass 1205s # { 1205s # GDBusProxyClass parent_class; 1205s # }; 1205s # 1205s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1205s # 1205s # #if GLIB_CHECK_VERSION(2, 44, 0) 1205s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1205s # #endif 1205s # 1205s # void org_project_useful_interface_proxy_new ( 1205s # GDBusConnection *connection, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1205s # GDBusConnection *connection, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # void org_project_useful_interface_proxy_new_for_bus ( 1205s # GBusType bus_type, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GAsyncReadyCallback callback, 1205s # gpointer user_data); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1205s # GAsyncResult *res, 1205s # GError **error); 1205s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1205s # GBusType bus_type, 1205s # GDBusProxyFlags flags, 1205s # const gchar *name, 1205s # const gchar *object_path, 1205s # GCancellable *cancellable, 1205s # GError **error); 1205s # 1205s # 1205s # /* ---- */ 1205s # 1205s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1205s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1205s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1205s # 1205s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1205s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1205s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1205s # 1205s # struct _OrgProjectUsefulInterfaceSkeleton 1205s # { 1205s # /*< private >*/ 1205s # GDBusInterfaceSkeleton parent_instance; 1205s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1205s # }; 1205s # 1205s # struct _OrgProjectUsefulInterfaceSkeletonClass 1205s # { 1205s # GDBusInterfaceSkeletonClass parent_class; 1205s # }; 1205s # 1205s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1205s # 1205s # #if GLIB_CHECK_VERSION(2, 44, 0) 1205s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1205s # #endif 1205s # 1205s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1205s # 1205s # 1205s # G_END_DECLS 1205s # 1205s # #endif /* __STDOUT__ */ 1208s ok 2 __main__.TestCodegen.test_dbus_types 1208s # tmpdir: /tmp/tmp5dmsvpb1 1208s # codegen: /usr/bin/gdbus-codegen 1208s # /tmp/tmp5dmsvpb1/tmpjs7zdpx9.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpjs7zdpx9.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpogicin_e.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpogicin_e.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpx1s8y9wn.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpx1s8y9wn.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpip2tg_a9.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpip2tg_a9.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpobr0o4nk.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpobr0o4nk.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpw3eb5bab.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpw3eb5bab.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmp2jtb6o4w.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmp2jtb6o4w.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmp6u2ilrp_.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmp6u2ilrp_.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpyv8g4qli.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpyv8g4qli.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpisl0mwqn.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpisl0mwqn.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmpinool9oc.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpinool9oc.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmphtba2xod.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmphtba2xod.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmp4c80g33b.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmp4c80g33b.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # /tmp/tmp5dmsvpb1/tmp1w6y73ma.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmp1w6y73ma.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* 1208s # * This file is generated by gdbus-codegen, do not modify it. 1208s # * 1208s # * The license of this code is the same as for the D-Bus interface description 1208s # * it was derived from. Note that it links to GLib, so must comply with the 1208s # * LGPL linking clauses. 1208s # */ 1208s # 1208s # #ifdef HAVE_CONFIG_H 1208s # # include "config.h" 1208s # #endif 1208s # 1208s # #include 1208s # #ifdef G_OS_UNIX 1208s # # include 1208s # #endif 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusArgInfo parent_struct; 1208s # gboolean use_gvariant; 1208s # } _ExtendedGDBusArgInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusMethodInfo parent_struct; 1208s # const gchar *signal_name; 1208s # gboolean pass_fdlist; 1208s # } _ExtendedGDBusMethodInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusSignalInfo parent_struct; 1208s # const gchar *signal_name; 1208s # } _ExtendedGDBusSignalInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusPropertyInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # guint use_gvariant : 1; 1208s # guint emits_changed_signal : 1; 1208s # } _ExtendedGDBusPropertyInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusInterfaceInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # } _ExtendedGDBusInterfaceInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # guint prop_id; 1208s # GValue orig_value; /* the value before the change */ 1208s # } ChangedProperty; 1208s # 1208s # static void 1208s # _changed_property_free (ChangedProperty *data) 1208s # { 1208s # g_value_unset (&data->orig_value); 1208s # g_free (data); 1208s # } 1208s # 1208s # static gboolean 1208s # _g_strv_equal0 (gchar **a, gchar **b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # guint n; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # if (g_strv_length (a) != g_strv_length (b)) 1208s # goto out; 1208s # for (n = 0; a[n] != NULL; n++) 1208s # if (g_strcmp0 (a[n], b[n]) != 0) 1208s # goto out; 1208s # ret = TRUE; 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _g_variant_equal0 (GVariant *a, GVariant *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # ret = g_variant_equal (a, b); 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # G_GNUC_UNUSED static gboolean 1208s # _g_value_equal (const GValue *a, const GValue *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1208s # switch (G_VALUE_TYPE (a)) 1208s # { 1208s # case G_TYPE_BOOLEAN: 1208s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1208s # break; 1208s # case G_TYPE_UCHAR: 1208s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1208s # break; 1208s # case G_TYPE_INT: 1208s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1208s # break; 1208s # case G_TYPE_UINT: 1208s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1208s # break; 1208s # case G_TYPE_INT64: 1208s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1208s # break; 1208s # case G_TYPE_UINT64: 1208s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1208s # break; 1208s # case G_TYPE_DOUBLE: 1208s # { 1208s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1208s # gdouble da = g_value_get_double (a); 1208s # gdouble db = g_value_get_double (b); 1208s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1208s # } 1208s # break; 1208s # case G_TYPE_STRING: 1208s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1208s # break; 1208s # case G_TYPE_VARIANT: 1208s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1208s # break; 1208s # default: 1208s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1208s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1208s # else 1208s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1208s # break; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ 1208s # * Code for interface GoodTypes 1208s # * ------------------------------------------------------------------------ 1208s # */ 1208s # 1208s # /** 1208s # * SECTION:GoodTypes 1208s # * @title: GoodTypes 1208s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1208s # * 1208s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1208s # */ 1208s # 1208s # /* ---- Introspection data for GoodTypes ---- */ 1208s # 1208s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodPropertyType", 1208s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1208s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1208s # NULL 1208s # }, 1208s # "good-property-type", 1208s # FALSE, 1208s # TRUE 1208s # }; 1208s # 1208s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1208s # { 1208s # &_good_types_property_info_good_property_type.parent_struct, 1208s # NULL 1208s # }; 1208s # 1208s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodTypes", 1208s # NULL, 1208s # NULL, 1208s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1208s # NULL 1208s # }, 1208s # "good-types", 1208s # }; 1208s # 1208s # 1208s # /** 1208s # * good_types_interface_info: 1208s # * 1208s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1208s # * 1208s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1208s # */ 1208s # GDBusInterfaceInfo * 1208s # good_types_interface_info (void) 1208s # { 1208s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1208s # } 1208s # 1208s # /** 1208s # * good_types_override_properties: 1208s # * @klass: The class structure for a #GObject derived class. 1208s # * @property_id_begin: The property id to assign to the first overridden property. 1208s # * 1208s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1208s # * The properties are overridden in the order they are defined. 1208s # * 1208s # * Returns: The last property id. 1208s # */ 1208s # guint 1208s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1208s # { 1208s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1208s # return property_id_begin - 1; 1208s # } 1208s # 1208s # 1208s # 1208s # /** 1208s # * GoodTypes: 1208s # * 1208s # * Abstract interface type for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesIface: 1208s # * @parent_iface: The parent interface. 1208s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1208s # * 1208s # * Virtual table for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # typedef GoodTypesIface GoodTypesInterface; 1208s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1208s # 1208s # static void 1208s # good_types_default_init (GoodTypesIface *iface) 1208s # { 1208s # /* GObject properties for D-Bus properties: */ 1208s # /** 1208s # * GoodTypes:good-property-type: 1208s # * 1208s # * Represents the D-Bus property "GoodPropertyType". 1208s # * 1208s # * 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. 1208s # */ 1208s # g_object_interface_install_property (iface, 1208s # 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)); 1208s # } 1208s # 1208s # /** 1208s # * good_types_get_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets the value of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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. 1208s # * 1208s # * 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. 1208s # */ 1208s # GVariant * 1208s # good_types_get_good_property_type (GoodTypes *object) 1208s # { 1208s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1208s # 1208s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1208s # } 1208s # 1208s # /** 1208s # * good_types_dup_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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(). 1208s # */ 1208s # GVariant * 1208s # good_types_dup_good_property_type (GoodTypes *object) 1208s # { 1208s # GVariant *value; 1208s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1208s # return value; 1208s # } 1208s # 1208s # /** 1208s # * good_types_set_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * @value: The value to set. 1208s # * 1208s # * Sets the "GoodPropertyType" D-Bus property to @value. 1208s # * 1208s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1208s # */ 1208s # void 1208s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1208s # { 1208s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesProxy: 1208s # * 1208s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesProxyClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesProxy. 1208s # */ 1208s # 1208s # struct _GoodTypesProxyPrivate 1208s # { 1208s # GData *qdata; 1208s # }; 1208s # 1208s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_ADD_PRIVATE (GoodTypesProxy) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_proxy_finalize (GObject *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # g_datalist_clear (&proxy->priv->qdata); 1208s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1208s # if (info->use_gvariant) 1208s # { 1208s # g_value_set_variant (value, variant); 1208s # } 1208s # else 1208s # { 1208s # if (variant != NULL) 1208s # g_dbus_gvariant_to_gvalue (variant, value); 1208s # } 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1208s # GAsyncResult *res, 1208s # gpointer user_data) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info = user_data; 1208s # GError *error; 1208s # GVariant *_ret; 1208s # error = NULL; 1208s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1208s # if (!_ret) 1208s # { 1208s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1208s # info->parent_struct.name, 1208s # error->message, g_quark_to_string (error->domain), error->code); 1208s # g_error_free (error); 1208s # } 1208s # else 1208s # { 1208s # g_variant_unref (_ret); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1208s # "org.freedesktop.DBus.Properties.Set", 1208s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1208s # G_DBUS_CALL_FLAGS_NONE, 1208s # -1, 1208s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_signal (GDBusProxy *proxy, 1208s # const gchar *sender_name G_GNUC_UNUSED, 1208s # const gchar *signal_name, 1208s # GVariant *parameters) 1208s # { 1208s # _ExtendedGDBusSignalInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # gsize n; 1208s # guint signal_id; 1208s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1208s # if (info == NULL) 1208s # return; 1208s # num_params = g_variant_n_children (parameters); 1208s # paramv = g_new0 (GValue, num_params + 1); 1208s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[0], proxy); 1208s # g_variant_iter_init (&iter, parameters); 1208s # n = 1; 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_signal_emitv (paramv, signal_id, 0, NULL); 1208s # for (n = 0; n < num_params + 1; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1208s # GVariant *changed_properties, 1208s # const gchar *const *invalidated_properties) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1208s # guint n; 1208s # const gchar *key; 1208s # GVariantIter *iter; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # g_variant_get (changed_properties, "a{sv}", &iter); 1208s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1208s # g_datalist_remove_data (&proxy->priv->qdata, key); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # g_variant_iter_free (iter); 1208s # for (n = 0; invalidated_properties[n] != NULL; n++) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1208s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_proxy_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # GVariant *variant; 1208s # GVariant *value = NULL; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1208s # value = variant; 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_init (GoodTypesProxy *proxy) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1208s # #else 1208s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1208s # #endif 1208s # 1208s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusProxyClass *proxy_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_proxy_finalize; 1208s # gobject_class->get_property = good_types_proxy_get_property; 1208s # gobject_class->set_property = good_types_proxy_set_property; 1208s # 1208s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1208s # proxy_class->g_signal = good_types_proxy_g_signal; 1208s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_sync: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_sync ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new_for_bus ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_sync: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_sync ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesSkeleton: 1208s # * 1208s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesSkeletonClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesSkeleton. 1208s # */ 1208s # 1208s # struct _GoodTypesSkeletonPrivate 1208s # { 1208s # GValue *properties; 1208s # GList *changed_properties; 1208s # GSource *changed_properties_idle_source; 1208s # GMainContext *context; 1208s # GMutex lock; 1208s # }; 1208s # 1208s # static void 1208s # _good_types_skeleton_handle_method_call ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name, 1208s # const gchar *method_name, 1208s # GVariant *parameters, 1208s # GDBusMethodInvocation *invocation, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # _ExtendedGDBusMethodInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # guint num_extra; 1208s # gsize n; 1208s # guint signal_id; 1208s # GValue return_value = G_VALUE_INIT; 1208s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1208s # g_assert (info != NULL); 1208s # num_params = g_variant_n_children (parameters); 1208s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1208s # n = 0; 1208s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[n++], skeleton); 1208s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1208s # g_value_set_object (¶mv[n++], invocation); 1208s # if (info->pass_fdlist) 1208s # { 1208s # #ifdef G_OS_UNIX 1208s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1208s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1208s # #else 1208s # g_assert_not_reached (); 1208s # #endif 1208s # } 1208s # g_variant_iter_init (&iter, parameters); 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1208s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1208s # if (!g_value_get_boolean (&return_value)) 1208s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1208s # g_value_unset (&return_value); 1208s # for (n = 0; n < num_params + num_extra; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static GVariant * 1208s # _good_types_skeleton_handle_get_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *ret; 1208s # ret = NULL; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # g_value_init (&value, pspec->value_type); 1208s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_value_unset (&value); 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_skeleton_handle_set_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GVariant *variant, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # gboolean ret; 1208s # ret = FALSE; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # if (info->use_gvariant) 1208s # g_value_set_variant (&value, variant); 1208s # else 1208s # g_dbus_gvariant_to_gvalue (variant, &value); 1208s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # g_value_unset (&value); 1208s # ret = TRUE; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1208s # { 1208s # _good_types_skeleton_handle_method_call, 1208s # _good_types_skeleton_handle_get_property, 1208s # _good_types_skeleton_handle_set_property, 1208s # {NULL} 1208s # }; 1208s # 1208s # static GDBusInterfaceInfo * 1208s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return good_types_interface_info (); 1208s # } 1208s # 1208s # static GDBusInterfaceVTable * 1208s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # 1208s # GVariantBuilder builder; 1208s # guint n; 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # if (_good_types_interface_info.parent_struct.properties == NULL) 1208s # goto out; 1208s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1208s # { 1208s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1208s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1208s # { 1208s # GVariant *value; 1208s # 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); 1208s # if (value != NULL) 1208s # { 1208s # g_variant_take_ref (value); 1208s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1208s # g_variant_unref (value); 1208s # } 1208s # } 1208s # } 1208s # out: 1208s # return g_variant_builder_end (&builder); 1208s # } 1208s # 1208s # static gboolean _good_types_emit_changed (gpointer user_data); 1208s # 1208s # static void 1208s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # gboolean emit_changed = FALSE; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # { 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # emit_changed = TRUE; 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # 1208s # if (emit_changed) 1208s # _good_types_emit_changed (skeleton); 1208s # } 1208s # 1208s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_ADD_PRIVATE (GoodTypesSkeleton) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_skeleton_finalize (GObject *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # guint n; 1208s # for (n = 0; n < 1; n++) 1208s # g_value_unset (&skeleton->priv->properties[n]); 1208s # g_free (skeleton->priv->properties); 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # g_main_context_unref (skeleton->priv->context); 1208s # g_mutex_clear (&skeleton->priv->lock); 1208s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_emit_changed (gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GList *l; 1208s # GVariantBuilder builder; 1208s # GVariantBuilder invalidated_builder; 1208s # guint num_changes; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1208s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *cp = l->data; 1208s # GVariant *variant; 1208s # const GValue *cur_value; 1208s # 1208s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1208s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1208s # { 1208s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1208s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1208s # g_variant_unref (variant); 1208s # num_changes++; 1208s # } 1208s # } 1208s # if (num_changes > 0) 1208s # { 1208s # GList *connections, *ll; 1208s # GVariant *signal_variant; 1208s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1208s # &builder, &invalidated_builder)); 1208s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1208s # for (ll = connections; ll != NULL; ll = ll->next) 1208s # { 1208s # GDBusConnection *connection = ll->data; 1208s # 1208s # g_dbus_connection_emit_signal (connection, 1208s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1208s # "org.freedesktop.DBus.Properties", 1208s # "PropertiesChanged", 1208s # signal_variant, 1208s # NULL); 1208s # } 1208s # g_variant_unref (signal_variant); 1208s # g_list_free_full (connections, g_object_unref); 1208s # } 1208s # else 1208s # { 1208s # g_variant_builder_clear (&builder); 1208s # g_variant_builder_clear (&invalidated_builder); 1208s # } 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # skeleton->priv->changed_properties = NULL; 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return FALSE; 1208s # } 1208s # 1208s # static void 1208s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1208s # { 1208s # ChangedProperty *cp; 1208s # GList *l; 1208s # cp = NULL; 1208s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *i_cp = l->data; 1208s # if (i_cp->info == info) 1208s # { 1208s # cp = i_cp; 1208s # break; 1208s # } 1208s # } 1208s # if (cp == NULL) 1208s # { 1208s # cp = g_new0 (ChangedProperty, 1); 1208s # cp->prop_id = prop_id; 1208s # cp->info = info; 1208s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1208s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1208s # g_value_copy (orig_value, &cp->orig_value); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_notify (GObject *object, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties != NULL && 1208s # skeleton->priv->changed_properties_idle_source == NULL) 1208s # { 1208s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1208s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1208s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1208s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1208s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1208s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_object_freeze_notify (object); 1208s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1208s # { 1208s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1208s # info->emits_changed_signal) 1208s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1208s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1208s # g_object_notify_by_pspec (object, pspec); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # g_object_thaw_notify (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1208s # #else 1208s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1208s # #endif 1208s # 1208s # g_mutex_init (&skeleton->priv->lock); 1208s # skeleton->priv->context = g_main_context_ref_thread_default (); 1208s # skeleton->priv->properties = g_new0 (GValue, 1); 1208s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # GVariant *value; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusInterfaceSkeletonClass *skeleton_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_skeleton_finalize; 1208s # gobject_class->get_property = good_types_skeleton_get_property; 1208s # gobject_class->set_property = good_types_skeleton_set_property; 1208s # gobject_class->notify = good_types_skeleton_notify; 1208s # 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1208s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1208s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1208s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1208s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_skeleton_new: 1208s # * 1208s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1208s # */ 1208s # GoodTypes * 1208s # good_types_skeleton_new (void) 1208s # { 1208s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1208s # } 1208s # /tmp/tmp5dmsvpb1/tmpzgr_n423.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpzgr_n423.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* 1208s # * This file is generated by gdbus-codegen, do not modify it. 1208s # * 1208s # * The license of this code is the same as for the D-Bus interface description 1208s # * it was derived from. Note that it links to GLib, so must comply with the 1208s # * LGPL linking clauses. 1208s # */ 1208s # 1208s # #ifdef HAVE_CONFIG_H 1208s # # include "config.h" 1208s # #endif 1208s # 1208s # #include 1208s # #ifdef G_OS_UNIX 1208s # # include 1208s # #endif 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusArgInfo parent_struct; 1208s # gboolean use_gvariant; 1208s # } _ExtendedGDBusArgInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusMethodInfo parent_struct; 1208s # const gchar *signal_name; 1208s # gboolean pass_fdlist; 1208s # } _ExtendedGDBusMethodInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusSignalInfo parent_struct; 1208s # const gchar *signal_name; 1208s # } _ExtendedGDBusSignalInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusPropertyInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # guint use_gvariant : 1; 1208s # guint emits_changed_signal : 1; 1208s # } _ExtendedGDBusPropertyInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusInterfaceInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # } _ExtendedGDBusInterfaceInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # guint prop_id; 1208s # GValue orig_value; /* the value before the change */ 1208s # } ChangedProperty; 1208s # 1208s # static void 1208s # _changed_property_free (ChangedProperty *data) 1208s # { 1208s # g_value_unset (&data->orig_value); 1208s # g_free (data); 1208s # } 1208s # 1208s # static gboolean 1208s # _g_strv_equal0 (gchar **a, gchar **b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # guint n; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # if (g_strv_length (a) != g_strv_length (b)) 1208s # goto out; 1208s # for (n = 0; a[n] != NULL; n++) 1208s # if (g_strcmp0 (a[n], b[n]) != 0) 1208s # goto out; 1208s # ret = TRUE; 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _g_variant_equal0 (GVariant *a, GVariant *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # ret = g_variant_equal (a, b); 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # G_GNUC_UNUSED static gboolean 1208s # _g_value_equal (const GValue *a, const GValue *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1208s # switch (G_VALUE_TYPE (a)) 1208s # { 1208s # case G_TYPE_BOOLEAN: 1208s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1208s # break; 1208s # case G_TYPE_UCHAR: 1208s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1208s # break; 1208s # case G_TYPE_INT: 1208s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1208s # break; 1208s # case G_TYPE_UINT: 1208s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1208s # break; 1208s # case G_TYPE_INT64: 1208s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1208s # break; 1208s # case G_TYPE_UINT64: 1208s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1208s # break; 1208s # case G_TYPE_DOUBLE: 1208s # { 1208s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1208s # gdouble da = g_value_get_double (a); 1208s # gdouble db = g_value_get_double (b); 1208s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1208s # } 1208s # break; 1208s # case G_TYPE_STRING: 1208s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1208s # break; 1208s # case G_TYPE_VARIANT: 1208s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1208s # break; 1208s # default: 1208s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1208s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1208s # else 1208s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1208s # break; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ 1208s # * Code for interface GoodTypes 1208s # * ------------------------------------------------------------------------ 1208s # */ 1208s # 1208s # /** 1208s # * SECTION:GoodTypes 1208s # * @title: GoodTypes 1208s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1208s # * 1208s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1208s # */ 1208s # 1208s # /* ---- Introspection data for GoodTypes ---- */ 1208s # 1208s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodPropertyType", 1208s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1208s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1208s # NULL 1208s # }, 1208s # "good-property-type", 1208s # FALSE, 1208s # TRUE 1208s # }; 1208s # 1208s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1208s # { 1208s # &_good_types_property_info_good_property_type.parent_struct, 1208s # NULL 1208s # }; 1208s # 1208s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodTypes", 1208s # NULL, 1208s # NULL, 1208s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1208s # NULL 1208s # }, 1208s # "good-types", 1208s # }; 1208s # 1208s # 1208s # /** 1208s # * good_types_interface_info: 1208s # * 1208s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1208s # * 1208s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1208s # */ 1208s # GDBusInterfaceInfo * 1208s # good_types_interface_info (void) 1208s # { 1208s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1208s # } 1208s # 1208s # /** 1208s # * good_types_override_properties: 1208s # * @klass: The class structure for a #GObject derived class. 1208s # * @property_id_begin: The property id to assign to the first overridden property. 1208s # * 1208s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1208s # * The properties are overridden in the order they are defined. 1208s # * 1208s # * Returns: The last property id. 1208s # */ 1208s # guint 1208s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1208s # { 1208s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1208s # return property_id_begin - 1; 1208s # } 1208s # 1208s # 1208s # 1208s # /** 1208s # * GoodTypes: 1208s # * 1208s # * Abstract interface type for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesIface: 1208s # * @parent_iface: The parent interface. 1208s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1208s # * 1208s # * Virtual table for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # typedef GoodTypesIface GoodTypesInterface; 1208s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1208s # 1208s # static void 1208s # good_types_default_init (GoodTypesIface *iface) 1208s # { 1208s # /* GObject properties for D-Bus properties: */ 1208s # /** 1208s # * GoodTypes:good-property-type: 1208s # * 1208s # * Represents the D-Bus property "GoodPropertyType". 1208s # * 1208s # * 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. 1208s # */ 1208s # g_object_interface_install_property (iface, 1208s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1208s # } 1208s # 1208s # /** 1208s # * good_types_get_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets the value of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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. 1208s # * 1208s # * 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. 1208s # */ 1208s # GVariant * 1208s # good_types_get_good_property_type (GoodTypes *object) 1208s # { 1208s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1208s # 1208s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1208s # } 1208s # 1208s # /** 1208s # * good_types_dup_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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(). 1208s # */ 1208s # GVariant * 1208s # good_types_dup_good_property_type (GoodTypes *object) 1208s # { 1208s # GVariant *value; 1208s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1208s # return value; 1208s # } 1208s # 1208s # /** 1208s # * good_types_set_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * @value: The value to set. 1208s # * 1208s # * Sets the "GoodPropertyType" D-Bus property to @value. 1208s # * 1208s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1208s # */ 1208s # void 1208s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1208s # { 1208s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesProxy: 1208s # * 1208s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesProxyClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesProxy. 1208s # */ 1208s # 1208s # struct _GoodTypesProxyPrivate 1208s # { 1208s # GData *qdata; 1208s # }; 1208s # 1208s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_ADD_PRIVATE (GoodTypesProxy) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_proxy_finalize (GObject *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # g_datalist_clear (&proxy->priv->qdata); 1208s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1208s # if (info->use_gvariant) 1208s # { 1208s # g_value_set_variant (value, variant); 1208s # } 1208s # else 1208s # { 1208s # if (variant != NULL) 1208s # g_dbus_gvariant_to_gvalue (variant, value); 1208s # } 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1208s # GAsyncResult *res, 1208s # gpointer user_data) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info = user_data; 1208s # GError *error; 1208s # GVariant *_ret; 1208s # error = NULL; 1208s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1208s # if (!_ret) 1208s # { 1208s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1208s # info->parent_struct.name, 1208s # error->message, g_quark_to_string (error->domain), error->code); 1208s # g_error_free (error); 1208s # } 1208s # else 1208s # { 1208s # g_variant_unref (_ret); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1208s # "org.freedesktop.DBus.Properties.Set", 1208s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1208s # G_DBUS_CALL_FLAGS_NONE, 1208s # -1, 1208s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_signal (GDBusProxy *proxy, 1208s # const gchar *sender_name G_GNUC_UNUSED, 1208s # const gchar *signal_name, 1208s # GVariant *parameters) 1208s # { 1208s # _ExtendedGDBusSignalInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # gsize n; 1208s # guint signal_id; 1208s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1208s # if (info == NULL) 1208s # return; 1208s # num_params = g_variant_n_children (parameters); 1208s # paramv = g_new0 (GValue, num_params + 1); 1208s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[0], proxy); 1208s # g_variant_iter_init (&iter, parameters); 1208s # n = 1; 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_signal_emitv (paramv, signal_id, 0, NULL); 1208s # for (n = 0; n < num_params + 1; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1208s # GVariant *changed_properties, 1208s # const gchar *const *invalidated_properties) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1208s # guint n; 1208s # const gchar *key; 1208s # GVariantIter *iter; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # g_variant_get (changed_properties, "a{sv}", &iter); 1208s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1208s # g_datalist_remove_data (&proxy->priv->qdata, key); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # g_variant_iter_free (iter); 1208s # for (n = 0; invalidated_properties[n] != NULL; n++) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1208s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_proxy_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # GVariant *variant; 1208s # GVariant *value = NULL; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1208s # value = variant; 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_init (GoodTypesProxy *proxy) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1208s # #else 1208s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1208s # #endif 1208s # 1208s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusProxyClass *proxy_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_proxy_finalize; 1208s # gobject_class->get_property = good_types_proxy_get_property; 1208s # gobject_class->set_property = good_types_proxy_set_property; 1208s # 1208s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1208s # proxy_class->g_signal = good_types_proxy_g_signal; 1208s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_sync: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_sync ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new_for_bus ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_sync: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_sync ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesSkeleton: 1208s # * 1208s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesSkeletonClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesSkeleton. 1208s # */ 1208s # 1208s # struct _GoodTypesSkeletonPrivate 1208s # { 1208s # GValue *properties; 1208s # GList *changed_properties; 1208s # GSource *changed_properties_idle_source; 1208s # GMainContext *context; 1208s # GMutex lock; 1208s # }; 1208s # 1208s # static void 1208s # _good_types_skeleton_handle_method_call ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name, 1208s # const gchar *method_name, 1208s # GVariant *parameters, 1208s # GDBusMethodInvocation *invocation, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # _ExtendedGDBusMethodInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # guint num_extra; 1208s # gsize n; 1208s # guint signal_id; 1208s # GValue return_value = G_VALUE_INIT; 1208s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1208s # g_assert (info != NULL); 1208s # num_params = g_variant_n_children (parameters); 1208s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1208s # n = 0; 1208s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[n++], skeleton); 1208s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1208s # g_value_set_object (¶mv[n++], invocation); 1208s # if (info->pass_fdlist) 1208s # { 1208s # #ifdef G_OS_UNIX 1208s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1208s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1208s # #else 1208s # g_assert_not_reached (); 1208s # #endif 1208s # } 1208s # g_variant_iter_init (&iter, parameters); 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1208s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1208s # if (!g_value_get_boolean (&return_value)) 1208s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1208s # g_value_unset (&return_value); 1208s # for (n = 0; n < num_params + num_extra; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static GVariant * 1208s # _good_types_skeleton_handle_get_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *ret; 1208s # ret = NULL; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # g_value_init (&value, pspec->value_type); 1208s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_value_unset (&value); 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_skeleton_handle_set_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GVariant *variant, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # gboolean ret; 1208s # ret = FALSE; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # if (info->use_gvariant) 1208s # g_value_set_variant (&value, variant); 1208s # else 1208s # g_dbus_gvariant_to_gvalue (variant, &value); 1208s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # g_value_unset (&value); 1208s # ret = TRUE; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1208s # { 1208s # _good_types_skeleton_handle_method_call, 1208s # _good_types_skeleton_handle_get_property, 1208s # _good_types_skeleton_handle_set_property, 1208s # {NULL} 1208s # }; 1208s # 1208s # static GDBusInterfaceInfo * 1208s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return good_types_interface_info (); 1208s # } 1208s # 1208s # static GDBusInterfaceVTable * 1208s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # 1208s # GVariantBuilder builder; 1208s # guint n; 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # if (_good_types_interface_info.parent_struct.properties == NULL) 1208s # goto out; 1208s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1208s # { 1208s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1208s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1208s # { 1208s # GVariant *value; 1208s # 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); 1208s # if (value != NULL) 1208s # { 1208s # g_variant_take_ref (value); 1208s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1208s # g_variant_unref (value); 1208s # } 1208s # } 1208s # } 1208s # out: 1208s # return g_variant_builder_end (&builder); 1208s # } 1208s # 1208s # static gboolean _good_types_emit_changed (gpointer user_data); 1208s # 1208s # static void 1208s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # gboolean emit_changed = FALSE; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # { 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # emit_changed = TRUE; 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # 1208s # if (emit_changed) 1208s # _good_types_emit_changed (skeleton); 1208s # } 1208s # 1208s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_ADD_PRIVATE (GoodTypesSkeleton) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_skeleton_finalize (GObject *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # guint n; 1208s # for (n = 0; n < 1; n++) 1208s # g_value_unset (&skeleton->priv->properties[n]); 1208s # g_free (skeleton->priv->properties); 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # g_main_context_unref (skeleton->priv->context); 1208s # g_mutex_clear (&skeleton->priv->lock); 1208s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_emit_changed (gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GList *l; 1208s # GVariantBuilder builder; 1208s # GVariantBuilder invalidated_builder; 1208s # guint num_changes; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1208s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *cp = l->data; 1208s # GVariant *variant; 1208s # const GValue *cur_value; 1208s # 1208s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1208s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1208s # { 1208s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1208s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1208s # g_variant_unref (variant); 1208s # num_changes++; 1208s # } 1208s # } 1208s # if (num_changes > 0) 1208s # { 1208s # GList *connections, *ll; 1208s # GVariant *signal_variant; 1208s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1208s # &builder, &invalidated_builder)); 1208s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1208s # for (ll = connections; ll != NULL; ll = ll->next) 1208s # { 1208s # GDBusConnection *connection = ll->data; 1208s # 1208s # g_dbus_connection_emit_signal (connection, 1208s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1208s # "org.freedesktop.DBus.Properties", 1208s # "PropertiesChanged", 1208s # signal_variant, 1208s # NULL); 1208s # } 1208s # g_variant_unref (signal_variant); 1208s # g_list_free_full (connections, g_object_unref); 1208s # } 1208s # else 1208s # { 1208s # g_variant_builder_clear (&builder); 1208s # g_variant_builder_clear (&invalidated_builder); 1208s # } 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # skeleton->priv->changed_properties = NULL; 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return FALSE; 1208s # } 1208s # 1208s # static void 1208s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1208s # { 1208s # ChangedProperty *cp; 1208s # GList *l; 1208s # cp = NULL; 1208s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *i_cp = l->data; 1208s # if (i_cp->info == info) 1208s # { 1208s # cp = i_cp; 1208s # break; 1208s # } 1208s # } 1208s # if (cp == NULL) 1208s # { 1208s # cp = g_new0 (ChangedProperty, 1); 1208s # cp->prop_id = prop_id; 1208s # cp->info = info; 1208s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1208s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1208s # g_value_copy (orig_value, &cp->orig_value); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_notify (GObject *object, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties != NULL && 1208s # skeleton->priv->changed_properties_idle_source == NULL) 1208s # { 1208s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1208s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1208s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1208s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1208s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1208s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_object_freeze_notify (object); 1208s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1208s # { 1208s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1208s # info->emits_changed_signal) 1208s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1208s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1208s # g_object_notify_by_pspec (object, pspec); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # g_object_thaw_notify (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1208s # #else 1208s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1208s # #endif 1208s # 1208s # g_mutex_init (&skeleton->priv->lock); 1208s # skeleton->priv->context = g_main_context_ref_thread_default (); 1208s # skeleton->priv->properties = g_new0 (GValue, 1); 1208s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # GVariant *value; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusInterfaceSkeletonClass *skeleton_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_skeleton_finalize; 1208s # gobject_class->get_property = good_types_skeleton_get_property; 1208s # gobject_class->set_property = good_types_skeleton_set_property; 1208s # gobject_class->notify = good_types_skeleton_notify; 1208s # 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1208s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1208s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1208s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1208s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_skeleton_new: 1208s # * 1208s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1208s # */ 1208s # GoodTypes * 1208s # good_types_skeleton_new (void) 1208s # { 1208s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1208s # } 1208s # /tmp/tmp5dmsvpb1/tmpca2fsn9n.xml: 1208s # 1208s # 1208s # 1208s # 1208s # 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dmsvpb1/tmpca2fsn9n.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* 1208s # * This file is generated by gdbus-codegen, do not modify it. 1208s # * 1208s # * The license of this code is the same as for the D-Bus interface description 1208s # * it was derived from. Note that it links to GLib, so must comply with the 1208s # * LGPL linking clauses. 1208s # */ 1208s # 1208s # #ifdef HAVE_CONFIG_H 1208s # # include "config.h" 1208s # #endif 1208s # 1208s # #include 1208s # #ifdef G_OS_UNIX 1208s # # include 1208s # #endif 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusArgInfo parent_struct; 1208s # gboolean use_gvariant; 1208s # } _ExtendedGDBusArgInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusMethodInfo parent_struct; 1208s # const gchar *signal_name; 1208s # gboolean pass_fdlist; 1208s # } _ExtendedGDBusMethodInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusSignalInfo parent_struct; 1208s # const gchar *signal_name; 1208s # } _ExtendedGDBusSignalInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusPropertyInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # guint use_gvariant : 1; 1208s # guint emits_changed_signal : 1; 1208s # } _ExtendedGDBusPropertyInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusInterfaceInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # } _ExtendedGDBusInterfaceInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # guint prop_id; 1208s # GValue orig_value; /* the value before the change */ 1208s # } ChangedProperty; 1208s # 1208s # static void 1208s # _changed_property_free (ChangedProperty *data) 1208s # { 1208s # g_value_unset (&data->orig_value); 1208s # g_free (data); 1208s # } 1208s # 1208s # static gboolean 1208s # _g_strv_equal0 (gchar **a, gchar **b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # guint n; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # if (g_strv_length (a) != g_strv_length (b)) 1208s # goto out; 1208s # for (n = 0; a[n] != NULL; n++) 1208s # if (g_strcmp0 (a[n], b[n]) != 0) 1208s # goto out; 1208s # ret = TRUE; 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _g_variant_equal0 (GVariant *a, GVariant *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # ret = g_variant_equal (a, b); 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # G_GNUC_UNUSED static gboolean 1208s # _g_value_equal (const GValue *a, const GValue *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1208s # switch (G_VALUE_TYPE (a)) 1208s # { 1208s # case G_TYPE_BOOLEAN: 1208s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1208s # break; 1208s # case G_TYPE_UCHAR: 1208s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1208s # break; 1208s # case G_TYPE_INT: 1208s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1208s # break; 1208s # case G_TYPE_UINT: 1208s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1208s # break; 1208s # case G_TYPE_INT64: 1208s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1208s # break; 1208s # case G_TYPE_UINT64: 1208s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1208s # break; 1208s # case G_TYPE_DOUBLE: 1208s # { 1208s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1208s # gdouble da = g_value_get_double (a); 1208s # gdouble db = g_value_get_double (b); 1208s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1208s # } 1208s # break; 1208s # case G_TYPE_STRING: 1208s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1208s # break; 1208s # case G_TYPE_VARIANT: 1208s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1208s # break; 1208s # default: 1208s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1208s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1208s # else 1208s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1208s # break; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ 1208s # * Code for interface GoodTypes 1208s # * ------------------------------------------------------------------------ 1208s # */ 1208s # 1208s # /** 1208s # * SECTION:GoodTypes 1208s # * @title: GoodTypes 1208s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1208s # * 1208s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1208s # */ 1208s # 1208s # /* ---- Introspection data for GoodTypes ---- */ 1208s # 1208s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodPropertyType", 1208s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1208s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1208s # NULL 1208s # }, 1208s # "good-property-type", 1208s # FALSE, 1208s # TRUE 1208s # }; 1208s # 1208s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1208s # { 1208s # &_good_types_property_info_good_property_type.parent_struct, 1208s # NULL 1208s # }; 1208s # 1208s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1208s # { 1208s # { 1208s # -1, 1208s # (gchar *) "GoodTypes", 1208s # NULL, 1208s # NULL, 1208s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1208s # NULL 1208s # }, 1208s # "good-types", 1208s # }; 1208s # 1208s # 1208s # /** 1208s # * good_types_interface_info: 1208s # * 1208s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1208s # * 1208s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1208s # */ 1208s # GDBusInterfaceInfo * 1208s # good_types_interface_info (void) 1208s # { 1208s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1208s # } 1208s # 1208s # /** 1208s # * good_types_override_properties: 1208s # * @klass: The class structure for a #GObject derived class. 1208s # * @property_id_begin: The property id to assign to the first overridden property. 1208s # * 1208s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1208s # * The properties are overridden in the order they are defined. 1208s # * 1208s # * Returns: The last property id. 1208s # */ 1208s # guint 1208s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1208s # { 1208s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1208s # return property_id_begin - 1; 1208s # } 1208s # 1208s # 1208s # 1208s # /** 1208s # * GoodTypes: 1208s # * 1208s # * Abstract interface type for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesIface: 1208s # * @parent_iface: The parent interface. 1208s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1208s # * 1208s # * Virtual table for the D-Bus interface GoodTypes. 1208s # */ 1208s # 1208s # typedef GoodTypesIface GoodTypesInterface; 1208s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1208s # 1208s # static void 1208s # good_types_default_init (GoodTypesIface *iface) 1208s # { 1208s # /* GObject properties for D-Bus properties: */ 1208s # /** 1208s # * GoodTypes:good-property-type: 1208s # * 1208s # * Represents the D-Bus property "GoodPropertyType". 1208s # * 1208s # * 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. 1208s # */ 1208s # g_object_interface_install_property (iface, 1208s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1208s # } 1208s # 1208s # /** 1208s # * good_types_get_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets the value of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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. 1208s # * 1208s # * 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. 1208s # */ 1208s # GVariant * 1208s # good_types_get_good_property_type (GoodTypes *object) 1208s # { 1208s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1208s # 1208s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1208s # } 1208s # 1208s # /** 1208s # * good_types_dup_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * 1208s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1208s # * 1208s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1208s # * 1208s # * 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(). 1208s # */ 1208s # GVariant * 1208s # good_types_dup_good_property_type (GoodTypes *object) 1208s # { 1208s # GVariant *value; 1208s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1208s # return value; 1208s # } 1208s # 1208s # /** 1208s # * good_types_set_good_property_type: (skip) 1208s # * @object: A GoodTypes. 1208s # * @value: The value to set. 1208s # * 1208s # * Sets the "GoodPropertyType" D-Bus property to @value. 1208s # * 1208s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1208s # */ 1208s # void 1208s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1208s # { 1208s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1208s # } 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesProxy: 1208s # * 1208s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesProxyClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesProxy. 1208s # */ 1208s # 1208s # struct _GoodTypesProxyPrivate 1208s # { 1208s # GData *qdata; 1208s # }; 1208s # 1208s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_ADD_PRIVATE (GoodTypesProxy) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_proxy_finalize (GObject *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # g_datalist_clear (&proxy->priv->qdata); 1208s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1208s # if (info->use_gvariant) 1208s # { 1208s # g_value_set_variant (value, variant); 1208s # } 1208s # else 1208s # { 1208s # if (variant != NULL) 1208s # g_dbus_gvariant_to_gvalue (variant, value); 1208s # } 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1208s # GAsyncResult *res, 1208s # gpointer user_data) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info = user_data; 1208s # GError *error; 1208s # GVariant *_ret; 1208s # error = NULL; 1208s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1208s # if (!_ret) 1208s # { 1208s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1208s # info->parent_struct.name, 1208s # error->message, g_quark_to_string (error->domain), error->code); 1208s # g_error_free (error); 1208s # } 1208s # else 1208s # { 1208s # g_variant_unref (_ret); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *variant; 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1208s # "org.freedesktop.DBus.Properties.Set", 1208s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1208s # G_DBUS_CALL_FLAGS_NONE, 1208s # -1, 1208s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1208s # g_variant_unref (variant); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_signal (GDBusProxy *proxy, 1208s # const gchar *sender_name G_GNUC_UNUSED, 1208s # const gchar *signal_name, 1208s # GVariant *parameters) 1208s # { 1208s # _ExtendedGDBusSignalInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # gsize n; 1208s # guint signal_id; 1208s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1208s # if (info == NULL) 1208s # return; 1208s # num_params = g_variant_n_children (parameters); 1208s # paramv = g_new0 (GValue, num_params + 1); 1208s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[0], proxy); 1208s # g_variant_iter_init (&iter, parameters); 1208s # n = 1; 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_signal_emitv (paramv, signal_id, 0, NULL); 1208s # for (n = 0; n < num_params + 1; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1208s # GVariant *changed_properties, 1208s # const gchar *const *invalidated_properties) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1208s # guint n; 1208s # const gchar *key; 1208s # GVariantIter *iter; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # g_variant_get (changed_properties, "a{sv}", &iter); 1208s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1208s # g_datalist_remove_data (&proxy->priv->qdata, key); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # g_variant_iter_free (iter); 1208s # for (n = 0; invalidated_properties[n] != NULL; n++) 1208s # { 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1208s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1208s # if (info != NULL) 1208s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1208s # } 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_proxy_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1208s # GVariant *variant; 1208s # GVariant *value = NULL; 1208s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1208s # value = variant; 1208s # if (variant != NULL) 1208s # g_variant_unref (variant); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_init (GoodTypesProxy *proxy) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1208s # #else 1208s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1208s # #endif 1208s # 1208s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusProxyClass *proxy_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_proxy_finalize; 1208s # gobject_class->get_property = good_types_proxy_get_property; 1208s # gobject_class->set_property = good_types_proxy_set_property; 1208s # 1208s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1208s # proxy_class->g_signal = good_types_proxy_g_signal; 1208s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_proxy_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_sync: 1208s # * @connection: A #GDBusConnection. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_sync ( 1208s # GDBusConnection *connection, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1208s # * @user_data: User data to pass to @callback. 1208s # * 1208s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1208s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1208s # * 1208s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1208s # */ 1208s # void 1208s # good_types_proxy_new_for_bus ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GAsyncReadyCallback callback, 1208s # gpointer user_data) 1208s # { 1208s # 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); 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_finish: 1208s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_finish ( 1208s # GAsyncResult *res, 1208s # GError **error) 1208s # { 1208s # GObject *ret; 1208s # GObject *source_object; 1208s # source_object = g_async_result_get_source_object (res); 1208s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1208s # g_object_unref (source_object); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # /** 1208s # * good_types_proxy_new_for_bus_sync: 1208s # * @bus_type: A #GBusType. 1208s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1208s # * @name: A bus name (well-known or unique). 1208s # * @object_path: An object path. 1208s # * @cancellable: (nullable): A #GCancellable or %NULL. 1208s # * @error: Return location for error or %NULL 1208s # * 1208s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1208s # * 1208s # * The calling thread is blocked until a reply is received. 1208s # * 1208s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1208s # */ 1208s # GoodTypes * 1208s # good_types_proxy_new_for_bus_sync ( 1208s # GBusType bus_type, 1208s # GDBusProxyFlags flags, 1208s # const gchar *name, 1208s # const gchar *object_path, 1208s # GCancellable *cancellable, 1208s # GError **error) 1208s # { 1208s # GInitable *ret; 1208s # 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); 1208s # if (ret != NULL) 1208s # return GOOD_TYPES (ret); 1208s # else 1208s # return NULL; 1208s # } 1208s # 1208s # 1208s # /* ------------------------------------------------------------------------ */ 1208s # 1208s # /** 1208s # * GoodTypesSkeleton: 1208s # * 1208s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1208s # */ 1208s # 1208s # /** 1208s # * GoodTypesSkeletonClass: 1208s # * @parent_class: The parent class. 1208s # * 1208s # * Class structure for GoodTypesSkeleton. 1208s # */ 1208s # 1208s # struct _GoodTypesSkeletonPrivate 1208s # { 1208s # GValue *properties; 1208s # GList *changed_properties; 1208s # GSource *changed_properties_idle_source; 1208s # GMainContext *context; 1208s # GMutex lock; 1208s # }; 1208s # 1208s # static void 1208s # _good_types_skeleton_handle_method_call ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name, 1208s # const gchar *method_name, 1208s # GVariant *parameters, 1208s # GDBusMethodInvocation *invocation, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # _ExtendedGDBusMethodInfo *info; 1208s # GVariantIter iter; 1208s # GVariant *child; 1208s # GValue *paramv; 1208s # gsize num_params; 1208s # guint num_extra; 1208s # gsize n; 1208s # guint signal_id; 1208s # GValue return_value = G_VALUE_INIT; 1208s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1208s # g_assert (info != NULL); 1208s # num_params = g_variant_n_children (parameters); 1208s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1208s # n = 0; 1208s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1208s # g_value_set_object (¶mv[n++], skeleton); 1208s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1208s # g_value_set_object (¶mv[n++], invocation); 1208s # if (info->pass_fdlist) 1208s # { 1208s # #ifdef G_OS_UNIX 1208s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1208s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1208s # #else 1208s # g_assert_not_reached (); 1208s # #endif 1208s # } 1208s # g_variant_iter_init (&iter, parameters); 1208s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1208s # { 1208s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1208s # if (arg_info->use_gvariant) 1208s # { 1208s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1208s # g_value_set_variant (¶mv[n], child); 1208s # n++; 1208s # } 1208s # else 1208s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1208s # g_variant_unref (child); 1208s # } 1208s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1208s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1208s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1208s # if (!g_value_get_boolean (&return_value)) 1208s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1208s # g_value_unset (&return_value); 1208s # for (n = 0; n < num_params + num_extra; n++) 1208s # g_value_unset (¶mv[n]); 1208s # g_free (paramv); 1208s # } 1208s # 1208s # static GVariant * 1208s # _good_types_skeleton_handle_get_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # GVariant *ret; 1208s # ret = NULL; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # g_value_init (&value, pspec->value_type); 1208s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1208s # g_value_unset (&value); 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_skeleton_handle_set_property ( 1208s # GDBusConnection *connection G_GNUC_UNUSED, 1208s # const gchar *sender G_GNUC_UNUSED, 1208s # const gchar *object_path G_GNUC_UNUSED, 1208s # const gchar *interface_name G_GNUC_UNUSED, 1208s # const gchar *property_name, 1208s # GVariant *variant, 1208s # GError **error, 1208s # gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GValue value = G_VALUE_INIT; 1208s # GParamSpec *pspec; 1208s # _ExtendedGDBusPropertyInfo *info; 1208s # gboolean ret; 1208s # ret = FALSE; 1208s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1208s # g_assert (info != NULL); 1208s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1208s # if (pspec == NULL) 1208s # { 1208s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1208s # } 1208s # else 1208s # { 1208s # if (info->use_gvariant) 1208s # g_value_set_variant (&value, variant); 1208s # else 1208s # g_dbus_gvariant_to_gvalue (variant, &value); 1208s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1208s # g_value_unset (&value); 1208s # ret = TRUE; 1208s # } 1208s # return ret; 1208s # } 1208s # 1208s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1208s # { 1208s # _good_types_skeleton_handle_method_call, 1208s # _good_types_skeleton_handle_get_property, 1208s # _good_types_skeleton_handle_set_property, 1208s # {NULL} 1208s # }; 1208s # 1208s # static GDBusInterfaceInfo * 1208s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return good_types_interface_info (); 1208s # } 1208s # 1208s # static GDBusInterfaceVTable * 1208s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1208s # { 1208s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # 1208s # GVariantBuilder builder; 1208s # guint n; 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # if (_good_types_interface_info.parent_struct.properties == NULL) 1208s # goto out; 1208s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1208s # { 1208s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1208s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1208s # { 1208s # GVariant *value; 1208s # 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); 1208s # if (value != NULL) 1208s # { 1208s # g_variant_take_ref (value); 1208s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1208s # g_variant_unref (value); 1208s # } 1208s # } 1208s # } 1208s # out: 1208s # return g_variant_builder_end (&builder); 1208s # } 1208s # 1208s # static gboolean _good_types_emit_changed (gpointer user_data); 1208s # 1208s # static void 1208s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1208s # gboolean emit_changed = FALSE; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # { 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # emit_changed = TRUE; 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # 1208s # if (emit_changed) 1208s # _good_types_emit_changed (skeleton); 1208s # } 1208s # 1208s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_ADD_PRIVATE (GoodTypesSkeleton) 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #else 1208s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1208s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1208s # 1208s # #endif 1208s # static void 1208s # good_types_skeleton_finalize (GObject *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # guint n; 1208s # for (n = 0; n < 1; n++) 1208s # g_value_unset (&skeleton->priv->properties[n]); 1208s # g_free (skeleton->priv->properties); 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # if (skeleton->priv->changed_properties_idle_source != NULL) 1208s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1208s # g_main_context_unref (skeleton->priv->context); 1208s # g_mutex_clear (&skeleton->priv->lock); 1208s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_get_property (GObject *object, 1208s # guint prop_id, 1208s # GValue *value, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static gboolean 1208s # _good_types_emit_changed (gpointer user_data) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1208s # GList *l; 1208s # GVariantBuilder builder; 1208s # GVariantBuilder invalidated_builder; 1208s # guint num_changes; 1208s # 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1208s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1208s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *cp = l->data; 1208s # GVariant *variant; 1208s # const GValue *cur_value; 1208s # 1208s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1208s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1208s # { 1208s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1208s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1208s # g_variant_unref (variant); 1208s # num_changes++; 1208s # } 1208s # } 1208s # if (num_changes > 0) 1208s # { 1208s # GList *connections, *ll; 1208s # GVariant *signal_variant; 1208s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1208s # &builder, &invalidated_builder)); 1208s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1208s # for (ll = connections; ll != NULL; ll = ll->next) 1208s # { 1208s # GDBusConnection *connection = ll->data; 1208s # 1208s # g_dbus_connection_emit_signal (connection, 1208s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1208s # "org.freedesktop.DBus.Properties", 1208s # "PropertiesChanged", 1208s # signal_variant, 1208s # NULL); 1208s # } 1208s # g_variant_unref (signal_variant); 1208s # g_list_free_full (connections, g_object_unref); 1208s # } 1208s # else 1208s # { 1208s # g_variant_builder_clear (&builder); 1208s # g_variant_builder_clear (&invalidated_builder); 1208s # } 1208s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1208s # skeleton->priv->changed_properties = NULL; 1208s # skeleton->priv->changed_properties_idle_source = NULL; 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return FALSE; 1208s # } 1208s # 1208s # static void 1208s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1208s # { 1208s # ChangedProperty *cp; 1208s # GList *l; 1208s # cp = NULL; 1208s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1208s # { 1208s # ChangedProperty *i_cp = l->data; 1208s # if (i_cp->info == info) 1208s # { 1208s # cp = i_cp; 1208s # break; 1208s # } 1208s # } 1208s # if (cp == NULL) 1208s # { 1208s # cp = g_new0 (ChangedProperty, 1); 1208s # cp->prop_id = prop_id; 1208s # cp->info = info; 1208s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1208s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1208s # g_value_copy (orig_value, &cp->orig_value); 1208s # } 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_notify (GObject *object, 1208s # GParamSpec *pspec G_GNUC_UNUSED) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # if (skeleton->priv->changed_properties != NULL && 1208s # skeleton->priv->changed_properties_idle_source == NULL) 1208s # { 1208s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1208s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1208s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1208s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1208s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1208s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_set_property (GObject *object, 1208s # guint prop_id, 1208s # const GValue *value, 1208s # GParamSpec *pspec) 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1208s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # g_object_freeze_notify (object); 1208s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1208s # { 1208s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1208s # info->emits_changed_signal) 1208s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1208s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1208s # g_object_notify_by_pspec (object, pspec); 1208s # } 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # g_object_thaw_notify (object); 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1208s # { 1208s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1208s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1208s # #else 1208s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1208s # #endif 1208s # 1208s # g_mutex_init (&skeleton->priv->lock); 1208s # skeleton->priv->context = g_main_context_ref_thread_default (); 1208s # skeleton->priv->properties = g_new0 (GValue, 1); 1208s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1208s # } 1208s # 1208s # static GVariant * 1208s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1208s # { 1208s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1208s # GVariant *value; 1208s # g_mutex_lock (&skeleton->priv->lock); 1208s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1208s # g_mutex_unlock (&skeleton->priv->lock); 1208s # return value; 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1208s # { 1208s # GObjectClass *gobject_class; 1208s # GDBusInterfaceSkeletonClass *skeleton_class; 1208s # 1208s # gobject_class = G_OBJECT_CLASS (klass); 1208s # gobject_class->finalize = good_types_skeleton_finalize; 1208s # gobject_class->get_property = good_types_skeleton_get_property; 1208s # gobject_class->set_property = good_types_skeleton_set_property; 1208s # gobject_class->notify = good_types_skeleton_notify; 1208s # 1208s # 1208s # good_types_override_properties (gobject_class, 1); 1208s # 1208s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1208s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1208s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1208s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1208s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1208s # 1208s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1208s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1208s # #endif 1208s # } 1208s # 1208s # static void 1208s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1208s # { 1208s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1208s # } 1208s # 1208s # /** 1208s # * good_types_skeleton_new: 1208s # * 1208s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1208s # * 1208s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1208s # */ 1208s # GoodTypes * 1208s # good_types_skeleton_new (void) 1208s # { 1208s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1208s # } 1208s ok 3 __main__.TestCodegen.test_empty_interface_body 1208s # tmpdir: /tmp/tmpie7xfrl8 1208s # codegen: /usr/bin/gdbus-codegen 1208s # /tmp/tmpie7xfrl8/tmp3qkjyffj.xml: 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpie7xfrl8/tmp3qkjyffj.xml', '--output', '-', '--body'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* 1208s # * This file is generated by gdbus-codegen, do not modify it. 1208s # * 1208s # * The license of this code is the same as for the D-Bus interface description 1208s # * it was derived from. Note that it links to GLib, so must comply with the 1208s # * LGPL linking clauses. 1208s # */ 1208s # 1208s # #ifdef HAVE_CONFIG_H 1208s # # include "config.h" 1208s # #endif 1208s # 1208s # #include 1208s # #ifdef G_OS_UNIX 1208s # # include 1208s # #endif 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusArgInfo parent_struct; 1208s # gboolean use_gvariant; 1208s # } _ExtendedGDBusArgInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusMethodInfo parent_struct; 1208s # const gchar *signal_name; 1208s # gboolean pass_fdlist; 1208s # } _ExtendedGDBusMethodInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusSignalInfo parent_struct; 1208s # const gchar *signal_name; 1208s # } _ExtendedGDBusSignalInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusPropertyInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # guint use_gvariant : 1; 1208s # guint emits_changed_signal : 1; 1208s # } _ExtendedGDBusPropertyInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # GDBusInterfaceInfo parent_struct; 1208s # const gchar *hyphen_name; 1208s # } _ExtendedGDBusInterfaceInfo; 1208s # 1208s # typedef struct 1208s # { 1208s # const _ExtendedGDBusPropertyInfo *info; 1208s # guint prop_id; 1208s # GValue orig_value; /* the value before the change */ 1208s # } ChangedProperty; 1208s # 1208s # static void 1208s # _changed_property_free (ChangedProperty *data) 1208s # { 1208s # g_value_unset (&data->orig_value); 1208s # g_free (data); 1208s # } 1208s # 1208s # static gboolean 1208s # _g_strv_equal0 (gchar **a, gchar **b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # guint n; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # if (g_strv_length (a) != g_strv_length (b)) 1208s # goto out; 1208s # for (n = 0; a[n] != NULL; n++) 1208s # if (g_strcmp0 (a[n], b[n]) != 0) 1208s # goto out; 1208s # ret = TRUE; 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # static gboolean 1208s # _g_variant_equal0 (GVariant *a, GVariant *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # if (a == NULL && b == NULL) 1208s # { 1208s # ret = TRUE; 1208s # goto out; 1208s # } 1208s # if (a == NULL || b == NULL) 1208s # goto out; 1208s # ret = g_variant_equal (a, b); 1208s # out: 1208s # return ret; 1208s # } 1208s # 1208s # G_GNUC_UNUSED static gboolean 1208s # _g_value_equal (const GValue *a, const GValue *b) 1208s # { 1208s # gboolean ret = FALSE; 1208s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1208s # switch (G_VALUE_TYPE (a)) 1208s # { 1208s # case G_TYPE_BOOLEAN: 1208s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1208s # break; 1208s # case G_TYPE_UCHAR: 1208s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1208s # break; 1208s # case G_TYPE_INT: 1208s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1208s # break; 1208s # case G_TYPE_UINT: 1208s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1208s # break; 1208s # case G_TYPE_INT64: 1208s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1208s # break; 1208s # case G_TYPE_UINT64: 1208s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1208s # break; 1208s # case G_TYPE_DOUBLE: 1208s # { 1208s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1208s # gdouble da = g_value_get_double (a); 1208s # gdouble db = g_value_get_double (b); 1208s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1208s # } 1208s # break; 1208s # case G_TYPE_STRING: 1208s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1208s # break; 1208s # case G_TYPE_VARIANT: 1208s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1208s # break; 1208s # default: 1208s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1208s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1208s # else 1208s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1208s # break; 1208s # } 1208s # return ret; 1208s # } 1208s ok 4 __main__.TestCodegen.test_empty_interface_header 1208s # tmpdir: /tmp/tmpvrld5bun 1208s # codegen: /usr/bin/gdbus-codegen 1208s # /tmp/tmpvrld5bun/tmp7jmmnut8.xml: 1208s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvrld5bun/tmp7jmmnut8.xml', '--output', '-', '--header'] 1208s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* 1208s # * This file is generated by gdbus-codegen, do not modify it. 1208s # * 1208s # * The license of this code is the same as for the D-Bus interface description 1208s # * it was derived from. Note that it links to GLib, so must comply with the 1208s # * LGPL linking clauses. 1208s # */ 1208s # 1208s # #ifndef __STDOUT__ 1208s # #define __STDOUT__ 1208s # 1208s # #include 1208s # 1208s # G_BEGIN_DECLS 1208s # 1208s # 1208s # G_END_DECLS 1208s # 1208s # #endif /* __STDOUT__ */ 1209s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1209s # tmpdir: /tmp/tmp33ggpn0_ 1209s # codegen: /usr/bin/gdbus-codegen 1209s # /tmp/tmp33ggpn0_/tmpwkodmtxe.xml: 1209s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33ggpn0_/tmpwkodmtxe.xml', '--output', '-', '--interface-info-body'] 1209s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* 1209s # * This file is generated by gdbus-codegen, do not modify it. 1209s # * 1209s # * The license of this code is the same as for the D-Bus interface description 1209s # * it was derived from. Note that it links to GLib, so must comply with the 1209s # * LGPL linking clauses. 1209s # */ 1209s # 1209s # #ifdef HAVE_CONFIG_H 1209s # # include "config.h" 1209s # #endif 1209s # 1209s # #include 1209s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1209s # tmpdir: /tmp/tmpf4a6ue38 1209s # codegen: /usr/bin/gdbus-codegen 1209s # /tmp/tmpf4a6ue38/tmpgattcjxd.xml: 1209s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf4a6ue38/tmpgattcjxd.xml', '--output', '-', '--interface-info-header'] 1209s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* 1209s # * This file is generated by gdbus-codegen, do not modify it. 1209s # * 1209s # * The license of this code is the same as for the D-Bus interface description 1209s # * it was derived from. Note that it links to GLib, so must comply with the 1209s # * LGPL linking clauses. 1209s # */ 1209s # 1209s # #ifndef __STDOUT__ 1209s # #define __STDOUT__ 1209s # 1209s # #include 1209s # 1209s # G_BEGIN_DECLS 1209s # 1209s # 1209s # G_END_DECLS 1209s # 1209s # #endif /* __STDOUT__ */ 1209s # Executing: glib/codegen.py.test 1209s ok 7 __main__.TestCodegen.test_generate_docbook 1209s # tmpdir: /tmp/tmp3lfmm4aj 1209s # codegen: /usr/bin/gdbus-codegen 1209s # /tmp/tmp3lfmm4aj/tmp3dg1ias9.xml: 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3lfmm4aj/tmp3dg1ias9.xml', '--generate-docbook', 'test'] 1209s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: 1209s ok 8 __main__.TestCodegen.test_generate_md 1209s # tmpdir: /tmp/tmponx5mj3h 1209s # codegen: /usr/bin/gdbus-codegen 1209s # /tmp/tmponx5mj3h/tmpu2vlrskg.xml: 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmponx5mj3h/tmpu2vlrskg.xml', '--generate-md', 'test'] 1209s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: 1209s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1209s # tmpdir: /tmp/tmpjkeijoc0 1209s # codegen: /usr/bin/gdbus-codegen 1209s # /tmp/tmpjkeijoc0/tmpv_slgrps.xml: 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # 1209s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjkeijoc0/tmpv_slgrps.xml', '--output', '-', '--body'] 1209s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* 1209s # * This file is generated by gdbus-codegen, do not modify it. 1209s # * 1209s # * The license of this code is the same as for the D-Bus interface description 1209s # * it was derived from. Note that it links to GLib, so must comply with the 1209s # * LGPL linking clauses. 1209s # */ 1209s # 1209s # #ifdef HAVE_CONFIG_H 1209s # # include "config.h" 1209s # #endif 1209s # 1209s # #include 1209s # #ifdef G_OS_UNIX 1209s # # include 1209s # #endif 1209s # 1209s # #ifdef G_ENABLE_DEBUG 1209s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1209s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1209s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1209s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1209s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1209s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1209s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1209s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1209s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1209s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1209s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1209s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1209s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1209s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1209s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1209s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1209s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1209s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1209s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1209s # #else /* !G_ENABLE_DEBUG */ 1209s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1209s # * Do not access GValues directly in your code. Instead, use the 1209s # * g_value_get_*() functions 1209s # */ 1209s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1209s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1209s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1209s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1209s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1209s # #endif /* !G_ENABLE_DEBUG */ 1209s # 1209s # typedef struct 1209s # { 1209s # GDBusArgInfo parent_struct; 1209s # gboolean use_gvariant; 1209s # } _ExtendedGDBusArgInfo; 1209s # 1209s # typedef struct 1209s # { 1209s # GDBusMethodInfo parent_struct; 1209s # const gchar *signal_name; 1209s # gboolean pass_fdlist; 1209s # } _ExtendedGDBusMethodInfo; 1209s # 1209s # typedef struct 1209s # { 1209s # GDBusSignalInfo parent_struct; 1209s # const gchar *signal_name; 1209s # } _ExtendedGDBusSignalInfo; 1209s # 1209s # typedef struct 1209s # { 1209s # GDBusPropertyInfo parent_struct; 1209s # const gchar *hyphen_name; 1209s # guint use_gvariant : 1; 1209s # guint emits_changed_signal : 1; 1209s # } _ExtendedGDBusPropertyInfo; 1209s # 1209s # typedef struct 1209s # { 1209s # GDBusInterfaceInfo parent_struct; 1209s # const gchar *hyphen_name; 1209s # } _ExtendedGDBusInterfaceInfo; 1209s # 1209s # typedef struct 1209s # { 1209s # const _ExtendedGDBusPropertyInfo *info; 1209s # guint prop_id; 1209s # GValue orig_value; /* the value before the change */ 1209s # } ChangedProperty; 1209s # 1209s # static void 1209s # _changed_property_free (ChangedProperty *data) 1209s # { 1209s # g_value_unset (&data->orig_value); 1209s # g_free (data); 1209s # } 1209s # 1209s # static gboolean 1209s # _g_strv_equal0 (gchar **a, gchar **b) 1209s # { 1209s # gboolean ret = FALSE; 1209s # guint n; 1209s # if (a == NULL && b == NULL) 1209s # { 1209s # ret = TRUE; 1209s # goto out; 1209s # } 1209s # if (a == NULL || b == NULL) 1209s # goto out; 1209s # if (g_strv_length (a) != g_strv_length (b)) 1209s # goto out; 1209s # for (n = 0; a[n] != NULL; n++) 1209s # if (g_strcmp0 (a[n], b[n]) != 0) 1209s # goto out; 1209s # ret = TRUE; 1209s # out: 1209s # return ret; 1209s # } 1209s # 1209s # static gboolean 1209s # _g_variant_equal0 (GVariant *a, GVariant *b) 1209s # { 1209s # gboolean ret = FALSE; 1209s # if (a == NULL && b == NULL) 1209s # { 1209s # ret = TRUE; 1209s # goto out; 1209s # } 1209s # if (a == NULL || b == NULL) 1209s # goto out; 1209s # ret = g_variant_equal (a, b); 1209s # out: 1209s # return ret; 1209s # } 1209s # 1209s # G_GNUC_UNUSED static gboolean 1209s # _g_value_equal (const GValue *a, const GValue *b) 1209s # { 1209s # gboolean ret = FALSE; 1209s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1209s # switch (G_VALUE_TYPE (a)) 1209s # { 1209s # case G_TYPE_BOOLEAN: 1209s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1209s # break; 1209s # case G_TYPE_UCHAR: 1209s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1209s # break; 1209s # case G_TYPE_INT: 1209s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1209s # break; 1209s # case G_TYPE_UINT: 1209s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1209s # break; 1209s # case G_TYPE_INT64: 1209s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1209s # break; 1209s # case G_TYPE_UINT64: 1209s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1209s # break; 1209s # case G_TYPE_DOUBLE: 1209s # { 1209s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1209s # gdouble da = g_value_get_double (a); 1209s # gdouble db = g_value_get_double (b); 1209s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1209s # } 1209s # break; 1209s # case G_TYPE_STRING: 1209s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1209s # break; 1209s # case G_TYPE_VARIANT: 1209s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1209s # break; 1209s # default: 1209s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1209s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1209s # else 1209s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1209s # break; 1209s # } 1209s # return ret; 1209s # } 1209s # 1209s # static void 1209s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1209s # GClosure *closure, 1209s # GValue *return_value, 1209s # unsigned int n_param_values, 1209s # const GValue *param_values, 1209s # void *invocation_hint G_GNUC_UNUSED, 1209s # void *marshal_data) 1209s # { 1209s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1209s # (void *data1, 1209s # GDBusMethodInvocation *arg_method_invocation, 1209s # void *data2); 1209s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1209s # GCClosure *cc = (GCClosure*) closure; 1209s # void *data1, *data2; 1209s # gboolean v_return; 1209s # 1209s # g_return_if_fail (return_value != NULL); 1209s # g_return_if_fail (n_param_values == 2); 1209s # 1209s # if (G_CCLOSURE_SWAP_DATA (closure)) 1209s # { 1209s # data1 = closure->data; 1209s # data2 = g_value_peek_pointer (param_values + 0); 1209s # } 1209s # else 1209s # { 1209s # data1 = g_value_peek_pointer (param_values + 0); 1209s # data2 = closure->data; 1209s # } 1209s # 1209s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1209s # (marshal_data ? marshal_data : cc->callback); 1209s # 1209s # v_return = 1209s # callback (data1, 1209s # g_marshal_value_peek_object (param_values + 1), 1209s # data2); 1209s # 1209s # g_value_set_boolean (return_value, v_return); 1209s # } 1209s # 1209s # /* ------------------------------------------------------------------------ 1209s # * Code for interface org.project.CallableIface 1209s # * ------------------------------------------------------------------------ 1209s # */ 1209s # 1209s # /** 1209s # * SECTION:OrgProjectCallableIface 1209s # * @title: OrgProjectCallableIface 1209s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1209s # * 1209s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1209s # */ 1209s # 1209s # /* ---- Introspection data for org.project.CallableIface ---- */ 1209s # 1209s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1209s # { 1209s # { 1209s # -1, 1209s # (gchar *) "SimpleMethod", 1209s # NULL, 1209s # NULL, 1209s # NULL 1209s # }, 1209s # "handle-simple-method", 1209s # FALSE 1209s # }; 1209s # 1209s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1209s # { 1209s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1209s # NULL 1209s # }; 1209s # 1209s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1209s # { 1209s # { 1209s # -1, 1209s # (gchar *) "org.project.CallableIface", 1209s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1209s # NULL, 1209s # NULL, 1209s # NULL 1209s # }, 1209s # "org-project-callable-iface", 1209s # }; 1209s # 1209s # 1209s # /** 1209s # * org_project_callable_iface_interface_info: 1209s # * 1209s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1209s # * 1209s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1209s # */ 1209s # GDBusInterfaceInfo * 1209s # org_project_callable_iface_interface_info (void) 1209s # { 1209s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_override_properties: 1209s # * @klass: The class structure for a #GObject derived class. 1209s # * @property_id_begin: The property id to assign to the first overridden property. 1209s # * 1209s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1209s # * The properties are overridden in the order they are defined. 1209s # * 1209s # * Returns: The last property id. 1209s # */ 1209s # guint 1209s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1209s # { 1209s # return property_id_begin - 1; 1209s # } 1209s # 1209s # 1209s # inline static void 1209s # org_project_callable_iface_method_marshal_simple_method ( 1209s # GClosure *closure, 1209s # GValue *return_value, 1209s # unsigned int n_param_values, 1209s # const GValue *param_values, 1209s # void *invocation_hint, 1209s # void *marshal_data) 1209s # { 1209s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1209s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1209s # } 1209s # 1209s # 1209s # /** 1209s # * OrgProjectCallableIface: 1209s # * 1209s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectCallableIfaceIface: 1209s # * @parent_iface: The parent interface. 1209s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1209s # * 1209s # * Virtual table for the D-Bus interface org.project.CallableIface. 1209s # */ 1209s # 1209s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1209s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1209s # 1209s # static void 1209s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1209s # { 1209s # /* GObject signals for incoming D-Bus method calls: */ 1209s # /** 1209s # * OrgProjectCallableIface::handle-simple-method: 1209s # * @object: A #OrgProjectCallableIface. 1209s # * @invocation: A #GDBusMethodInvocation. 1209s # * 1209s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1209s # * 1209s # * 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. 1209s # * 1209s # * 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. 1209s # */ 1209s # g_signal_new ("handle-simple-method", 1209s # G_TYPE_FROM_INTERFACE (iface), 1209s # G_SIGNAL_RUN_LAST, 1209s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1209s # g_signal_accumulator_true_handled, 1209s # NULL, 1209s # org_project_callable_iface_method_marshal_simple_method, 1209s # G_TYPE_BOOLEAN, 1209s # 1, 1209s # G_TYPE_DBUS_METHOD_INVOCATION); 1209s # 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_call_simple_method: 1209s # * @proxy: A #OrgProjectCallableIfaceProxy. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1209s # */ 1209s # void 1209s # org_project_callable_iface_call_simple_method ( 1209s # OrgProjectCallableIface *proxy, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1209s # "SimpleMethod", 1209s # g_variant_new ("()"), 1209s # G_DBUS_CALL_FLAGS_NONE, 1209s # -1, 1209s # cancellable, 1209s # callback, 1209s # user_data); 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_call_simple_method_finish: 1209s # * @proxy: A #OrgProjectCallableIfaceProxy. 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1209s # * @error: Return location for error or %NULL. 1209s # * 1209s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1209s # * 1209s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1209s # */ 1209s # gboolean 1209s # org_project_callable_iface_call_simple_method_finish ( 1209s # OrgProjectCallableIface *proxy, 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GVariant *_ret; 1209s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1209s # if (_ret == NULL) 1209s # goto _out; 1209s # g_variant_get (_ret, 1209s # "()"); 1209s # g_variant_unref (_ret); 1209s # _out: 1209s # return _ret != NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_call_simple_method_sync: 1209s # * @proxy: A #OrgProjectCallableIfaceProxy. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL. 1209s # * 1209s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1209s # * 1209s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1209s # */ 1209s # gboolean 1209s # org_project_callable_iface_call_simple_method_sync ( 1209s # OrgProjectCallableIface *proxy, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GVariant *_ret; 1209s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1209s # "SimpleMethod", 1209s # g_variant_new ("()"), 1209s # G_DBUS_CALL_FLAGS_NONE, 1209s # -1, 1209s # cancellable, 1209s # error); 1209s # if (_ret == NULL) 1209s # goto _out; 1209s # g_variant_get (_ret, 1209s # "()"); 1209s # g_variant_unref (_ret); 1209s # _out: 1209s # return _ret != NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_complete_simple_method: 1209s # * @object: A #OrgProjectCallableIface. 1209s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1209s # * 1209s # * 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. 1209s # * 1209s # * This method will free @invocation, you cannot use it afterwards. 1209s # */ 1209s # void 1209s # org_project_callable_iface_complete_simple_method ( 1209s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1209s # GDBusMethodInvocation *invocation) 1209s # { 1209s # g_dbus_method_invocation_return_value (invocation, 1209s # g_variant_new ("()")); 1209s # } 1209s # 1209s # /* ------------------------------------------------------------------------ */ 1209s # 1209s # /** 1209s # * OrgProjectCallableIfaceProxy: 1209s # * 1209s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectCallableIfaceProxyClass: 1209s # * @parent_class: The parent class. 1209s # * 1209s # * Class structure for #OrgProjectCallableIfaceProxy. 1209s # */ 1209s # 1209s # struct _OrgProjectCallableIfaceProxyPrivate 1209s # { 1209s # GData *qdata; 1209s # }; 1209s # 1209s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1209s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1209s # 1209s # #else 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1209s # 1209s # #endif 1209s # static void 1209s # org_project_callable_iface_proxy_finalize (GObject *object) 1209s # { 1209s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1209s # g_datalist_clear (&proxy->priv->qdata); 1209s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1209s # guint prop_id G_GNUC_UNUSED, 1209s # GValue *value G_GNUC_UNUSED, 1209s # GParamSpec *pspec G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1209s # guint prop_id G_GNUC_UNUSED, 1209s # const GValue *value G_GNUC_UNUSED, 1209s # GParamSpec *pspec G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1209s # const gchar *sender_name G_GNUC_UNUSED, 1209s # const gchar *signal_name, 1209s # GVariant *parameters) 1209s # { 1209s # _ExtendedGDBusSignalInfo *info; 1209s # GVariantIter iter; 1209s # GVariant *child; 1209s # GValue *paramv; 1209s # gsize num_params; 1209s # gsize n; 1209s # guint signal_id; 1209s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1209s # if (info == NULL) 1209s # return; 1209s # num_params = g_variant_n_children (parameters); 1209s # paramv = g_new0 (GValue, num_params + 1); 1209s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1209s # g_value_set_object (¶mv[0], proxy); 1209s # g_variant_iter_init (&iter, parameters); 1209s # n = 1; 1209s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1209s # { 1209s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1209s # if (arg_info->use_gvariant) 1209s # { 1209s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1209s # g_value_set_variant (¶mv[n], child); 1209s # n++; 1209s # } 1209s # else 1209s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1209s # g_variant_unref (child); 1209s # } 1209s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1209s # g_signal_emitv (paramv, signal_id, 0, NULL); 1209s # for (n = 0; n < num_params + 1; n++) 1209s # g_value_unset (¶mv[n]); 1209s # g_free (paramv); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1209s # GVariant *changed_properties, 1209s # const gchar *const *invalidated_properties) 1209s # { 1209s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1209s # guint n; 1209s # const gchar *key; 1209s # GVariantIter *iter; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # g_variant_get (changed_properties, "a{sv}", &iter); 1209s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1209s # { 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1209s # g_datalist_remove_data (&proxy->priv->qdata, key); 1209s # if (info != NULL) 1209s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1209s # } 1209s # g_variant_iter_free (iter); 1209s # for (n = 0; invalidated_properties[n] != NULL; n++) 1209s # { 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1209s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1209s # if (info != NULL) 1209s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1209s # } 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1209s # { 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1209s # #else 1209s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1209s # #endif 1209s # 1209s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1209s # { 1209s # GObjectClass *gobject_class; 1209s # GDBusProxyClass *proxy_class; 1209s # 1209s # gobject_class = G_OBJECT_CLASS (klass); 1209s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1209s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1209s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1209s # 1209s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1209s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1209s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1209s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1209s # #endif 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new: 1209s # * @connection: A #GDBusConnection. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1209s # * 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1209s # */ 1209s # void 1209s # org_project_callable_iface_proxy_new ( 1209s # GDBusConnection *connection, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # 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); 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new_finish: 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectCallableIface * 1209s # org_project_callable_iface_proxy_new_finish ( 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GObject *ret; 1209s # GObject *source_object; 1209s # source_object = g_async_result_get_source_object (res); 1209s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1209s # g_object_unref (source_object); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new_sync: 1209s # * @connection: A #GDBusConnection. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1209s # * 1209s # * The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectCallableIface * 1209s # org_project_callable_iface_proxy_new_sync ( 1209s # GDBusConnection *connection, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GInitable *ret; 1209s # 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); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new_for_bus: 1209s # * @bus_type: A #GBusType. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: A bus name (well-known or unique). 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1209s # * 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1209s # */ 1209s # void 1209s # org_project_callable_iface_proxy_new_for_bus ( 1209s # GBusType bus_type, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # 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); 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new_for_bus_finish: 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectCallableIface * 1209s # org_project_callable_iface_proxy_new_for_bus_finish ( 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GObject *ret; 1209s # GObject *source_object; 1209s # source_object = g_async_result_get_source_object (res); 1209s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1209s # g_object_unref (source_object); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_proxy_new_for_bus_sync: 1209s # * @bus_type: A #GBusType. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: A bus name (well-known or unique). 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1209s # * 1209s # * The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectCallableIface * 1209s # org_project_callable_iface_proxy_new_for_bus_sync ( 1209s # GBusType bus_type, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GInitable *ret; 1209s # 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); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # 1209s # /* ------------------------------------------------------------------------ */ 1209s # 1209s # /** 1209s # * OrgProjectCallableIfaceSkeleton: 1209s # * 1209s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectCallableIfaceSkeletonClass: 1209s # * @parent_class: The parent class. 1209s # * 1209s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1209s # */ 1209s # 1209s # struct _OrgProjectCallableIfaceSkeletonPrivate 1209s # { 1209s # GValue *properties; 1209s # GList *changed_properties; 1209s # GSource *changed_properties_idle_source; 1209s # GMainContext *context; 1209s # GMutex lock; 1209s # }; 1209s # 1209s # static void 1209s # _org_project_callable_iface_skeleton_handle_method_call ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name, 1209s # const gchar *method_name, 1209s # GVariant *parameters, 1209s # GDBusMethodInvocation *invocation, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1209s # _ExtendedGDBusMethodInfo *info; 1209s # GVariantIter iter; 1209s # GVariant *child; 1209s # GValue *paramv; 1209s # gsize num_params; 1209s # guint num_extra; 1209s # gsize n; 1209s # guint signal_id; 1209s # GValue return_value = G_VALUE_INIT; 1209s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1209s # g_assert (info != NULL); 1209s # num_params = g_variant_n_children (parameters); 1209s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1209s # n = 0; 1209s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1209s # g_value_set_object (¶mv[n++], skeleton); 1209s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1209s # g_value_set_object (¶mv[n++], invocation); 1209s # if (info->pass_fdlist) 1209s # { 1209s # #ifdef G_OS_UNIX 1209s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1209s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1209s # #else 1209s # g_assert_not_reached (); 1209s # #endif 1209s # } 1209s # g_variant_iter_init (&iter, parameters); 1209s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1209s # { 1209s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1209s # if (arg_info->use_gvariant) 1209s # { 1209s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1209s # g_value_set_variant (¶mv[n], child); 1209s # n++; 1209s # } 1209s # else 1209s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1209s # g_variant_unref (child); 1209s # } 1209s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1209s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1209s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1209s # if (!g_value_get_boolean (&return_value)) 1209s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1209s # g_value_unset (&return_value); 1209s # for (n = 0; n < num_params + num_extra; n++) 1209s # g_value_unset (¶mv[n]); 1209s # g_free (paramv); 1209s # } 1209s # 1209s # static GVariant * 1209s # _org_project_callable_iface_skeleton_handle_get_property ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name G_GNUC_UNUSED, 1209s # const gchar *property_name, 1209s # GError **error, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1209s # GValue value = G_VALUE_INIT; 1209s # GParamSpec *pspec; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # GVariant *ret; 1209s # ret = NULL; 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1209s # g_assert (info != NULL); 1209s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1209s # if (pspec == NULL) 1209s # { 1209s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1209s # } 1209s # else 1209s # { 1209s # g_value_init (&value, pspec->value_type); 1209s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1209s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1209s # g_value_unset (&value); 1209s # } 1209s # return ret; 1209s # } 1209s # 1209s # static gboolean 1209s # _org_project_callable_iface_skeleton_handle_set_property ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name G_GNUC_UNUSED, 1209s # const gchar *property_name, 1209s # GVariant *variant, 1209s # GError **error, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1209s # GValue value = G_VALUE_INIT; 1209s # GParamSpec *pspec; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # gboolean ret; 1209s # ret = FALSE; 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1209s # g_assert (info != NULL); 1209s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1209s # if (pspec == NULL) 1209s # { 1209s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1209s # } 1209s # else 1209s # { 1209s # if (info->use_gvariant) 1209s # g_value_set_variant (&value, variant); 1209s # else 1209s # g_dbus_gvariant_to_gvalue (variant, &value); 1209s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1209s # g_value_unset (&value); 1209s # ret = TRUE; 1209s # } 1209s # return ret; 1209s # } 1209s # 1209s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1209s # { 1209s # _org_project_callable_iface_skeleton_handle_method_call, 1209s # _org_project_callable_iface_skeleton_handle_get_property, 1209s # _org_project_callable_iface_skeleton_handle_set_property, 1209s # {NULL} 1209s # }; 1209s # 1209s # static GDBusInterfaceInfo * 1209s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1209s # { 1209s # return org_project_callable_iface_interface_info (); 1209s # } 1209s # 1209s # static GDBusInterfaceVTable * 1209s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1209s # { 1209s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1209s # } 1209s # 1209s # static GVariant * 1209s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1209s # { 1209s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1209s # 1209s # GVariantBuilder builder; 1209s # guint n; 1209s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1209s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1209s # goto out; 1209s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1209s # { 1209s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1209s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1209s # { 1209s # GVariant *value; 1209s # 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); 1209s # if (value != NULL) 1209s # { 1209s # g_variant_take_ref (value); 1209s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1209s # g_variant_unref (value); 1209s # } 1209s # } 1209s # } 1209s # out: 1209s # return g_variant_builder_end (&builder); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1209s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1209s # 1209s # #else 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1209s # 1209s # #endif 1209s # static void 1209s # org_project_callable_iface_skeleton_finalize (GObject *object) 1209s # { 1209s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1209s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1209s # if (skeleton->priv->changed_properties_idle_source != NULL) 1209s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1209s # g_main_context_unref (skeleton->priv->context); 1209s # g_mutex_clear (&skeleton->priv->lock); 1209s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1209s # { 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1209s # #else 1209s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1209s # #endif 1209s # 1209s # g_mutex_init (&skeleton->priv->lock); 1209s # skeleton->priv->context = g_main_context_ref_thread_default (); 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1209s # { 1209s # GObjectClass *gobject_class; 1209s # GDBusInterfaceSkeletonClass *skeleton_class; 1209s # 1209s # gobject_class = G_OBJECT_CLASS (klass); 1209s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1209s # 1209s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1209s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1209s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1209s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1209s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1209s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1209s # #endif 1209s # } 1209s # 1209s # static void 1209s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # /** 1209s # * org_project_callable_iface_skeleton_new: 1209s # * 1209s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1209s # */ 1209s # OrgProjectCallableIface * 1209s # org_project_callable_iface_skeleton_new (void) 1209s # { 1209s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1209s # } 1209s # 1209s # /* ------------------------------------------------------------------------ 1209s # * Code for interface org.project.OtherCallableIface 1209s # * ------------------------------------------------------------------------ 1209s # */ 1209s # 1209s # /** 1209s # * SECTION:OrgProjectOtherCallableIface 1209s # * @title: OrgProjectOtherCallableIface 1209s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1209s # * 1209s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1209s # */ 1209s # 1209s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1209s # 1209s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1209s # { 1209s # { 1209s # -1, 1209s # (gchar *) "SimpleMethod", 1209s # NULL, 1209s # NULL, 1209s # NULL 1209s # }, 1209s # "handle-simple-method", 1209s # FALSE 1209s # }; 1209s # 1209s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1209s # { 1209s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1209s # NULL 1209s # }; 1209s # 1209s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1209s # { 1209s # { 1209s # -1, 1209s # (gchar *) "org.project.OtherCallableIface", 1209s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1209s # NULL, 1209s # NULL, 1209s # NULL 1209s # }, 1209s # "org-project-other-callable-iface", 1209s # }; 1209s # 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_interface_info: 1209s # * 1209s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1209s # * 1209s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1209s # */ 1209s # GDBusInterfaceInfo * 1209s # org_project_other_callable_iface_interface_info (void) 1209s # { 1209s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_override_properties: 1209s # * @klass: The class structure for a #GObject derived class. 1209s # * @property_id_begin: The property id to assign to the first overridden property. 1209s # * 1209s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1209s # * The properties are overridden in the order they are defined. 1209s # * 1209s # * Returns: The last property id. 1209s # */ 1209s # guint 1209s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1209s # { 1209s # return property_id_begin - 1; 1209s # } 1209s # 1209s # 1209s # inline static void 1209s # org_project_other_callable_iface_method_marshal_simple_method ( 1209s # GClosure *closure, 1209s # GValue *return_value, 1209s # unsigned int n_param_values, 1209s # const GValue *param_values, 1209s # void *invocation_hint, 1209s # void *marshal_data) 1209s # { 1209s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1209s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1209s # } 1209s # 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIface: 1209s # * 1209s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIfaceIface: 1209s # * @parent_iface: The parent interface. 1209s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1209s # * 1209s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1209s # */ 1209s # 1209s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1209s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1209s # 1209s # static void 1209s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1209s # { 1209s # /* GObject signals for incoming D-Bus method calls: */ 1209s # /** 1209s # * OrgProjectOtherCallableIface::handle-simple-method: 1209s # * @object: A #OrgProjectOtherCallableIface. 1209s # * @invocation: A #GDBusMethodInvocation. 1209s # * 1209s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1209s # * 1209s # * 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. 1209s # * 1209s # * 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. 1209s # */ 1209s # g_signal_new ("handle-simple-method", 1209s # G_TYPE_FROM_INTERFACE (iface), 1209s # G_SIGNAL_RUN_LAST, 1209s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1209s # g_signal_accumulator_true_handled, 1209s # NULL, 1209s # org_project_other_callable_iface_method_marshal_simple_method, 1209s # G_TYPE_BOOLEAN, 1209s # 1, 1209s # G_TYPE_DBUS_METHOD_INVOCATION); 1209s # 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_call_simple_method: 1209s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1209s # */ 1209s # void 1209s # org_project_other_callable_iface_call_simple_method ( 1209s # OrgProjectOtherCallableIface *proxy, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1209s # "SimpleMethod", 1209s # g_variant_new ("()"), 1209s # G_DBUS_CALL_FLAGS_NONE, 1209s # -1, 1209s # cancellable, 1209s # callback, 1209s # user_data); 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_call_simple_method_finish: 1209s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1209s # * @error: Return location for error or %NULL. 1209s # * 1209s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1209s # * 1209s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1209s # */ 1209s # gboolean 1209s # org_project_other_callable_iface_call_simple_method_finish ( 1209s # OrgProjectOtherCallableIface *proxy, 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GVariant *_ret; 1209s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1209s # if (_ret == NULL) 1209s # goto _out; 1209s # g_variant_get (_ret, 1209s # "()"); 1209s # g_variant_unref (_ret); 1209s # _out: 1209s # return _ret != NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_call_simple_method_sync: 1209s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL. 1209s # * 1209s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1209s # * 1209s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1209s # */ 1209s # gboolean 1209s # org_project_other_callable_iface_call_simple_method_sync ( 1209s # OrgProjectOtherCallableIface *proxy, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GVariant *_ret; 1209s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1209s # "SimpleMethod", 1209s # g_variant_new ("()"), 1209s # G_DBUS_CALL_FLAGS_NONE, 1209s # -1, 1209s # cancellable, 1209s # error); 1209s # if (_ret == NULL) 1209s # goto _out; 1209s # g_variant_get (_ret, 1209s # "()"); 1209s # g_variant_unref (_ret); 1209s # _out: 1209s # return _ret != NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_complete_simple_method: 1209s # * @object: A #OrgProjectOtherCallableIface. 1209s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1209s # * 1209s # * 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. 1209s # * 1209s # * This method will free @invocation, you cannot use it afterwards. 1209s # */ 1209s # void 1209s # org_project_other_callable_iface_complete_simple_method ( 1209s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1209s # GDBusMethodInvocation *invocation) 1209s # { 1209s # g_dbus_method_invocation_return_value (invocation, 1209s # g_variant_new ("()")); 1209s # } 1209s # 1209s # /* ------------------------------------------------------------------------ */ 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIfaceProxy: 1209s # * 1209s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIfaceProxyClass: 1209s # * @parent_class: The parent class. 1209s # * 1209s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1209s # */ 1209s # 1209s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1209s # { 1209s # GData *qdata; 1209s # }; 1209s # 1209s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1209s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1209s # 1209s # #else 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1209s # 1209s # #endif 1209s # static void 1209s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1209s # { 1209s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1209s # g_datalist_clear (&proxy->priv->qdata); 1209s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1209s # guint prop_id G_GNUC_UNUSED, 1209s # GValue *value G_GNUC_UNUSED, 1209s # GParamSpec *pspec G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1209s # guint prop_id G_GNUC_UNUSED, 1209s # const GValue *value G_GNUC_UNUSED, 1209s # GParamSpec *pspec G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1209s # const gchar *sender_name G_GNUC_UNUSED, 1209s # const gchar *signal_name, 1209s # GVariant *parameters) 1209s # { 1209s # _ExtendedGDBusSignalInfo *info; 1209s # GVariantIter iter; 1209s # GVariant *child; 1209s # GValue *paramv; 1209s # gsize num_params; 1209s # gsize n; 1209s # guint signal_id; 1209s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1209s # if (info == NULL) 1209s # return; 1209s # num_params = g_variant_n_children (parameters); 1209s # paramv = g_new0 (GValue, num_params + 1); 1209s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1209s # g_value_set_object (¶mv[0], proxy); 1209s # g_variant_iter_init (&iter, parameters); 1209s # n = 1; 1209s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1209s # { 1209s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1209s # if (arg_info->use_gvariant) 1209s # { 1209s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1209s # g_value_set_variant (¶mv[n], child); 1209s # n++; 1209s # } 1209s # else 1209s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1209s # g_variant_unref (child); 1209s # } 1209s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1209s # g_signal_emitv (paramv, signal_id, 0, NULL); 1209s # for (n = 0; n < num_params + 1; n++) 1209s # g_value_unset (¶mv[n]); 1209s # g_free (paramv); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1209s # GVariant *changed_properties, 1209s # const gchar *const *invalidated_properties) 1209s # { 1209s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1209s # guint n; 1209s # const gchar *key; 1209s # GVariantIter *iter; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # g_variant_get (changed_properties, "a{sv}", &iter); 1209s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1209s # { 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1209s # g_datalist_remove_data (&proxy->priv->qdata, key); 1209s # if (info != NULL) 1209s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1209s # } 1209s # g_variant_iter_free (iter); 1209s # for (n = 0; invalidated_properties[n] != NULL; n++) 1209s # { 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1209s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1209s # if (info != NULL) 1209s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1209s # } 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1209s # { 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1209s # #else 1209s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1209s # #endif 1209s # 1209s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1209s # { 1209s # GObjectClass *gobject_class; 1209s # GDBusProxyClass *proxy_class; 1209s # 1209s # gobject_class = G_OBJECT_CLASS (klass); 1209s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1209s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1209s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1209s # 1209s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1209s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1209s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1209s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1209s # #endif 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new: 1209s # * @connection: A #GDBusConnection. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1209s # * 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1209s # */ 1209s # void 1209s # org_project_other_callable_iface_proxy_new ( 1209s # GDBusConnection *connection, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # 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); 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new_finish: 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectOtherCallableIface * 1209s # org_project_other_callable_iface_proxy_new_finish ( 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GObject *ret; 1209s # GObject *source_object; 1209s # source_object = g_async_result_get_source_object (res); 1209s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1209s # g_object_unref (source_object); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new_sync: 1209s # * @connection: A #GDBusConnection. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1209s # * 1209s # * The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectOtherCallableIface * 1209s # org_project_other_callable_iface_proxy_new_sync ( 1209s # GDBusConnection *connection, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GInitable *ret; 1209s # 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); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new_for_bus: 1209s # * @bus_type: A #GBusType. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: A bus name (well-known or unique). 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1209s # * @user_data: User data to pass to @callback. 1209s # * 1209s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1209s # * 1209s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1209s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1209s # * 1209s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1209s # */ 1209s # void 1209s # org_project_other_callable_iface_proxy_new_for_bus ( 1209s # GBusType bus_type, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GAsyncReadyCallback callback, 1209s # gpointer user_data) 1209s # { 1209s # 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); 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1209s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectOtherCallableIface * 1209s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1209s # GAsyncResult *res, 1209s # GError **error) 1209s # { 1209s # GObject *ret; 1209s # GObject *source_object; 1209s # source_object = g_async_result_get_source_object (res); 1209s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1209s # g_object_unref (source_object); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1209s # * @bus_type: A #GBusType. 1209s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1209s # * @name: A bus name (well-known or unique). 1209s # * @object_path: An object path. 1209s # * @cancellable: (nullable): A #GCancellable or %NULL. 1209s # * @error: Return location for error or %NULL 1209s # * 1209s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1209s # * 1209s # * The calling thread is blocked until a reply is received. 1209s # * 1209s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1209s # */ 1209s # OrgProjectOtherCallableIface * 1209s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1209s # GBusType bus_type, 1209s # GDBusProxyFlags flags, 1209s # const gchar *name, 1209s # const gchar *object_path, 1209s # GCancellable *cancellable, 1209s # GError **error) 1209s # { 1209s # GInitable *ret; 1209s # 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); 1209s # if (ret != NULL) 1209s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1209s # else 1209s # return NULL; 1209s # } 1209s # 1209s # 1209s # /* ------------------------------------------------------------------------ */ 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIfaceSkeleton: 1209s # * 1209s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1209s # */ 1209s # 1209s # /** 1209s # * OrgProjectOtherCallableIfaceSkeletonClass: 1209s # * @parent_class: The parent class. 1209s # * 1209s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1209s # */ 1209s # 1209s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1209s # { 1209s # GValue *properties; 1209s # GList *changed_properties; 1209s # GSource *changed_properties_idle_source; 1209s # GMainContext *context; 1209s # GMutex lock; 1209s # }; 1209s # 1209s # static void 1209s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name, 1209s # const gchar *method_name, 1209s # GVariant *parameters, 1209s # GDBusMethodInvocation *invocation, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1209s # _ExtendedGDBusMethodInfo *info; 1209s # GVariantIter iter; 1209s # GVariant *child; 1209s # GValue *paramv; 1209s # gsize num_params; 1209s # guint num_extra; 1209s # gsize n; 1209s # guint signal_id; 1209s # GValue return_value = G_VALUE_INIT; 1209s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1209s # g_assert (info != NULL); 1209s # num_params = g_variant_n_children (parameters); 1209s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1209s # n = 0; 1209s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1209s # g_value_set_object (¶mv[n++], skeleton); 1209s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1209s # g_value_set_object (¶mv[n++], invocation); 1209s # if (info->pass_fdlist) 1209s # { 1209s # #ifdef G_OS_UNIX 1209s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1209s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1209s # #else 1209s # g_assert_not_reached (); 1209s # #endif 1209s # } 1209s # g_variant_iter_init (&iter, parameters); 1209s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1209s # { 1209s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1209s # if (arg_info->use_gvariant) 1209s # { 1209s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1209s # g_value_set_variant (¶mv[n], child); 1209s # n++; 1209s # } 1209s # else 1209s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1209s # g_variant_unref (child); 1209s # } 1209s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1209s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1209s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1209s # if (!g_value_get_boolean (&return_value)) 1209s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1209s # g_value_unset (&return_value); 1209s # for (n = 0; n < num_params + num_extra; n++) 1209s # g_value_unset (¶mv[n]); 1209s # g_free (paramv); 1209s # } 1209s # 1209s # static GVariant * 1209s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name G_GNUC_UNUSED, 1209s # const gchar *property_name, 1209s # GError **error, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1209s # GValue value = G_VALUE_INIT; 1209s # GParamSpec *pspec; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # GVariant *ret; 1209s # ret = NULL; 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1209s # g_assert (info != NULL); 1209s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1209s # if (pspec == NULL) 1209s # { 1209s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1209s # } 1209s # else 1209s # { 1209s # g_value_init (&value, pspec->value_type); 1209s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1209s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1209s # g_value_unset (&value); 1209s # } 1209s # return ret; 1209s # } 1209s # 1209s # static gboolean 1209s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1209s # GDBusConnection *connection G_GNUC_UNUSED, 1209s # const gchar *sender G_GNUC_UNUSED, 1209s # const gchar *object_path G_GNUC_UNUSED, 1209s # const gchar *interface_name G_GNUC_UNUSED, 1209s # const gchar *property_name, 1209s # GVariant *variant, 1209s # GError **error, 1209s # gpointer user_data) 1209s # { 1209s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1209s # GValue value = G_VALUE_INIT; 1209s # GParamSpec *pspec; 1209s # _ExtendedGDBusPropertyInfo *info; 1209s # gboolean ret; 1209s # ret = FALSE; 1209s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1209s # g_assert (info != NULL); 1209s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1209s # if (pspec == NULL) 1209s # { 1209s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1209s # } 1209s # else 1209s # { 1209s # if (info->use_gvariant) 1209s # g_value_set_variant (&value, variant); 1209s # else 1209s # g_dbus_gvariant_to_gvalue (variant, &value); 1209s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1209s # g_value_unset (&value); 1209s # ret = TRUE; 1209s # } 1209s # return ret; 1209s # } 1209s # 1209s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1209s # { 1209s # _org_project_other_callable_iface_skeleton_handle_method_call, 1209s # _org_project_other_callable_iface_skeleton_handle_get_property, 1209s # _org_project_other_callable_iface_skeleton_handle_set_property, 1209s # {NULL} 1209s # }; 1209s # 1209s # static GDBusInterfaceInfo * 1209s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1209s # { 1209s # return org_project_other_callable_iface_interface_info (); 1209s # } 1209s # 1209s # static GDBusInterfaceVTable * 1209s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1209s # { 1209s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1209s # } 1209s # 1209s # static GVariant * 1209s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1209s # { 1209s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1209s # 1209s # GVariantBuilder builder; 1209s # guint n; 1209s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1209s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1209s # goto out; 1209s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1209s # { 1209s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1209s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1209s # { 1209s # GVariant *value; 1209s # 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); 1209s # if (value != NULL) 1209s # { 1209s # g_variant_take_ref (value); 1209s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1209s # g_variant_unref (value); 1209s # } 1209s # } 1209s # } 1209s # out: 1209s # return g_variant_builder_end (&builder); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1209s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1209s # 1209s # #else 1209s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1209s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1209s # 1209s # #endif 1209s # static void 1209s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1209s # { 1209s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1209s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1209s # if (skeleton->priv->changed_properties_idle_source != NULL) 1209s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1209s # g_main_context_unref (skeleton->priv->context); 1209s # g_mutex_clear (&skeleton->priv->lock); 1209s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1209s # { 1209s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1209s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1209s # #else 1209s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1209s # #endif 1209s # 1209s # g_mutex_init (&skeleton->priv->lock); 1209s # skeleton->priv->context = g_main_context_ref_thread_default (); 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1209s # { 1209s # GObjectClass *gobject_class; 1209s # GDBusInterfaceSkeletonClass *skeleton_class; 1209s # 1209s # gobject_class = G_OBJECT_CLASS (klass); 1209s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1209s # 1209s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1209s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1209s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1209s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1209s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1209s # 1209s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1209s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1209s # #endif 1209s # } 1209s # 1209s # static void 1209s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1209s # { 1209s # } 1209s # 1209s # /** 1209s # * org_project_other_callable_iface_skeleton_new: 1209s # * 1209s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1209s # * 1209s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1209s # */ 1209s # OrgProjectOtherCallableIface * 1209s # org_project_other_callable_iface_skeleton_new (void) 1209s # { 1209s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1209s # } 1212s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1212s # tmpdir: /tmp/tmpmm7yw1d2 1212s # codegen: /usr/bin/gdbus-codegen 1212s # /tmp/tmpmm7yw1d2/tmpopmg36zz.xml: 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpopmg36zz.xml', '--output', '-', '--body'] 1212s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1212s # Output: /* 1212s # * This file is generated by gdbus-codegen, do not modify it. 1212s # * 1212s # * The license of this code is the same as for the D-Bus interface description 1212s # * it was derived from. Note that it links to GLib, so must comply with the 1212s # * LGPL linking clauses. 1212s # */ 1212s # 1212s # #ifdef HAVE_CONFIG_H 1212s # # include "config.h" 1212s # #endif 1212s # 1212s # #include 1212s # #ifdef G_OS_UNIX 1212s # # include 1212s # #endif 1212s # 1212s # #ifdef G_ENABLE_DEBUG 1212s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1212s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1212s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1212s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1212s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1212s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1212s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1212s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1212s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1212s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1212s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1212s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1212s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1212s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1212s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1212s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1212s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1212s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1212s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1212s # #else /* !G_ENABLE_DEBUG */ 1212s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1212s # * Do not access GValues directly in your code. Instead, use the 1212s # * g_value_get_*() functions 1212s # */ 1212s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1212s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1212s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1212s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1212s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1212s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1212s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1212s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1212s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1212s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1212s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1212s # #endif /* !G_ENABLE_DEBUG */ 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusArgInfo parent_struct; 1212s # gboolean use_gvariant; 1212s # } _ExtendedGDBusArgInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusMethodInfo parent_struct; 1212s # const gchar *signal_name; 1212s # gboolean pass_fdlist; 1212s # } _ExtendedGDBusMethodInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusSignalInfo parent_struct; 1212s # const gchar *signal_name; 1212s # } _ExtendedGDBusSignalInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusPropertyInfo parent_struct; 1212s # const gchar *hyphen_name; 1212s # guint use_gvariant : 1; 1212s # guint emits_changed_signal : 1; 1212s # } _ExtendedGDBusPropertyInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusInterfaceInfo parent_struct; 1212s # const gchar *hyphen_name; 1212s # } _ExtendedGDBusInterfaceInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # const _ExtendedGDBusPropertyInfo *info; 1212s # guint prop_id; 1212s # GValue orig_value; /* the value before the change */ 1212s # } ChangedProperty; 1212s # 1212s # static void 1212s # _changed_property_free (ChangedProperty *data) 1212s # { 1212s # g_value_unset (&data->orig_value); 1212s # g_free (data); 1212s # } 1212s # 1212s # static gboolean 1212s # _g_strv_equal0 (gchar **a, gchar **b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # guint n; 1212s # if (a == NULL && b == NULL) 1212s # { 1212s # ret = TRUE; 1212s # goto out; 1212s # } 1212s # if (a == NULL || b == NULL) 1212s # goto out; 1212s # if (g_strv_length (a) != g_strv_length (b)) 1212s # goto out; 1212s # for (n = 0; a[n] != NULL; n++) 1212s # if (g_strcmp0 (a[n], b[n]) != 0) 1212s # goto out; 1212s # ret = TRUE; 1212s # out: 1212s # return ret; 1212s # } 1212s # 1212s # static gboolean 1212s # _g_variant_equal0 (GVariant *a, GVariant *b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # if (a == NULL && b == NULL) 1212s # { 1212s # ret = TRUE; 1212s # goto out; 1212s # } 1212s # if (a == NULL || b == NULL) 1212s # goto out; 1212s # ret = g_variant_equal (a, b); 1212s # out: 1212s # return ret; 1212s # } 1212s # 1212s # G_GNUC_UNUSED static gboolean 1212s # _g_value_equal (const GValue *a, const GValue *b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1212s # switch (G_VALUE_TYPE (a)) 1212s # { 1212s # case G_TYPE_BOOLEAN: 1212s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1212s # break; 1212s # case G_TYPE_UCHAR: 1212s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1212s # break; 1212s # case G_TYPE_INT: 1212s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1212s # break; 1212s # case G_TYPE_UINT: 1212s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1212s # break; 1212s # case G_TYPE_INT64: 1212s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1212s # break; 1212s # case G_TYPE_UINT64: 1212s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1212s # break; 1212s # case G_TYPE_DOUBLE: 1212s # { 1212s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1212s # gdouble da = g_value_get_double (a); 1212s # gdouble db = g_value_get_double (b); 1212s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1212s # } 1212s # break; 1212s # case G_TYPE_STRING: 1212s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1212s # break; 1212s # case G_TYPE_VARIANT: 1212s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1212s # break; 1212s # default: 1212s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1212s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1212s # else 1212s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1212s # break; 1212s # } 1212s # return ret; 1212s # } 1212s # 1212s # static void 1212s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1212s # GClosure *closure, 1212s # GValue *return_value, 1212s # unsigned int n_param_values, 1212s # const GValue *param_values, 1212s # void *invocation_hint G_GNUC_UNUSED, 1212s # void *marshal_data) 1212s # { 1212s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1212s # (void *data1, 1212s # GDBusMethodInvocation *arg_method_invocation, 1212s # gboolean arg_arg_b, 1212s # void *data2); 1212s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1212s # GCClosure *cc = (GCClosure*) closure; 1212s # void *data1, *data2; 1212s # gboolean v_return; 1212s # 1212s # g_return_if_fail (return_value != NULL); 1212s # g_return_if_fail (n_param_values == 3); 1212s # 1212s # if (G_CCLOSURE_SWAP_DATA (closure)) 1212s # { 1212s # data1 = closure->data; 1212s # data2 = g_value_peek_pointer (param_values + 0); 1212s # } 1212s # else 1212s # { 1212s # data1 = g_value_peek_pointer (param_values + 0); 1212s # data2 = closure->data; 1212s # } 1212s # 1212s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1212s # (marshal_data ? marshal_data : cc->callback); 1212s # 1212s # v_return = 1212s # callback (data1, 1212s # g_marshal_value_peek_object (param_values + 1), 1212s # g_marshal_value_peek_boolean (param_values + 2), 1212s # data2); 1212s # 1212s # g_value_set_boolean (return_value, v_return); 1212s # } 1212s # 1212s # /* ------------------------------------------------------------------------ 1212s # * Code for interface org.project.UsefulInterface 1212s # * ------------------------------------------------------------------------ 1212s # */ 1212s # 1212s # /** 1212s # * SECTION:OrgProjectUsefulInterface 1212s # * @title: OrgProjectUsefulInterface 1212s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1212s # * 1212s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1212s # */ 1212s # 1212s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1212s # 1212s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "arg_b", 1212s # (gchar *) "b", 1212s # NULL 1212s # }, 1212s # FALSE 1212s # }; 1212s # 1212s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1212s # { 1212s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1212s # NULL 1212s # }; 1212s # 1212s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "SingleArgMethodB", 1212s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1212s # NULL, 1212s # NULL 1212s # }, 1212s # "handle-single-arg-method-b", 1212s # FALSE 1212s # }; 1212s # 1212s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1212s # { 1212s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1212s # NULL 1212s # }; 1212s # 1212s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "org.project.UsefulInterface", 1212s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1212s # NULL, 1212s # NULL, 1212s # NULL 1212s # }, 1212s # "org-project-useful-interface", 1212s # }; 1212s # 1212s # 1212s # /** 1212s # * org_project_useful_interface_interface_info: 1212s # * 1212s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1212s # * 1212s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1212s # */ 1212s # GDBusInterfaceInfo * 1212s # org_project_useful_interface_interface_info (void) 1212s # { 1212s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_override_properties: 1212s # * @klass: The class structure for a #GObject derived class. 1212s # * @property_id_begin: The property id to assign to the first overridden property. 1212s # * 1212s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1212s # * The properties are overridden in the order they are defined. 1212s # * 1212s # * Returns: The last property id. 1212s # */ 1212s # guint 1212s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1212s # { 1212s # return property_id_begin - 1; 1212s # } 1212s # 1212s # 1212s # inline static void 1212s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1212s # GClosure *closure, 1212s # GValue *return_value, 1212s # unsigned int n_param_values, 1212s # const GValue *param_values, 1212s # void *invocation_hint, 1212s # void *marshal_data) 1212s # { 1212s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1212s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1212s # } 1212s # 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterface: 1212s # * 1212s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1212s # */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceIface: 1212s # * @parent_iface: The parent interface. 1212s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1212s # * 1212s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1212s # */ 1212s # 1212s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1212s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1212s # 1212s # static void 1212s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1212s # { 1212s # /* GObject signals for incoming D-Bus method calls: */ 1212s # /** 1212s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1212s # * @object: A #OrgProjectUsefulInterface. 1212s # * @invocation: A #GDBusMethodInvocation. 1212s # * @arg_arg_b: Argument passed by remote caller. 1212s # * 1212s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1212s # * 1212s # * 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. 1212s # * 1212s # * 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. 1212s # */ 1212s # g_signal_new ("handle-single-arg-method-b", 1212s # G_TYPE_FROM_INTERFACE (iface), 1212s # G_SIGNAL_RUN_LAST, 1212s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1212s # g_signal_accumulator_true_handled, 1212s # NULL, 1212s # org_project_useful_interface_method_marshal_single_arg_method_b, 1212s # G_TYPE_BOOLEAN, 1212s # 2, 1212s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1212s # 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_b: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @arg_arg_b: Argument to pass with the method invocation. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1212s # * @user_data: User data to pass to @callback. 1212s # * 1212s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1212s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1212s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1212s # * 1212s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1212s # */ 1212s # void 1212s # org_project_useful_interface_call_single_arg_method_b ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # gboolean arg_arg_b, 1212s # GCancellable *cancellable, 1212s # GAsyncReadyCallback callback, 1212s # gpointer user_data) 1212s # { 1212s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1212s # "SingleArgMethodB", 1212s # g_variant_new ("(b)", 1212s # arg_arg_b), 1212s # G_DBUS_CALL_FLAGS_NONE, 1212s # -1, 1212s # cancellable, 1212s # callback, 1212s # user_data); 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_b_finish: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1212s # * @error: Return location for error or %NULL. 1212s # * 1212s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1212s # * 1212s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1212s # */ 1212s # gboolean 1212s # org_project_useful_interface_call_single_arg_method_b_finish ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # GAsyncResult *res, 1212s # GError **error) 1212s # { 1212s # GVariant *_ret; 1212s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1212s # if (_ret == NULL) 1212s # goto _out; 1212s # g_variant_get (_ret, 1212s # "()"); 1212s # g_variant_unref (_ret); 1212s # _out: 1212s # return _ret != NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_b_sync: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @arg_arg_b: Argument to pass with the method invocation. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @error: Return location for error or %NULL. 1212s # * 1212s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1212s # * 1212s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1212s # * 1212s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1212s # */ 1212s # gboolean 1212s # org_project_useful_interface_call_single_arg_method_b_sync ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # gboolean arg_arg_b, 1212s # GCancellable *cancellable, 1212s # GError **error) 1212s # { 1212s # GVariant *_ret; 1212s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1212s # "SingleArgMethodB", 1212s # g_variant_new ("(b)", 1212s # arg_arg_b), 1212s # G_DBUS_CALL_FLAGS_NONE, 1212s # -1, 1212s # cancellable, 1212s # error); 1212s # if (_ret == NULL) 1212s # goto _out; 1212s # g_variant_get (_ret, 1212s # "()"); 1212s # g_variant_unref (_ret); 1212s # _out: 1212s # return _ret != NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_complete_single_arg_method_b: 1212s # * @object: A #OrgProjectUsefulInterface. 1212s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1212s # * 1212s # * 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. 1212s # * 1212s # * This method will free @invocation, you cannot use it afterwards. 1212s # */ 1212s # void 1212s # org_project_useful_interface_complete_single_arg_method_b ( 1212s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1212s # GDBusMethodInvocation *invocation) 1212s # { 1212s # g_dbus_method_invocation_return_value (invocation, 1212s # g_variant_new ("()")); 1212s # } 1212s # 1212s # /* ------------------------------------------------------------------------ */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceProxy: 1212s # * 1212s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1212s # */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceProxyClass: 1212s # * @parent_class: The parent class. 1212s # * 1212s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1212s # */ 1212s # 1212s # struct _OrgProjectUsefulInterfaceProxyPrivate 1212s # { 1212s # GData *qdata; 1212s # }; 1212s # 1212s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1212s # 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1212s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1212s # 1212s # #else 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1212s # 1212s # #endif 1212s # static void 1212s # org_project_useful_interface_proxy_finalize (GObject *object) 1212s # { 1212s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1212s # g_datalist_clear (&proxy->priv->qdata); 1212s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1212s # guint prop_id G_GNUC_UNUSED, 1212s # GValue *value G_GNUC_UNUSED, 1212s # GParamSpec *pspec G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1212s # guint prop_id G_GNUC_UNUSED, 1212s # const GValue *value G_GNUC_UNUSED, 1212s # GParamSpec *pspec G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1212s # const gchar *sender_name G_GNUC_UNUSED, 1212s # const gchar *signal_name, 1212s # GVariant *parameters) 1212s # { 1212s # _ExtendedGDBusSignalInfo *info; 1212s # GVariantIter iter; 1212s # GVariant *child; 1212s # GValue *paramv; 1212s # gsize num_params; 1212s # gsize n; 1212s # guint signal_id; 1212s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1212s # if (info == NULL) 1212s # return; 1212s # num_params = g_variant_n_children (parameters); 1212s # paramv = g_new0 (GValue, num_params + 1); 1212s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_value_set_object (¶mv[0], proxy); 1212s # g_variant_iter_init (&iter, parameters); 1212s # n = 1; 1212s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1212s # { 1212s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1212s # if (arg_info->use_gvariant) 1212s # { 1212s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1212s # g_value_set_variant (¶mv[n], child); 1212s # n++; 1212s # } 1212s # else 1212s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1212s # g_variant_unref (child); 1212s # } 1212s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_signal_emitv (paramv, signal_id, 0, NULL); 1212s # for (n = 0; n < num_params + 1; n++) 1212s # g_value_unset (¶mv[n]); 1212s # g_free (paramv); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1212s # GVariant *changed_properties, 1212s # const gchar *const *invalidated_properties) 1212s # { 1212s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1212s # guint n; 1212s # const gchar *key; 1212s # GVariantIter *iter; 1212s # _ExtendedGDBusPropertyInfo *info; 1212s # g_variant_get (changed_properties, "a{sv}", &iter); 1212s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1212s # { 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1212s # g_datalist_remove_data (&proxy->priv->qdata, key); 1212s # if (info != NULL) 1212s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1212s # } 1212s # g_variant_iter_free (iter); 1212s # for (n = 0; invalidated_properties[n] != NULL; n++) 1212s # { 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1212s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1212s # if (info != NULL) 1212s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1212s # } 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1212s # { 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1212s # #else 1212s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1212s # #endif 1212s # 1212s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1212s # { 1212s # GObjectClass *gobject_class; 1212s # GDBusProxyClass *proxy_class; 1212s # 1212s # gobject_class = G_OBJECT_CLASS (klass); 1212s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1212s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1212s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1212s # 1212s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1212s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1212s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1212s # 1212s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1212s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1212s # #endif 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new: 1212s # * @connection: A #GDBusConnection. 1212s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1212s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1212s # * @object_path: An object path. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1212s # * @user_data: User data to pass to @callback. 1212s # * 1212s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1212s # * 1212s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1212s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1212s # * 1212s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1212s # */ 1212s # void 1212s # org_project_useful_interface_proxy_new ( 1212s # GDBusConnection *connection, 1212s # GDBusProxyFlags flags, 1212s # const gchar *name, 1212s # const gchar *object_path, 1212s # GCancellable *cancellable, 1212s # GAsyncReadyCallback callback, 1212s # gpointer user_data) 1212s # { 1212s # g_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); 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new_finish: 1212s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1212s # * @error: Return location for error or %NULL 1212s # * 1212s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1212s # * 1212s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1212s # */ 1212s # OrgProjectUsefulInterface * 1212s # org_project_useful_interface_proxy_new_finish ( 1212s # GAsyncResult *res, 1212s # GError **error) 1212s # { 1212s # GObject *ret; 1212s # GObject *source_object; 1212s # source_object = g_async_result_get_source_object (res); 1212s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1212s # g_object_unref (source_object); 1212s # if (ret != NULL) 1212s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1212s # else 1212s # return NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new_sync: 1212s # * @connection: A #GDBusConnection. 1212s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1212s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1212s # * @object_path: An object path. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @error: Return location for error or %NULL 1212s # * 1212s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1212s # * 1212s # * The calling thread is blocked until a reply is received. 1212s # * 1212s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1212s # * 1212s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1212s # */ 1212s # OrgProjectUsefulInterface * 1212s # org_project_useful_interface_proxy_new_sync ( 1212s # GDBusConnection *connection, 1212s # GDBusProxyFlags flags, 1212s # const gchar *name, 1212s # const gchar *object_path, 1212s # GCancellable *cancellable, 1212s # GError **error) 1212s # { 1212s # GInitable *ret; 1212s # 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); 1212s # if (ret != NULL) 1212s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1212s # else 1212s # return NULL; 1212s # } 1212s # 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new_for_bus: 1212s # * @bus_type: A #GBusType. 1212s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1212s # * @name: A bus name (well-known or unique). 1212s # * @object_path: An object path. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1212s # * @user_data: User data to pass to @callback. 1212s # * 1212s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1212s # * 1212s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1212s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1212s # * 1212s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1212s # */ 1212s # void 1212s # org_project_useful_interface_proxy_new_for_bus ( 1212s # GBusType bus_type, 1212s # GDBusProxyFlags flags, 1212s # const gchar *name, 1212s # const gchar *object_path, 1212s # GCancellable *cancellable, 1212s # GAsyncReadyCallback callback, 1212s # gpointer user_data) 1212s # { 1212s # g_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); 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new_for_bus_finish: 1212s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1212s # * @error: Return location for error or %NULL 1212s # * 1212s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1212s # * 1212s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1212s # */ 1212s # OrgProjectUsefulInterface * 1212s # org_project_useful_interface_proxy_new_for_bus_finish ( 1212s # GAsyncResult *res, 1212s # GError **error) 1212s # { 1212s # GObject *ret; 1212s # GObject *source_object; 1212s # source_object = g_async_result_get_source_object (res); 1212s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1212s # g_object_unref (source_object); 1212s # if (ret != NULL) 1212s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1212s # else 1212s # return NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_proxy_new_for_bus_sync: 1212s # * @bus_type: A #GBusType. 1212s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1212s # * @name: A bus name (well-known or unique). 1212s # * @object_path: An object path. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @error: Return location for error or %NULL 1212s # * 1212s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1212s # * 1212s # * The calling thread is blocked until a reply is received. 1212s # * 1212s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1212s # * 1212s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1212s # */ 1212s # OrgProjectUsefulInterface * 1212s # org_project_useful_interface_proxy_new_for_bus_sync ( 1212s # GBusType bus_type, 1212s # GDBusProxyFlags flags, 1212s # const gchar *name, 1212s # const gchar *object_path, 1212s # GCancellable *cancellable, 1212s # GError **error) 1212s # { 1212s # GInitable *ret; 1212s # 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); 1212s # if (ret != NULL) 1212s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1212s # else 1212s # return NULL; 1212s # } 1212s # 1212s # 1212s # /* ------------------------------------------------------------------------ */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceSkeleton: 1212s # * 1212s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1212s # */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceSkeletonClass: 1212s # * @parent_class: The parent class. 1212s # * 1212s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1212s # */ 1212s # 1212s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1212s # { 1212s # GValue *properties; 1212s # GList *changed_properties; 1212s # GSource *changed_properties_idle_source; 1212s # GMainContext *context; 1212s # GMutex lock; 1212s # }; 1212s # 1212s # static void 1212s # _org_project_useful_interface_skeleton_handle_method_call ( 1212s # GDBusConnection *connection G_GNUC_UNUSED, 1212s # const gchar *sender G_GNUC_UNUSED, 1212s # const gchar *object_path G_GNUC_UNUSED, 1212s # const gchar *interface_name, 1212s # const gchar *method_name, 1212s # GVariant *parameters, 1212s # GDBusMethodInvocation *invocation, 1212s # gpointer user_data) 1212s # { 1212s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1212s # _ExtendedGDBusMethodInfo *info; 1212s # GVariantIter iter; 1212s # GVariant *child; 1212s # GValue *paramv; 1212s # gsize num_params; 1212s # guint num_extra; 1212s # gsize n; 1212s # guint signal_id; 1212s # GValue return_value = G_VALUE_INIT; 1212s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1212s # g_assert (info != NULL); 1212s # num_params = g_variant_n_children (parameters); 1212s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1212s # n = 0; 1212s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_value_set_object (¶mv[n++], skeleton); 1212s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1212s # g_value_set_object (¶mv[n++], invocation); 1212s # if (info->pass_fdlist) 1212s # { 1212s # #ifdef G_OS_UNIX 1212s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1212s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1212s # #else 1212s # g_assert_not_reached (); 1212s # #endif 1212s # } 1212s # g_variant_iter_init (&iter, parameters); 1212s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1212s # { 1212s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1212s # if (arg_info->use_gvariant) 1212s # { 1212s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1212s # g_value_set_variant (¶mv[n], child); 1212s # n++; 1212s # } 1212s # else 1212s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1212s # g_variant_unref (child); 1212s # } 1212s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1212s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1212s # if (!g_value_get_boolean (&return_value)) 1212s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1212s # g_value_unset (&return_value); 1212s # for (n = 0; n < num_params + num_extra; n++) 1212s # g_value_unset (¶mv[n]); 1212s # g_free (paramv); 1212s # } 1212s # 1212s # static GVariant * 1212s # _org_project_useful_interface_skeleton_handle_get_property ( 1212s # GDBusConnection *connection G_GNUC_UNUSED, 1212s # const gchar *sender G_GNUC_UNUSED, 1212s # const gchar *object_path G_GNUC_UNUSED, 1212s # const gchar *interface_name G_GNUC_UNUSED, 1212s # const gchar *property_name, 1212s # GError **error, 1212s # gpointer user_data) 1212s # { 1212s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1212s # GValue value = G_VALUE_INIT; 1212s # GParamSpec *pspec; 1212s # _ExtendedGDBusPropertyInfo *info; 1212s # GVariant *ret; 1212s # ret = NULL; 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1212s # g_assert (info != NULL); 1212s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1212s # if (pspec == NULL) 1212s # { 1212s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1212s # } 1212s # else 1212s # { 1212s # g_value_init (&value, pspec->value_type); 1212s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1212s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1212s # g_value_unset (&value); 1212s # } 1212s # return ret; 1212s # } 1212s # 1212s # static gboolean 1212s # _org_project_useful_interface_skeleton_handle_set_property ( 1212s # GDBusConnection *connection G_GNUC_UNUSED, 1212s # const gchar *sender G_GNUC_UNUSED, 1212s # const gchar *object_path G_GNUC_UNUSED, 1212s # const gchar *interface_name G_GNUC_UNUSED, 1212s # const gchar *property_name, 1212s # GVariant *variant, 1212s # GError **error, 1212s # gpointer user_data) 1212s # { 1212s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1212s # GValue value = G_VALUE_INIT; 1212s # GParamSpec *pspec; 1212s # _ExtendedGDBusPropertyInfo *info; 1212s # gboolean ret; 1212s # ret = FALSE; 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1212s # g_assert (info != NULL); 1212s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1212s # if (pspec == NULL) 1212s # { 1212s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1212s # } 1212s # else 1212s # { 1212s # if (info->use_gvariant) 1212s # g_value_set_variant (&value, variant); 1212s # else 1212s # g_dbus_gvariant_to_gvalue (variant, &value); 1212s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1212s # g_value_unset (&value); 1212s # ret = TRUE; 1212s # } 1212s # return ret; 1212s # } 1212s # 1212s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1212s # { 1212s # _org_project_useful_interface_skeleton_handle_method_call, 1212s # _org_project_useful_interface_skeleton_handle_get_property, 1212s # _org_project_useful_interface_skeleton_handle_set_property, 1212s # {NULL} 1212s # }; 1212s # 1212s # static GDBusInterfaceInfo * 1212s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1212s # { 1212s # return org_project_useful_interface_interface_info (); 1212s # } 1212s # 1212s # static GDBusInterfaceVTable * 1212s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1212s # { 1212s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1212s # } 1212s # 1212s # static GVariant * 1212s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1212s # { 1212s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1212s # 1212s # GVariantBuilder builder; 1212s # guint n; 1212s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1212s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1212s # goto out; 1212s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1212s # { 1212s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1212s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1212s # { 1212s # GVariant *value; 1212s # 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); 1212s # if (value != NULL) 1212s # { 1212s # g_variant_take_ref (value); 1212s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1212s # g_variant_unref (value); 1212s # } 1212s # } 1212s # } 1212s # out: 1212s # return g_variant_builder_end (&builder); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1212s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1212s # 1212s # #else 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1212s # 1212s # #endif 1212s # static void 1212s # org_project_useful_interface_skeleton_finalize (GObject *object) 1212s # { 1212s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1212s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1212s # if (skeleton->priv->changed_properties_idle_source != NULL) 1212s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1212s # g_main_context_unref (skeleton->priv->context); 1212s # g_mutex_clear (&skeleton->priv->lock); 1212s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1212s # { 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1212s # #else 1212s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1212s # #endif 1212s # 1212s # g_mutex_init (&skeleton->priv->lock); 1212s # skeleton->priv->context = g_main_context_ref_thread_default (); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1212s # { 1212s # GObjectClass *gobject_class; 1212s # GDBusInterfaceSkeletonClass *skeleton_class; 1212s # 1212s # gobject_class = G_OBJECT_CLASS (klass); 1212s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1212s # 1212s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1212s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1212s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1212s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1212s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1212s # 1212s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1212s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1212s # #endif 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_skeleton_new: 1212s # * 1212s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1212s # * 1212s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1212s # */ 1212s # OrgProjectUsefulInterface * 1212s # org_project_useful_interface_skeleton_new (void) 1212s # { 1212s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1212s # } 1212s # /tmp/tmpmm7yw1d2/tmpnidet5mt.xml: 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # 1212s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpnidet5mt.xml', '--output', '-', '--body'] 1212s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1212s # Output: /* 1212s # * This file is generated by gdbus-codegen, do not modify it. 1212s # * 1212s # * The license of this code is the same as for the D-Bus interface description 1212s # * it was derived from. Note that it links to GLib, so must comply with the 1212s # * LGPL linking clauses. 1212s # */ 1212s # 1212s # #ifdef HAVE_CONFIG_H 1212s # # include "config.h" 1212s # #endif 1212s # 1212s # #include 1212s # #ifdef G_OS_UNIX 1212s # # include 1212s # #endif 1212s # 1212s # #ifdef G_ENABLE_DEBUG 1212s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1212s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1212s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1212s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1212s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1212s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1212s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1212s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1212s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1212s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1212s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1212s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1212s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1212s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1212s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1212s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1212s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1212s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1212s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1212s # #else /* !G_ENABLE_DEBUG */ 1212s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1212s # * Do not access GValues directly in your code. Instead, use the 1212s # * g_value_get_*() functions 1212s # */ 1212s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1212s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1212s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1212s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1212s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1212s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1212s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1212s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1212s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1212s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1212s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1212s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1212s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1212s # #endif /* !G_ENABLE_DEBUG */ 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusArgInfo parent_struct; 1212s # gboolean use_gvariant; 1212s # } _ExtendedGDBusArgInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusMethodInfo parent_struct; 1212s # const gchar *signal_name; 1212s # gboolean pass_fdlist; 1212s # } _ExtendedGDBusMethodInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusSignalInfo parent_struct; 1212s # const gchar *signal_name; 1212s # } _ExtendedGDBusSignalInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusPropertyInfo parent_struct; 1212s # const gchar *hyphen_name; 1212s # guint use_gvariant : 1; 1212s # guint emits_changed_signal : 1; 1212s # } _ExtendedGDBusPropertyInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # GDBusInterfaceInfo parent_struct; 1212s # const gchar *hyphen_name; 1212s # } _ExtendedGDBusInterfaceInfo; 1212s # 1212s # typedef struct 1212s # { 1212s # const _ExtendedGDBusPropertyInfo *info; 1212s # guint prop_id; 1212s # GValue orig_value; /* the value before the change */ 1212s # } ChangedProperty; 1212s # 1212s # static void 1212s # _changed_property_free (ChangedProperty *data) 1212s # { 1212s # g_value_unset (&data->orig_value); 1212s # g_free (data); 1212s # } 1212s # 1212s # static gboolean 1212s # _g_strv_equal0 (gchar **a, gchar **b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # guint n; 1212s # if (a == NULL && b == NULL) 1212s # { 1212s # ret = TRUE; 1212s # goto out; 1212s # } 1212s # if (a == NULL || b == NULL) 1212s # goto out; 1212s # if (g_strv_length (a) != g_strv_length (b)) 1212s # goto out; 1212s # for (n = 0; a[n] != NULL; n++) 1212s # if (g_strcmp0 (a[n], b[n]) != 0) 1212s # goto out; 1212s # ret = TRUE; 1212s # out: 1212s # return ret; 1212s # } 1212s # 1212s # static gboolean 1212s # _g_variant_equal0 (GVariant *a, GVariant *b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # if (a == NULL && b == NULL) 1212s # { 1212s # ret = TRUE; 1212s # goto out; 1212s # } 1212s # if (a == NULL || b == NULL) 1212s # goto out; 1212s # ret = g_variant_equal (a, b); 1212s # out: 1212s # return ret; 1212s # } 1212s # 1212s # G_GNUC_UNUSED static gboolean 1212s # _g_value_equal (const GValue *a, const GValue *b) 1212s # { 1212s # gboolean ret = FALSE; 1212s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1212s # switch (G_VALUE_TYPE (a)) 1212s # { 1212s # case G_TYPE_BOOLEAN: 1212s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1212s # break; 1212s # case G_TYPE_UCHAR: 1212s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1212s # break; 1212s # case G_TYPE_INT: 1212s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1212s # break; 1212s # case G_TYPE_UINT: 1212s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1212s # break; 1212s # case G_TYPE_INT64: 1212s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1212s # break; 1212s # case G_TYPE_UINT64: 1212s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1212s # break; 1212s # case G_TYPE_DOUBLE: 1212s # { 1212s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1212s # gdouble da = g_value_get_double (a); 1212s # gdouble db = g_value_get_double (b); 1212s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1212s # } 1212s # break; 1212s # case G_TYPE_STRING: 1212s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1212s # break; 1212s # case G_TYPE_VARIANT: 1212s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1212s # break; 1212s # default: 1212s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1212s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1212s # else 1212s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1212s # break; 1212s # } 1212s # return ret; 1212s # } 1212s # 1212s # static void 1212s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1212s # GClosure *closure, 1212s # GValue *return_value, 1212s # unsigned int n_param_values, 1212s # const GValue *param_values, 1212s # void *invocation_hint G_GNUC_UNUSED, 1212s # void *marshal_data) 1212s # { 1212s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1212s # (void *data1, 1212s # GDBusMethodInvocation *arg_method_invocation, 1212s # guchar arg_arg_y, 1212s # void *data2); 1212s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1212s # GCClosure *cc = (GCClosure*) closure; 1212s # void *data1, *data2; 1212s # gboolean v_return; 1212s # 1212s # g_return_if_fail (return_value != NULL); 1212s # g_return_if_fail (n_param_values == 3); 1212s # 1212s # if (G_CCLOSURE_SWAP_DATA (closure)) 1212s # { 1212s # data1 = closure->data; 1212s # data2 = g_value_peek_pointer (param_values + 0); 1212s # } 1212s # else 1212s # { 1212s # data1 = g_value_peek_pointer (param_values + 0); 1212s # data2 = closure->data; 1212s # } 1212s # 1212s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1212s # (marshal_data ? marshal_data : cc->callback); 1212s # 1212s # v_return = 1212s # callback (data1, 1212s # g_marshal_value_peek_object (param_values + 1), 1212s # g_marshal_value_peek_uchar (param_values + 2), 1212s # data2); 1212s # 1212s # g_value_set_boolean (return_value, v_return); 1212s # } 1212s # 1212s # /* ------------------------------------------------------------------------ 1212s # * Code for interface org.project.UsefulInterface 1212s # * ------------------------------------------------------------------------ 1212s # */ 1212s # 1212s # /** 1212s # * SECTION:OrgProjectUsefulInterface 1212s # * @title: OrgProjectUsefulInterface 1212s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1212s # * 1212s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1212s # */ 1212s # 1212s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1212s # 1212s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "arg_y", 1212s # (gchar *) "y", 1212s # NULL 1212s # }, 1212s # FALSE 1212s # }; 1212s # 1212s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1212s # { 1212s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1212s # NULL 1212s # }; 1212s # 1212s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "SingleArgMethodY", 1212s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1212s # NULL, 1212s # NULL 1212s # }, 1212s # "handle-single-arg-method-y", 1212s # FALSE 1212s # }; 1212s # 1212s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1212s # { 1212s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1212s # NULL 1212s # }; 1212s # 1212s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1212s # { 1212s # { 1212s # -1, 1212s # (gchar *) "org.project.UsefulInterface", 1212s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1212s # NULL, 1212s # NULL, 1212s # NULL 1212s # }, 1212s # "org-project-useful-interface", 1212s # }; 1212s # 1212s # 1212s # /** 1212s # * org_project_useful_interface_interface_info: 1212s # * 1212s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1212s # * 1212s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1212s # */ 1212s # GDBusInterfaceInfo * 1212s # org_project_useful_interface_interface_info (void) 1212s # { 1212s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_override_properties: 1212s # * @klass: The class structure for a #GObject derived class. 1212s # * @property_id_begin: The property id to assign to the first overridden property. 1212s # * 1212s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1212s # * The properties are overridden in the order they are defined. 1212s # * 1212s # * Returns: The last property id. 1212s # */ 1212s # guint 1212s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1212s # { 1212s # return property_id_begin - 1; 1212s # } 1212s # 1212s # 1212s # inline static void 1212s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1212s # GClosure *closure, 1212s # GValue *return_value, 1212s # unsigned int n_param_values, 1212s # const GValue *param_values, 1212s # void *invocation_hint, 1212s # void *marshal_data) 1212s # { 1212s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1212s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1212s # } 1212s # 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterface: 1212s # * 1212s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1212s # */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceIface: 1212s # * @parent_iface: The parent interface. 1212s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1212s # * 1212s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1212s # */ 1212s # 1212s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1212s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1212s # 1212s # static void 1212s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1212s # { 1212s # /* GObject signals for incoming D-Bus method calls: */ 1212s # /** 1212s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1212s # * @object: A #OrgProjectUsefulInterface. 1212s # * @invocation: A #GDBusMethodInvocation. 1212s # * @arg_arg_y: Argument passed by remote caller. 1212s # * 1212s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1212s # * 1212s # * 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. 1212s # * 1212s # * 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. 1212s # */ 1212s # g_signal_new ("handle-single-arg-method-y", 1212s # G_TYPE_FROM_INTERFACE (iface), 1212s # G_SIGNAL_RUN_LAST, 1212s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1212s # g_signal_accumulator_true_handled, 1212s # NULL, 1212s # org_project_useful_interface_method_marshal_single_arg_method_y, 1212s # G_TYPE_BOOLEAN, 1212s # 2, 1212s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1212s # 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_y: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @arg_arg_y: Argument to pass with the method invocation. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1212s # * @user_data: User data to pass to @callback. 1212s # * 1212s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1212s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1212s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1212s # * 1212s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1212s # */ 1212s # void 1212s # org_project_useful_interface_call_single_arg_method_y ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # guchar arg_arg_y, 1212s # GCancellable *cancellable, 1212s # GAsyncReadyCallback callback, 1212s # gpointer user_data) 1212s # { 1212s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1212s # "SingleArgMethodY", 1212s # g_variant_new ("(y)", 1212s # arg_arg_y), 1212s # G_DBUS_CALL_FLAGS_NONE, 1212s # -1, 1212s # cancellable, 1212s # callback, 1212s # user_data); 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_y_finish: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1212s # * @error: Return location for error or %NULL. 1212s # * 1212s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1212s # * 1212s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1212s # */ 1212s # gboolean 1212s # org_project_useful_interface_call_single_arg_method_y_finish ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # GAsyncResult *res, 1212s # GError **error) 1212s # { 1212s # GVariant *_ret; 1212s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1212s # if (_ret == NULL) 1212s # goto _out; 1212s # g_variant_get (_ret, 1212s # "()"); 1212s # g_variant_unref (_ret); 1212s # _out: 1212s # return _ret != NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_call_single_arg_method_y_sync: 1212s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1212s # * @arg_arg_y: Argument to pass with the method invocation. 1212s # * @cancellable: (nullable): A #GCancellable or %NULL. 1212s # * @error: Return location for error or %NULL. 1212s # * 1212s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1212s # * 1212s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1212s # * 1212s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1212s # */ 1212s # gboolean 1212s # org_project_useful_interface_call_single_arg_method_y_sync ( 1212s # OrgProjectUsefulInterface *proxy, 1212s # guchar arg_arg_y, 1212s # GCancellable *cancellable, 1212s # GError **error) 1212s # { 1212s # GVariant *_ret; 1212s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1212s # "SingleArgMethodY", 1212s # g_variant_new ("(y)", 1212s # arg_arg_y), 1212s # G_DBUS_CALL_FLAGS_NONE, 1212s # -1, 1212s # cancellable, 1212s # error); 1212s # if (_ret == NULL) 1212s # goto _out; 1212s # g_variant_get (_ret, 1212s # "()"); 1212s # g_variant_unref (_ret); 1212s # _out: 1212s # return _ret != NULL; 1212s # } 1212s # 1212s # /** 1212s # * org_project_useful_interface_complete_single_arg_method_y: 1212s # * @object: A #OrgProjectUsefulInterface. 1212s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1212s # * 1212s # * 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. 1212s # * 1212s # * This method will free @invocation, you cannot use it afterwards. 1212s # */ 1212s # void 1212s # org_project_useful_interface_complete_single_arg_method_y ( 1212s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1212s # GDBusMethodInvocation *invocation) 1212s # { 1212s # g_dbus_method_invocation_return_value (invocation, 1212s # g_variant_new ("()")); 1212s # } 1212s # 1212s # /* ------------------------------------------------------------------------ */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceProxy: 1212s # * 1212s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1212s # */ 1212s # 1212s # /** 1212s # * OrgProjectUsefulInterfaceProxyClass: 1212s # * @parent_class: The parent class. 1212s # * 1212s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1212s # */ 1212s # 1212s # struct _OrgProjectUsefulInterfaceProxyPrivate 1212s # { 1212s # GData *qdata; 1212s # }; 1212s # 1212s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1212s # 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1212s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1212s # 1212s # #else 1212s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1212s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1212s # 1212s # #endif 1212s # static void 1212s # org_project_useful_interface_proxy_finalize (GObject *object) 1212s # { 1212s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1212s # g_datalist_clear (&proxy->priv->qdata); 1212s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1212s # guint prop_id G_GNUC_UNUSED, 1212s # GValue *value G_GNUC_UNUSED, 1212s # GParamSpec *pspec G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1212s # guint prop_id G_GNUC_UNUSED, 1212s # const GValue *value G_GNUC_UNUSED, 1212s # GParamSpec *pspec G_GNUC_UNUSED) 1212s # { 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1212s # const gchar *sender_name G_GNUC_UNUSED, 1212s # const gchar *signal_name, 1212s # GVariant *parameters) 1212s # { 1212s # _ExtendedGDBusSignalInfo *info; 1212s # GVariantIter iter; 1212s # GVariant *child; 1212s # GValue *paramv; 1212s # gsize num_params; 1212s # gsize n; 1212s # guint signal_id; 1212s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1212s # if (info == NULL) 1212s # return; 1212s # num_params = g_variant_n_children (parameters); 1212s # paramv = g_new0 (GValue, num_params + 1); 1212s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_value_set_object (¶mv[0], proxy); 1212s # g_variant_iter_init (&iter, parameters); 1212s # n = 1; 1212s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1212s # { 1212s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1212s # if (arg_info->use_gvariant) 1212s # { 1212s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1212s # g_value_set_variant (¶mv[n], child); 1212s # n++; 1212s # } 1212s # else 1212s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1212s # g_variant_unref (child); 1212s # } 1212s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1212s # g_signal_emitv (paramv, signal_id, 0, NULL); 1212s # for (n = 0; n < num_params + 1; n++) 1212s # g_value_unset (¶mv[n]); 1212s # g_free (paramv); 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1212s # GVariant *changed_properties, 1212s # const gchar *const *invalidated_properties) 1212s # { 1212s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1212s # guint n; 1212s # const gchar *key; 1212s # GVariantIter *iter; 1212s # _ExtendedGDBusPropertyInfo *info; 1212s # g_variant_get (changed_properties, "a{sv}", &iter); 1212s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1212s # { 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1212s # g_datalist_remove_data (&proxy->priv->qdata, key); 1212s # if (info != NULL) 1212s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1212s # } 1212s # g_variant_iter_free (iter); 1212s # for (n = 0; invalidated_properties[n] != NULL; n++) 1212s # { 1212s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1212s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1212s # if (info != NULL) 1212s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1212s # } 1212s # } 1212s # 1212s # static void 1212s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1212s # { 1212s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1212s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1212s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpxb3vvq8u.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpxb3vvq8u.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # gint16 arg_arg_n, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_int (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_n", 1213s # (gchar *) "n", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodN", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-n", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_n: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-n", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_n, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_n: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_n: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_n ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint16 arg_arg_n, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodN", 1213s # g_variant_new ("(n)", 1213s # arg_arg_n), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_n_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_n_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_n_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_n: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_n_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint16 arg_arg_n, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodN", 1213s # g_variant_new ("(n)", 1213s # arg_arg_n), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_n: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_n ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpq4p4mw9f.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpq4p4mw9f.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # guint16 arg_arg_q, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_uint (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_q", 1213s # (gchar *) "q", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodQ", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-q", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_q: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-q", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_q, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_q: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_q: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_q ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint16 arg_arg_q, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodQ", 1213s # g_variant_new ("(q)", 1213s # arg_arg_q), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_q_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_q_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_q_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_q: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_q_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint16 arg_arg_q, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodQ", 1213s # g_variant_new ("(q)", 1213s # arg_arg_q), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_q: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_q ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp16ikcnam.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp16ikcnam.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # gint arg_arg_i, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_int (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_i", 1213s # (gchar *) "i", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodI", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-i", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_i: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-i", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_i, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_i: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_i: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_i ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint arg_arg_i, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodI", 1213s # g_variant_new ("(i)", 1213s # arg_arg_i), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_i_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_i_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_i_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_i: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_i_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint arg_arg_i, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodI", 1213s # g_variant_new ("(i)", 1213s # arg_arg_i), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_i: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_i ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmplcz9wt2m.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmplcz9wt2m.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # guint arg_arg_u, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_uint (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_u", 1213s # (gchar *) "u", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodU", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-u", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_u: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-u", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_u, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_u: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_u: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_u ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint arg_arg_u, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodU", 1213s # g_variant_new ("(u)", 1213s # arg_arg_u), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_u_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_u_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_u_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_u: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_u_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint arg_arg_u, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodU", 1213s # g_variant_new ("(u)", 1213s # arg_arg_u), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_u: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_u ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpwl77d2xz.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpwl77d2xz.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # gint64 arg_arg_x, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_int64 (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_x", 1213s # (gchar *) "x", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodX", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-x", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_x: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-x", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_x, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_x: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_x: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_x ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint64 arg_arg_x, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodX", 1213s # g_variant_new ("(x)", 1213s # arg_arg_x), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_x_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_x_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_x_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_x: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_x_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gint64 arg_arg_x, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodX", 1213s # g_variant_new ("(x)", 1213s # arg_arg_x), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_x: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_x ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpdtl3by4w.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpdtl3by4w.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # guint64 arg_arg_t, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_uint64 (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_t", 1213s # (gchar *) "t", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodT", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-t", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_t: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-t", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_t, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_t: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_t: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_t ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint64 arg_arg_t, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodT", 1213s # g_variant_new ("(t)", 1213s # arg_arg_t), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_t_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_t_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_t_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_t: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_t_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # guint64 arg_arg_t, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodT", 1213s # g_variant_new ("(t)", 1213s # arg_arg_t), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_t: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_t ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpiu5qhx3o.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpiu5qhx3o.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # gdouble arg_arg_d, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_double (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_d", 1213s # (gchar *) "d", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodD", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-d", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_d: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-d", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_d, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_d: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_d: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_d ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gdouble arg_arg_d, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodD", 1213s # g_variant_new ("(d)", 1213s # arg_arg_d), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_d_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_d_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_d_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_d: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_d_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # gdouble arg_arg_d, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodD", 1213s # g_variant_new ("(d)", 1213s # arg_arg_d), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_d: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_d ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpobfko9du.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpobfko9du.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *arg_arg_s, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_string (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_s", 1213s # (gchar *) "s", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodS", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-s", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_s: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-s", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_s, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_s: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_s: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_s ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_s, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodS", 1213s # g_variant_new ("(s)", 1213s # arg_arg_s), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_s_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_s_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_s_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_s: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_s_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_s, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodS", 1213s # g_variant_new ("(s)", 1213s # arg_arg_s), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_s: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_s ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpq0txcz6y.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpq0txcz6y.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *arg_arg_o, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_string (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_o", 1213s # (gchar *) "o", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodO", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-o", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_o: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-o", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_o, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_o: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_o: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_o ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_o, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodO", 1213s # g_variant_new ("(o)", 1213s # arg_arg_o), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_o_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_o_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_o_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_o: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_o_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_o, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodO", 1213s # g_variant_new ("(o)", 1213s # arg_arg_o), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_o: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_o ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp45mnezt2.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp45mnezt2.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *arg_arg_g, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_string (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_g", 1213s # (gchar *) "g", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodG", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-g", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_g: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-g", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_g, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_g: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_g: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_g ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_g, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodG", 1213s # g_variant_new ("(g)", 1213s # arg_arg_g), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_g_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_g_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_g_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_g: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_g_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_g, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodG", 1213s # g_variant_new ("(g)", 1213s # arg_arg_g), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_g: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_g ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp4t7jpnp2.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp4t7jpnp2.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # GVariant *arg_arg_h, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_variant (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_h", 1213s # (gchar *) "h", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodH", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-h", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_h: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-h", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_h, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_h: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_h: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_h ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GVariant *arg_arg_h, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodH", 1213s # g_variant_new ("(@h)", 1213s # arg_arg_h), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_h_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_h_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_h_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_h: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_h_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GVariant *arg_arg_h, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodH", 1213s # g_variant_new ("(@h)", 1213s # arg_arg_h), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_h: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_h ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp6kn8uzep.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp6kn8uzep.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *arg_arg_ay, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_string (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_ay", 1213s # (gchar *) "ay", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodAy", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-ay", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_ay: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-ay", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ay: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_ay: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_ay ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_ay, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAy", 1213s # g_variant_new ("(^ay)", 1213s # arg_arg_ay), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_ay: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *arg_arg_ay, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAy", 1213s # g_variant_new ("(^ay)", 1213s # arg_arg_ay), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_ay: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_ay ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpoakjx1v8.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpoakjx1v8.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *const *arg_arg_as, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_boxed (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_as", 1213s # (gchar *) "as", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodAs", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-as", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_as: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-as", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_as, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_as: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_as: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_as ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_as, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAs", 1213s # g_variant_new ("(^as)", 1213s # arg_arg_as), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_as_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_as_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_as_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_as: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_as_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_as, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAs", 1213s # g_variant_new ("(^as)", 1213s # arg_arg_as), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_as: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_as ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmpzk7hwqjm.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmpzk7hwqjm.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *const *arg_arg_ao, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_boxed (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_ao", 1213s # (gchar *) "ao", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodAo", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-ao", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_ao: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-ao", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ao: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_ao: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_ao ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_ao, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAo", 1213s # g_variant_new ("(^ao)", 1213s # arg_arg_ao), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_ao: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_ao, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAo", 1213s # g_variant_new ("(^ao)", 1213s # arg_arg_ao), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_ao: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_ao ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp_1ktowfy.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp_1ktowfy.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # const gchar *const *arg_arg_aay, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_boxed (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_aay", 1213s # (gchar *) "aay", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodAay", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-aay", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_aay: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-aay", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_aay: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_aay: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_aay ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_aay, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAay", 1213s # g_variant_new ("(^aay)", 1213s # arg_arg_aay), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_aay: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # const gchar *const *arg_arg_aay, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAay", 1213s # g_variant_new ("(^aay)", 1213s # arg_arg_aay), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_aay: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_aay ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1213s # /tmp/tmpmm7yw1d2/tmp4zg344he.xml: 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # 1213s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmm7yw1d2/tmp4zg344he.xml', '--output', '-', '--body'] 1213s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1213s # Output: /* 1213s # * This file is generated by gdbus-codegen, do not modify it. 1213s # * 1213s # * The license of this code is the same as for the D-Bus interface description 1213s # * it was derived from. Note that it links to GLib, so must comply with the 1213s # * LGPL linking clauses. 1213s # */ 1213s # 1213s # #ifdef HAVE_CONFIG_H 1213s # # include "config.h" 1213s # #endif 1213s # 1213s # #include 1213s # #ifdef G_OS_UNIX 1213s # # include 1213s # #endif 1213s # 1213s # #ifdef G_ENABLE_DEBUG 1213s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1213s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1213s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1213s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1213s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1213s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1213s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1213s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1213s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1213s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1213s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1213s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1213s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1213s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1213s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1213s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1213s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1213s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1213s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1213s # #else /* !G_ENABLE_DEBUG */ 1213s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1213s # * Do not access GValues directly in your code. Instead, use the 1213s # * g_value_get_*() functions 1213s # */ 1213s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1213s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1213s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1213s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1213s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1213s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1213s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1213s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1213s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1213s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1213s # #endif /* !G_ENABLE_DEBUG */ 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusArgInfo parent_struct; 1213s # gboolean use_gvariant; 1213s # } _ExtendedGDBusArgInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusMethodInfo parent_struct; 1213s # const gchar *signal_name; 1213s # gboolean pass_fdlist; 1213s # } _ExtendedGDBusMethodInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusSignalInfo parent_struct; 1213s # const gchar *signal_name; 1213s # } _ExtendedGDBusSignalInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusPropertyInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # guint use_gvariant : 1; 1213s # guint emits_changed_signal : 1; 1213s # } _ExtendedGDBusPropertyInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # GDBusInterfaceInfo parent_struct; 1213s # const gchar *hyphen_name; 1213s # } _ExtendedGDBusInterfaceInfo; 1213s # 1213s # typedef struct 1213s # { 1213s # const _ExtendedGDBusPropertyInfo *info; 1213s # guint prop_id; 1213s # GValue orig_value; /* the value before the change */ 1213s # } ChangedProperty; 1213s # 1213s # static void 1213s # _changed_property_free (ChangedProperty *data) 1213s # { 1213s # g_value_unset (&data->orig_value); 1213s # g_free (data); 1213s # } 1213s # 1213s # static gboolean 1213s # _g_strv_equal0 (gchar **a, gchar **b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # guint n; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # if (g_strv_length (a) != g_strv_length (b)) 1213s # goto out; 1213s # for (n = 0; a[n] != NULL; n++) 1213s # if (g_strcmp0 (a[n], b[n]) != 0) 1213s # goto out; 1213s # ret = TRUE; 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _g_variant_equal0 (GVariant *a, GVariant *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # if (a == NULL && b == NULL) 1213s # { 1213s # ret = TRUE; 1213s # goto out; 1213s # } 1213s # if (a == NULL || b == NULL) 1213s # goto out; 1213s # ret = g_variant_equal (a, b); 1213s # out: 1213s # return ret; 1213s # } 1213s # 1213s # G_GNUC_UNUSED static gboolean 1213s # _g_value_equal (const GValue *a, const GValue *b) 1213s # { 1213s # gboolean ret = FALSE; 1213s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1213s # switch (G_VALUE_TYPE (a)) 1213s # { 1213s # case G_TYPE_BOOLEAN: 1213s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1213s # break; 1213s # case G_TYPE_UCHAR: 1213s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1213s # break; 1213s # case G_TYPE_INT: 1213s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1213s # break; 1213s # case G_TYPE_UINT: 1213s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1213s # break; 1213s # case G_TYPE_INT64: 1213s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1213s # break; 1213s # case G_TYPE_UINT64: 1213s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1213s # break; 1213s # case G_TYPE_DOUBLE: 1213s # { 1213s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1213s # gdouble da = g_value_get_double (a); 1213s # gdouble db = g_value_get_double (b); 1213s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1213s # } 1213s # break; 1213s # case G_TYPE_STRING: 1213s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1213s # break; 1213s # case G_TYPE_VARIANT: 1213s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1213s # break; 1213s # default: 1213s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1213s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1213s # else 1213s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1213s # break; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static void 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint G_GNUC_UNUSED, 1213s # void *marshal_data) 1213s # { 1213s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1213s # (void *data1, 1213s # GDBusMethodInvocation *arg_method_invocation, 1213s # GVariant *arg_arg_asv, 1213s # void *data2); 1213s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1213s # GCClosure *cc = (GCClosure*) closure; 1213s # void *data1, *data2; 1213s # gboolean v_return; 1213s # 1213s # g_return_if_fail (return_value != NULL); 1213s # g_return_if_fail (n_param_values == 3); 1213s # 1213s # if (G_CCLOSURE_SWAP_DATA (closure)) 1213s # { 1213s # data1 = closure->data; 1213s # data2 = g_value_peek_pointer (param_values + 0); 1213s # } 1213s # else 1213s # { 1213s # data1 = g_value_peek_pointer (param_values + 0); 1213s # data2 = closure->data; 1213s # } 1213s # 1213s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1213s # (marshal_data ? marshal_data : cc->callback); 1213s # 1213s # v_return = 1213s # callback (data1, 1213s # g_marshal_value_peek_object (param_values + 1), 1213s # g_marshal_value_peek_variant (param_values + 2), 1213s # data2); 1213s # 1213s # g_value_set_boolean (return_value, v_return); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ 1213s # * Code for interface org.project.UsefulInterface 1213s # * ------------------------------------------------------------------------ 1213s # */ 1213s # 1213s # /** 1213s # * SECTION:OrgProjectUsefulInterface 1213s # * @title: OrgProjectUsefulInterface 1213s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1213s # * 1213s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1213s # */ 1213s # 1213s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1213s # 1213s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "arg_asv", 1213s # (gchar *) "a{sv}", 1213s # NULL 1213s # }, 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "SingleArgMethodAsv", 1213s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "handle-single-arg-method-asv", 1213s # FALSE 1213s # }; 1213s # 1213s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1213s # { 1213s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1213s # NULL 1213s # }; 1213s # 1213s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1213s # { 1213s # { 1213s # -1, 1213s # (gchar *) "org.project.UsefulInterface", 1213s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1213s # NULL, 1213s # NULL, 1213s # NULL 1213s # }, 1213s # "org-project-useful-interface", 1213s # }; 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_interface_info: 1213s # * 1213s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1213s # * 1213s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1213s # */ 1213s # GDBusInterfaceInfo * 1213s # org_project_useful_interface_interface_info (void) 1213s # { 1213s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_override_properties: 1213s # * @klass: The class structure for a #GObject derived class. 1213s # * @property_id_begin: The property id to assign to the first overridden property. 1213s # * 1213s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1213s # * The properties are overridden in the order they are defined. 1213s # * 1213s # * Returns: The last property id. 1213s # */ 1213s # guint 1213s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1213s # { 1213s # return property_id_begin - 1; 1213s # } 1213s # 1213s # 1213s # inline static void 1213s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1213s # GClosure *closure, 1213s # GValue *return_value, 1213s # unsigned int n_param_values, 1213s # const GValue *param_values, 1213s # void *invocation_hint, 1213s # void *marshal_data) 1213s # { 1213s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1213s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1213s # } 1213s # 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterface: 1213s # * 1213s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceIface: 1213s # * @parent_iface: The parent interface. 1213s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1213s # * 1213s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1213s # */ 1213s # 1213s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1213s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1213s # 1213s # static void 1213s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1213s # { 1213s # /* GObject signals for incoming D-Bus method calls: */ 1213s # /** 1213s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: A #GDBusMethodInvocation. 1213s # * @arg_arg_asv: Argument passed by remote caller. 1213s # * 1213s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1213s # * 1213s # * 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. 1213s # * 1213s # * 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. 1213s # */ 1213s # g_signal_new ("handle-single-arg-method-asv", 1213s # G_TYPE_FROM_INTERFACE (iface), 1213s # G_SIGNAL_RUN_LAST, 1213s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1213s # g_signal_accumulator_true_handled, 1213s # NULL, 1213s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1213s # G_TYPE_BOOLEAN, 1213s # 2, 1213s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1213s # 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_asv: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_asv: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1213s # */ 1213s # void 1213s # org_project_useful_interface_call_single_arg_method_asv ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GVariant *arg_arg_asv, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAsv", 1213s # g_variant_new ("(@a{sv})", 1213s # arg_arg_asv), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # callback, 1213s # user_data); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1213s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1213s # * @arg_arg_asv: Argument to pass with the method invocation. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL. 1213s # * 1213s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1213s # * 1213s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1213s # */ 1213s # gboolean 1213s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1213s # OrgProjectUsefulInterface *proxy, 1213s # GVariant *arg_arg_asv, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GVariant *_ret; 1213s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1213s # "SingleArgMethodAsv", 1213s # g_variant_new ("(@a{sv})", 1213s # arg_arg_asv), 1213s # G_DBUS_CALL_FLAGS_NONE, 1213s # -1, 1213s # cancellable, 1213s # error); 1213s # if (_ret == NULL) 1213s # goto _out; 1213s # g_variant_get (_ret, 1213s # "()"); 1213s # g_variant_unref (_ret); 1213s # _out: 1213s # return _ret != NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_complete_single_arg_method_asv: 1213s # * @object: A #OrgProjectUsefulInterface. 1213s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1213s # * 1213s # * 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. 1213s # * 1213s # * This method will free @invocation, you cannot use it afterwards. 1213s # */ 1213s # void 1213s # org_project_useful_interface_complete_single_arg_method_asv ( 1213s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1213s # GDBusMethodInvocation *invocation) 1213s # { 1213s # g_dbus_method_invocation_return_value (invocation, 1213s # g_variant_new ("()")); 1213s # } 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxy: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceProxyClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceProxyPrivate 1213s # { 1213s # GData *qdata; 1213s # }; 1213s # 1213s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_proxy_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1213s # g_datalist_clear (&proxy->priv->qdata); 1213s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1213s # guint prop_id G_GNUC_UNUSED, 1213s # const GValue *value G_GNUC_UNUSED, 1213s # GParamSpec *pspec G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1213s # const gchar *sender_name G_GNUC_UNUSED, 1213s # const gchar *signal_name, 1213s # GVariant *parameters) 1213s # { 1213s # _ExtendedGDBusSignalInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # gsize n; 1213s # guint signal_id; 1213s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1213s # if (info == NULL) 1213s # return; 1213s # num_params = g_variant_n_children (parameters); 1213s # paramv = g_new0 (GValue, num_params + 1); 1213s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[0], proxy); 1213s # g_variant_iter_init (&iter, parameters); 1213s # n = 1; 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_signal_emitv (paramv, signal_id, 0, NULL); 1213s # for (n = 0; n < num_params + 1; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1213s # GVariant *changed_properties, 1213s # const gchar *const *invalidated_properties) 1213s # { 1213s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1213s # guint n; 1213s # const gchar *key; 1213s # GVariantIter *iter; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # g_variant_get (changed_properties, "a{sv}", &iter); 1213s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1213s # g_datalist_remove_data (&proxy->priv->qdata, key); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # g_variant_iter_free (iter); 1213s # for (n = 0; invalidated_properties[n] != NULL; n++) 1213s # { 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1213s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1213s # if (info != NULL) 1213s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1213s # } 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1213s # #else 1213s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1213s # #endif 1213s # 1213s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusProxyClass *proxy_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1213s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1213s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1213s # 1213s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1213s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1213s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_sync: 1213s # * @connection: A #GDBusConnection. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_sync ( 1213s # GDBusConnection *connection, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1213s # * @user_data: User data to pass to @callback. 1213s # * 1213s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1213s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1213s # */ 1213s # void 1213s # org_project_useful_interface_proxy_new_for_bus ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GAsyncReadyCallback callback, 1213s # gpointer user_data) 1213s # { 1213s # g_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); 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_finish: 1213s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_finish ( 1213s # GAsyncResult *res, 1213s # GError **error) 1213s # { 1213s # GObject *ret; 1213s # GObject *source_object; 1213s # source_object = g_async_result_get_source_object (res); 1213s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1213s # g_object_unref (source_object); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_proxy_new_for_bus_sync: 1213s # * @bus_type: A #GBusType. 1213s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1213s # * @name: A bus name (well-known or unique). 1213s # * @object_path: An object path. 1213s # * @cancellable: (nullable): A #GCancellable or %NULL. 1213s # * @error: Return location for error or %NULL 1213s # * 1213s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1213s # * 1213s # * The calling thread is blocked until a reply is received. 1213s # * 1213s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_proxy_new_for_bus_sync ( 1213s # GBusType bus_type, 1213s # GDBusProxyFlags flags, 1213s # const gchar *name, 1213s # const gchar *object_path, 1213s # GCancellable *cancellable, 1213s # GError **error) 1213s # { 1213s # GInitable *ret; 1213s # 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); 1213s # if (ret != NULL) 1213s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1213s # else 1213s # return NULL; 1213s # } 1213s # 1213s # 1213s # /* ------------------------------------------------------------------------ */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeleton: 1213s # * 1213s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1213s # */ 1213s # 1213s # /** 1213s # * OrgProjectUsefulInterfaceSkeletonClass: 1213s # * @parent_class: The parent class. 1213s # * 1213s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1213s # */ 1213s # 1213s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1213s # { 1213s # GValue *properties; 1213s # GList *changed_properties; 1213s # GSource *changed_properties_idle_source; 1213s # GMainContext *context; 1213s # GMutex lock; 1213s # }; 1213s # 1213s # static void 1213s # _org_project_useful_interface_skeleton_handle_method_call ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name, 1213s # const gchar *method_name, 1213s # GVariant *parameters, 1213s # GDBusMethodInvocation *invocation, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # _ExtendedGDBusMethodInfo *info; 1213s # GVariantIter iter; 1213s # GVariant *child; 1213s # GValue *paramv; 1213s # gsize num_params; 1213s # guint num_extra; 1213s # gsize n; 1213s # guint signal_id; 1213s # GValue return_value = G_VALUE_INIT; 1213s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1213s # g_assert (info != NULL); 1213s # num_params = g_variant_n_children (parameters); 1213s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1213s # n = 0; 1213s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_set_object (¶mv[n++], skeleton); 1213s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1213s # g_value_set_object (¶mv[n++], invocation); 1213s # if (info->pass_fdlist) 1213s # { 1213s # #ifdef G_OS_UNIX 1213s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1213s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1213s # #else 1213s # g_assert_not_reached (); 1213s # #endif 1213s # } 1213s # g_variant_iter_init (&iter, parameters); 1213s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1213s # { 1213s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1213s # if (arg_info->use_gvariant) 1213s # { 1213s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1213s # g_value_set_variant (¶mv[n], child); 1213s # n++; 1213s # } 1213s # else 1213s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1213s # g_variant_unref (child); 1213s # } 1213s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1213s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1213s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1213s # if (!g_value_get_boolean (&return_value)) 1213s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1213s # g_value_unset (&return_value); 1213s # for (n = 0; n < num_params + num_extra; n++) 1213s # g_value_unset (¶mv[n]); 1213s # g_free (paramv); 1213s # } 1213s # 1213s # static GVariant * 1213s # _org_project_useful_interface_skeleton_handle_get_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # GVariant *ret; 1213s # ret = NULL; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # g_value_init (&value, pspec->value_type); 1213s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1213s # g_value_unset (&value); 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static gboolean 1213s # _org_project_useful_interface_skeleton_handle_set_property ( 1213s # GDBusConnection *connection G_GNUC_UNUSED, 1213s # const gchar *sender G_GNUC_UNUSED, 1213s # const gchar *object_path G_GNUC_UNUSED, 1213s # const gchar *interface_name G_GNUC_UNUSED, 1213s # const gchar *property_name, 1213s # GVariant *variant, 1213s # GError **error, 1213s # gpointer user_data) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1213s # GValue value = G_VALUE_INIT; 1213s # GParamSpec *pspec; 1213s # _ExtendedGDBusPropertyInfo *info; 1213s # gboolean ret; 1213s # ret = FALSE; 1213s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1213s # g_assert (info != NULL); 1213s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1213s # if (pspec == NULL) 1213s # { 1213s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1213s # } 1213s # else 1213s # { 1213s # if (info->use_gvariant) 1213s # g_value_set_variant (&value, variant); 1213s # else 1213s # g_dbus_gvariant_to_gvalue (variant, &value); 1213s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1213s # g_value_unset (&value); 1213s # ret = TRUE; 1213s # } 1213s # return ret; 1213s # } 1213s # 1213s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1213s # { 1213s # _org_project_useful_interface_skeleton_handle_method_call, 1213s # _org_project_useful_interface_skeleton_handle_get_property, 1213s # _org_project_useful_interface_skeleton_handle_set_property, 1213s # {NULL} 1213s # }; 1213s # 1213s # static GDBusInterfaceInfo * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return org_project_useful_interface_interface_info (); 1213s # } 1213s # 1213s # static GDBusInterfaceVTable * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1213s # { 1213s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1213s # } 1213s # 1213s # static GVariant * 1213s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1213s # 1213s # GVariantBuilder builder; 1213s # guint n; 1213s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1213s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1213s # goto out; 1213s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1213s # { 1213s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1213s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1213s # { 1213s # GVariant *value; 1213s # 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); 1213s # if (value != NULL) 1213s # { 1213s # g_variant_take_ref (value); 1213s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1213s # g_variant_unref (value); 1213s # } 1213s # } 1213s # } 1213s # out: 1213s # return g_variant_builder_end (&builder); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #else 1213s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1213s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1213s # 1213s # #endif 1213s # static void 1213s # org_project_useful_interface_skeleton_finalize (GObject *object) 1213s # { 1213s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1213s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1213s # if (skeleton->priv->changed_properties_idle_source != NULL) 1213s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1213s # g_main_context_unref (skeleton->priv->context); 1213s # g_mutex_clear (&skeleton->priv->lock); 1213s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1213s # { 1213s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1213s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1213s # #else 1213s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1213s # #endif 1213s # 1213s # g_mutex_init (&skeleton->priv->lock); 1213s # skeleton->priv->context = g_main_context_ref_thread_default (); 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1213s # { 1213s # GObjectClass *gobject_class; 1213s # GDBusInterfaceSkeletonClass *skeleton_class; 1213s # 1213s # gobject_class = G_OBJECT_CLASS (klass); 1213s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1213s # 1213s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1213s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1213s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1213s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1213s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1213s # 1213s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1213s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1213s # #endif 1213s # } 1213s # 1213s # static void 1213s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1213s # { 1213s # } 1213s # 1213s # /** 1213s # * org_project_useful_interface_skeleton_new: 1213s # * 1213s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1213s # * 1213s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1213s # */ 1213s # OrgProjectUsefulInterface * 1213s # org_project_useful_interface_skeleton_new (void) 1213s # { 1213s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1213s # } 1214s # Executing: glib/codegen.py.test 1215s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1215s # tmpdir: /tmp/tmprl80jbes 1215s # codegen: /usr/bin/gdbus-codegen 1215s # /tmp/tmprl80jbes/tmpd7t47kgp.xml: 1215s # 1215s # 1215s # 1215s # 1215s # 1215s # 1215s # 1215s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpd7t47kgp.xml', '--output', '-', '--body'] 1215s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1215s # Output: /* 1215s # * This file is generated by gdbus-codegen, do not modify it. 1215s # * 1215s # * The license of this code is the same as for the D-Bus interface description 1215s # * it was derived from. Note that it links to GLib, so must comply with the 1215s # * LGPL linking clauses. 1215s # */ 1215s # 1215s # #ifdef HAVE_CONFIG_H 1215s # # include "config.h" 1215s # #endif 1215s # 1215s # #include 1215s # #ifdef G_OS_UNIX 1215s # # include 1215s # #endif 1215s # 1215s # #ifdef G_ENABLE_DEBUG 1215s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1215s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1215s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1215s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1215s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1215s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1215s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1215s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1215s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1215s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1215s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1215s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1215s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1215s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1215s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1215s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1215s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1215s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1215s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1215s # #else /* !G_ENABLE_DEBUG */ 1215s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1215s # * Do not access GValues directly in your code. Instead, use the 1215s # * g_value_get_*() functions 1215s # */ 1215s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1215s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1215s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1215s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1215s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1215s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1215s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1215s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1215s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1215s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1215s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1215s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1215s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1215s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1215s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1215s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1215s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1215s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1215s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1215s # #endif /* !G_ENABLE_DEBUG */ 1215s # 1215s # typedef struct 1215s # { 1215s # GDBusArgInfo parent_struct; 1215s # gboolean use_gvariant; 1215s # } _ExtendedGDBusArgInfo; 1215s # 1215s # typedef struct 1215s # { 1215s # GDBusMethodInfo parent_struct; 1215s # const gchar *signal_name; 1215s # gboolean pass_fdlist; 1215s # } _ExtendedGDBusMethodInfo; 1215s # 1215s # typedef struct 1215s # { 1215s # GDBusSignalInfo parent_struct; 1215s # const gchar *signal_name; 1215s # } _ExtendedGDBusSignalInfo; 1215s # 1215s # typedef struct 1215s # { 1215s # GDBusPropertyInfo parent_struct; 1215s # const gchar *hyphen_name; 1215s # guint use_gvariant : 1; 1215s # guint emits_changed_signal : 1; 1215s # } _ExtendedGDBusPropertyInfo; 1215s # 1215s # typedef struct 1215s # { 1215s # GDBusInterfaceInfo parent_struct; 1215s # const gchar *hyphen_name; 1215s # } _ExtendedGDBusInterfaceInfo; 1215s # 1215s # typedef struct 1215s # { 1215s # const _ExtendedGDBusPropertyInfo *info; 1215s # guint prop_id; 1215s # GValue orig_value; /* the value before the change */ 1215s # } ChangedProperty; 1215s # 1215s # static void 1215s # _changed_property_free (ChangedProperty *data) 1215s # { 1215s # g_value_unset (&data->orig_value); 1215s # g_free (data); 1215s # } 1215s # 1215s # static gboolean 1215s # _g_strv_equal0 (gchar **a, gchar **b) 1215s # { 1215s # gboolean ret = FALSE; 1215s # guint n; 1215s # if (a == NULL && b == NULL) 1215s # { 1215s # ret = TRUE; 1215s # goto out; 1215s # } 1215s # if (a == NULL || b == NULL) 1215s # goto out; 1215s # if (g_strv_length (a) != g_strv_length (b)) 1215s # goto out; 1215s # for (n = 0; a[n] != NULL; n++) 1215s # if (g_strcmp0 (a[n], b[n]) != 0) 1215s # goto out; 1215s # ret = TRUE; 1215s # out: 1215s # return ret; 1215s # } 1215s # 1215s # static gboolean 1215s # _g_variant_equal0 (GVariant *a, GVariant *b) 1215s # { 1215s # gboolean ret = FALSE; 1215s # if (a == NULL && b == NULL) 1215s # { 1215s # ret = TRUE; 1215s # goto out; 1215s # } 1215s # if (a == NULL || b == NULL) 1215s # goto out; 1215s # ret = g_variant_equal (a, b); 1215s # out: 1215s # return ret; 1215s # } 1215s # 1215s # G_GNUC_UNUSED static gboolean 1215s # _g_value_equal (const GValue *a, const GValue *b) 1215s # { 1215s # gboolean ret = FALSE; 1215s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1215s # switch (G_VALUE_TYPE (a)) 1215s # { 1215s # case G_TYPE_BOOLEAN: 1215s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1215s # break; 1215s # case G_TYPE_UCHAR: 1215s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1215s # break; 1215s # case G_TYPE_INT: 1215s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1215s # break; 1215s # case G_TYPE_UINT: 1215s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1215s # break; 1215s # case G_TYPE_INT64: 1215s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1215s # break; 1215s # case G_TYPE_UINT64: 1215s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1215s # break; 1215s # case G_TYPE_DOUBLE: 1215s # { 1215s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1215s # gdouble da = g_value_get_double (a); 1215s # gdouble db = g_value_get_double (b); 1215s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1215s # } 1215s # break; 1215s # case G_TYPE_STRING: 1215s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1215s # break; 1215s # case G_TYPE_VARIANT: 1215s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1215s # break; 1215s # default: 1215s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1215s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1215s # else 1215s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1215s # break; 1215s # } 1215s # return ret; 1215s # } 1215s # 1215s # static void 1215s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1215s # GClosure *closure, 1215s # GValue *return_value, 1215s # unsigned int n_param_values, 1215s # const GValue *param_values, 1215s # void *invocation_hint G_GNUC_UNUSED, 1215s # void *marshal_data) 1215s # { 1215s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1215s # (void *data1, 1215s # GDBusMethodInvocation *arg_method_invocation, 1215s # void *data2); 1215s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1215s # GCClosure *cc = (GCClosure*) closure; 1215s # void *data1, *data2; 1215s # gboolean v_return; 1215s # 1215s # g_return_if_fail (return_value != NULL); 1215s # g_return_if_fail (n_param_values == 2); 1215s # 1215s # if (G_CCLOSURE_SWAP_DATA (closure)) 1215s # { 1215s # data1 = closure->data; 1215s # data2 = g_value_peek_pointer (param_values + 0); 1215s # } 1215s # else 1215s # { 1215s # data1 = g_value_peek_pointer (param_values + 0); 1215s # data2 = closure->data; 1215s # } 1215s # 1215s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1215s # (marshal_data ? marshal_data : cc->callback); 1215s # 1215s # v_return = 1215s # callback (data1, 1215s # g_marshal_value_peek_object (param_values + 1), 1215s # data2); 1215s # 1215s # g_value_set_boolean (return_value, v_return); 1215s # } 1215s # 1215s # /* ------------------------------------------------------------------------ 1215s # * Code for interface org.project.UsefulInterface 1215s # * ------------------------------------------------------------------------ 1215s # */ 1215s # 1215s # /** 1215s # * SECTION:OrgProjectUsefulInterface 1215s # * @title: OrgProjectUsefulInterface 1215s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1215s # * 1215s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1215s # */ 1215s # 1215s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1215s # 1215s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1215s # { 1215s # { 1215s # -1, 1215s # (gchar *) "arg_b", 1215s # (gchar *) "b", 1215s # NULL 1215s # }, 1215s # FALSE 1215s # }; 1215s # 1215s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1215s # { 1215s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1215s # NULL 1215s # }; 1215s # 1215s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1215s # { 1215s # { 1215s # -1, 1215s # (gchar *) "SingleArgMethodB", 1215s # NULL, 1215s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1215s # NULL 1215s # }, 1215s # "handle-single-arg-method-b", 1215s # FALSE 1215s # }; 1215s # 1215s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1215s # { 1215s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1215s # NULL 1215s # }; 1215s # 1215s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1215s # { 1215s # { 1215s # -1, 1215s # (gchar *) "org.project.UsefulInterface", 1215s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1215s # NULL, 1215s # NULL, 1215s # NULL 1215s # }, 1215s # "org-project-useful-interface", 1215s # }; 1215s # 1215s # 1215s # /** 1215s # * org_project_useful_interface_interface_info: 1215s # * 1215s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1215s # * 1215s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1215s # */ 1215s # GDBusInterfaceInfo * 1215s # org_project_useful_interface_interface_info (void) 1215s # { 1215s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_override_properties: 1215s # * @klass: The class structure for a #GObject derived class. 1215s # * @property_id_begin: The property id to assign to the first overridden property. 1215s # * 1215s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1215s # * The properties are overridden in the order they are defined. 1215s # * 1215s # * Returns: The last property id. 1215s # */ 1215s # guint 1215s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1215s # { 1215s # return property_id_begin - 1; 1215s # } 1215s # 1215s # 1215s # inline static void 1215s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1215s # GClosure *closure, 1215s # GValue *return_value, 1215s # unsigned int n_param_values, 1215s # const GValue *param_values, 1215s # void *invocation_hint, 1215s # void *marshal_data) 1215s # { 1215s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1215s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1215s # } 1215s # 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterface: 1215s # * 1215s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1215s # */ 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterfaceIface: 1215s # * @parent_iface: The parent interface. 1215s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1215s # * 1215s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1215s # */ 1215s # 1215s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1215s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1215s # 1215s # static void 1215s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1215s # { 1215s # /* GObject signals for incoming D-Bus method calls: */ 1215s # /** 1215s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1215s # * @object: A #OrgProjectUsefulInterface. 1215s # * @invocation: A #GDBusMethodInvocation. 1215s # * 1215s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1215s # * 1215s # * 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. 1215s # * 1215s # * 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. 1215s # */ 1215s # g_signal_new ("handle-single-arg-method-b", 1215s # G_TYPE_FROM_INTERFACE (iface), 1215s # G_SIGNAL_RUN_LAST, 1215s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1215s # g_signal_accumulator_true_handled, 1215s # NULL, 1215s # org_project_useful_interface_method_marshal_single_arg_method_b, 1215s # G_TYPE_BOOLEAN, 1215s # 1, 1215s # G_TYPE_DBUS_METHOD_INVOCATION); 1215s # 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_call_single_arg_method_b: 1215s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1215s # * @user_data: User data to pass to @callback. 1215s # * 1215s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1215s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1215s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1215s # * 1215s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1215s # */ 1215s # void 1215s # org_project_useful_interface_call_single_arg_method_b ( 1215s # OrgProjectUsefulInterface *proxy, 1215s # GCancellable *cancellable, 1215s # GAsyncReadyCallback callback, 1215s # gpointer user_data) 1215s # { 1215s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1215s # "SingleArgMethodB", 1215s # g_variant_new ("()"), 1215s # G_DBUS_CALL_FLAGS_NONE, 1215s # -1, 1215s # cancellable, 1215s # callback, 1215s # user_data); 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_call_single_arg_method_b_finish: 1215s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1215s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1215s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1215s # * @error: Return location for error or %NULL. 1215s # * 1215s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1215s # * 1215s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1215s # */ 1215s # gboolean 1215s # org_project_useful_interface_call_single_arg_method_b_finish ( 1215s # OrgProjectUsefulInterface *proxy, 1215s # gboolean *out_arg_b, 1215s # GAsyncResult *res, 1215s # GError **error) 1215s # { 1215s # GVariant *_ret; 1215s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1215s # if (_ret == NULL) 1215s # goto _out; 1215s # g_variant_get (_ret, 1215s # "(b)", 1215s # out_arg_b); 1215s # g_variant_unref (_ret); 1215s # _out: 1215s # return _ret != NULL; 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_call_single_arg_method_b_sync: 1215s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1215s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @error: Return location for error or %NULL. 1215s # * 1215s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1215s # * 1215s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1215s # * 1215s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1215s # */ 1215s # gboolean 1215s # org_project_useful_interface_call_single_arg_method_b_sync ( 1215s # OrgProjectUsefulInterface *proxy, 1215s # gboolean *out_arg_b, 1215s # GCancellable *cancellable, 1215s # GError **error) 1215s # { 1215s # GVariant *_ret; 1215s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1215s # "SingleArgMethodB", 1215s # g_variant_new ("()"), 1215s # G_DBUS_CALL_FLAGS_NONE, 1215s # -1, 1215s # cancellable, 1215s # error); 1215s # if (_ret == NULL) 1215s # goto _out; 1215s # g_variant_get (_ret, 1215s # "(b)", 1215s # out_arg_b); 1215s # g_variant_unref (_ret); 1215s # _out: 1215s # return _ret != NULL; 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_complete_single_arg_method_b: 1215s # * @object: A #OrgProjectUsefulInterface. 1215s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1215s # * @arg_b: Parameter to return. 1215s # * 1215s # * 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. 1215s # * 1215s # * This method will free @invocation, you cannot use it afterwards. 1215s # */ 1215s # void 1215s # org_project_useful_interface_complete_single_arg_method_b ( 1215s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1215s # GDBusMethodInvocation *invocation, 1215s # gboolean arg_b) 1215s # { 1215s # g_dbus_method_invocation_return_value (invocation, 1215s # g_variant_new ("(b)", 1215s # arg_b)); 1215s # } 1215s # 1215s # /* ------------------------------------------------------------------------ */ 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterfaceProxy: 1215s # * 1215s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1215s # */ 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterfaceProxyClass: 1215s # * @parent_class: The parent class. 1215s # * 1215s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1215s # */ 1215s # 1215s # struct _OrgProjectUsefulInterfaceProxyPrivate 1215s # { 1215s # GData *qdata; 1215s # }; 1215s # 1215s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1215s # 1215s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1215s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1215s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1215s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1215s # 1215s # #else 1215s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1215s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1215s # 1215s # #endif 1215s # static void 1215s # org_project_useful_interface_proxy_finalize (GObject *object) 1215s # { 1215s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1215s # g_datalist_clear (&proxy->priv->qdata); 1215s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1215s # guint prop_id G_GNUC_UNUSED, 1215s # GValue *value G_GNUC_UNUSED, 1215s # GParamSpec *pspec G_GNUC_UNUSED) 1215s # { 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1215s # guint prop_id G_GNUC_UNUSED, 1215s # const GValue *value G_GNUC_UNUSED, 1215s # GParamSpec *pspec G_GNUC_UNUSED) 1215s # { 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1215s # const gchar *sender_name G_GNUC_UNUSED, 1215s # const gchar *signal_name, 1215s # GVariant *parameters) 1215s # { 1215s # _ExtendedGDBusSignalInfo *info; 1215s # GVariantIter iter; 1215s # GVariant *child; 1215s # GValue *paramv; 1215s # gsize num_params; 1215s # gsize n; 1215s # guint signal_id; 1215s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1215s # if (info == NULL) 1215s # return; 1215s # num_params = g_variant_n_children (parameters); 1215s # paramv = g_new0 (GValue, num_params + 1); 1215s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1215s # g_value_set_object (¶mv[0], proxy); 1215s # g_variant_iter_init (&iter, parameters); 1215s # n = 1; 1215s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1215s # { 1215s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1215s # if (arg_info->use_gvariant) 1215s # { 1215s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1215s # g_value_set_variant (¶mv[n], child); 1215s # n++; 1215s # } 1215s # else 1215s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1215s # g_variant_unref (child); 1215s # } 1215s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1215s # g_signal_emitv (paramv, signal_id, 0, NULL); 1215s # for (n = 0; n < num_params + 1; n++) 1215s # g_value_unset (¶mv[n]); 1215s # g_free (paramv); 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1215s # GVariant *changed_properties, 1215s # const gchar *const *invalidated_properties) 1215s # { 1215s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1215s # guint n; 1215s # const gchar *key; 1215s # GVariantIter *iter; 1215s # _ExtendedGDBusPropertyInfo *info; 1215s # g_variant_get (changed_properties, "a{sv}", &iter); 1215s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1215s # { 1215s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1215s # g_datalist_remove_data (&proxy->priv->qdata, key); 1215s # if (info != NULL) 1215s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1215s # } 1215s # g_variant_iter_free (iter); 1215s # for (n = 0; invalidated_properties[n] != NULL; n++) 1215s # { 1215s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1215s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1215s # if (info != NULL) 1215s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1215s # } 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1215s # { 1215s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1215s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1215s # #else 1215s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1215s # #endif 1215s # 1215s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1215s # { 1215s # GObjectClass *gobject_class; 1215s # GDBusProxyClass *proxy_class; 1215s # 1215s # gobject_class = G_OBJECT_CLASS (klass); 1215s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1215s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1215s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1215s # 1215s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1215s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1215s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1215s # 1215s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1215s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1215s # #endif 1215s # } 1215s # 1215s # static void 1215s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1215s # { 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new: 1215s # * @connection: A #GDBusConnection. 1215s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1215s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1215s # * @object_path: An object path. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1215s # * @user_data: User data to pass to @callback. 1215s # * 1215s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1215s # * 1215s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1215s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1215s # * 1215s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1215s # */ 1215s # void 1215s # org_project_useful_interface_proxy_new ( 1215s # GDBusConnection *connection, 1215s # GDBusProxyFlags flags, 1215s # const gchar *name, 1215s # const gchar *object_path, 1215s # GCancellable *cancellable, 1215s # GAsyncReadyCallback callback, 1215s # gpointer user_data) 1215s # { 1215s # g_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); 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new_finish: 1215s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1215s # * @error: Return location for error or %NULL 1215s # * 1215s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1215s # * 1215s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1215s # */ 1215s # OrgProjectUsefulInterface * 1215s # org_project_useful_interface_proxy_new_finish ( 1215s # GAsyncResult *res, 1215s # GError **error) 1215s # { 1215s # GObject *ret; 1215s # GObject *source_object; 1215s # source_object = g_async_result_get_source_object (res); 1215s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1215s # g_object_unref (source_object); 1215s # if (ret != NULL) 1215s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1215s # else 1215s # return NULL; 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new_sync: 1215s # * @connection: A #GDBusConnection. 1215s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1215s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1215s # * @object_path: An object path. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @error: Return location for error or %NULL 1215s # * 1215s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1215s # * 1215s # * The calling thread is blocked until a reply is received. 1215s # * 1215s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1215s # * 1215s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1215s # */ 1215s # OrgProjectUsefulInterface * 1215s # org_project_useful_interface_proxy_new_sync ( 1215s # GDBusConnection *connection, 1215s # GDBusProxyFlags flags, 1215s # const gchar *name, 1215s # const gchar *object_path, 1215s # GCancellable *cancellable, 1215s # GError **error) 1215s # { 1215s # GInitable *ret; 1215s # 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); 1215s # if (ret != NULL) 1215s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1215s # else 1215s # return NULL; 1215s # } 1215s # 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new_for_bus: 1215s # * @bus_type: A #GBusType. 1215s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1215s # * @name: A bus name (well-known or unique). 1215s # * @object_path: An object path. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1215s # * @user_data: User data to pass to @callback. 1215s # * 1215s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1215s # * 1215s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1215s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1215s # * 1215s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1215s # */ 1215s # void 1215s # org_project_useful_interface_proxy_new_for_bus ( 1215s # GBusType bus_type, 1215s # GDBusProxyFlags flags, 1215s # const gchar *name, 1215s # const gchar *object_path, 1215s # GCancellable *cancellable, 1215s # GAsyncReadyCallback callback, 1215s # gpointer user_data) 1215s # { 1215s # g_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); 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new_for_bus_finish: 1215s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1215s # * @error: Return location for error or %NULL 1215s # * 1215s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1215s # * 1215s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1215s # */ 1215s # OrgProjectUsefulInterface * 1215s # org_project_useful_interface_proxy_new_for_bus_finish ( 1215s # GAsyncResult *res, 1215s # GError **error) 1215s # { 1215s # GObject *ret; 1215s # GObject *source_object; 1215s # source_object = g_async_result_get_source_object (res); 1215s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1215s # g_object_unref (source_object); 1215s # if (ret != NULL) 1215s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1215s # else 1215s # return NULL; 1215s # } 1215s # 1215s # /** 1215s # * org_project_useful_interface_proxy_new_for_bus_sync: 1215s # * @bus_type: A #GBusType. 1215s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1215s # * @name: A bus name (well-known or unique). 1215s # * @object_path: An object path. 1215s # * @cancellable: (nullable): A #GCancellable or %NULL. 1215s # * @error: Return location for error or %NULL 1215s # * 1215s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1215s # * 1215s # * The calling thread is blocked until a reply is received. 1215s # * 1215s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1215s # * 1215s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1215s # */ 1215s # OrgProjectUsefulInterface * 1215s # org_project_useful_interface_proxy_new_for_bus_sync ( 1215s # GBusType bus_type, 1215s # GDBusProxyFlags flags, 1215s # const gchar *name, 1215s # const gchar *object_path, 1215s # GCancellable *cancellable, 1215s # GError **error) 1215s # { 1215s # GInitable *ret; 1215s # 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); 1215s # if (ret != NULL) 1215s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1215s # else 1215s # return NULL; 1215s # } 1215s # 1215s # 1215s # /* ------------------------------------------------------------------------ */ 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterfaceSkeleton: 1215s # * 1215s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1215s # */ 1215s # 1215s # /** 1215s # * OrgProjectUsefulInterfaceSkeletonClass: 1215s # * @parent_class: The parent class. 1215s # * 1215s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1215s # */ 1215s # 1215s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1215s # { 1215s # GValue *properties; 1215s # GList *changed_properties; 1215s # GSource *changed_properties_idle_source; 1215s # GMainContext *context; 1215s # GMutex lock; 1215s # }; 1215s # 1215s # static void 1215s # _org_project_useful_interface_skeleton_handle_method_call ( 1215s # GDBusConnection *connection G_GNUC_UNUSED, 1215s # const gchar *sender G_GNUC_UNUSED, 1215s # const gchar *object_path G_GNUC_UNUSED, 1215s # const gchar *interface_name, 1215s # const gchar *method_name, 1215s # GVariant *parameters, 1215s # GDBusMethodInvocation *invocation, 1215s # gpointer user_data) 1215s # { 1215s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1215s # _ExtendedGDBusMethodInfo *info; 1215s # GVariantIter iter; 1215s # GVariant *child; 1215s # GValue *paramv; 1215s # gsize num_params; 1215s # guint num_extra; 1215s # gsize n; 1215s # guint signal_id; 1215s # GValue return_value = G_VALUE_INIT; 1215s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1215s # g_assert (info != NULL); 1215s # num_params = g_variant_n_children (parameters); 1215s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpki52cuta.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpki52cuta.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_y", 1216s # (gchar *) "y", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodY", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-y", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-y", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_y, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_y: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_y ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodY", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_y_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_y_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guchar *out_arg_y, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(y)", 1216s # out_arg_y); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_y_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_y_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guchar *out_arg_y, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodY", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(y)", 1216s # out_arg_y); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_y: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_y: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_y ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # guchar arg_y) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(y)", 1216s # arg_y)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpe5flce33.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpe5flce33.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_n", 1216s # (gchar *) "n", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodN", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-n", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-n", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_n, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_n: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_n ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodN", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_n_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_n_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint16 *out_arg_n, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(n)", 1216s # out_arg_n); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_n_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_n_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint16 *out_arg_n, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodN", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(n)", 1216s # out_arg_n); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_n: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_n: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_n ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # gint16 arg_n) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(n)", 1216s # arg_n)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpd32w3m6n.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpd32w3m6n.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_q", 1216s # (gchar *) "q", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodQ", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-q", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-q", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_q, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_q: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_q ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodQ", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_q_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_q_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint16 *out_arg_q, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(q)", 1216s # out_arg_q); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_q_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_q_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint16 *out_arg_q, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodQ", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(q)", 1216s # out_arg_q); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_q: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_q: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_q ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # guint16 arg_q) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(q)", 1216s # arg_q)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmp6hqx40ge.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmp6hqx40ge.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_i", 1216s # (gchar *) "i", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodI", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-i", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-i", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_i, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_i: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_i ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodI", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_i_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_i_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint *out_arg_i, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(i)", 1216s # out_arg_i); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_i_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_i_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint *out_arg_i, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodI", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(i)", 1216s # out_arg_i); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_i: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_i: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_i ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # gint arg_i) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(i)", 1216s # arg_i)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmp_di0k44e.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmp_di0k44e.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_u", 1216s # (gchar *) "u", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodU", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-u", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-u", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_u, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_u: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_u ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodU", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_u_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_u_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint *out_arg_u, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(u)", 1216s # out_arg_u); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_u_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_u_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint *out_arg_u, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodU", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(u)", 1216s # out_arg_u); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_u: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_u: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_u ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # guint arg_u) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(u)", 1216s # arg_u)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpnwouk2vz.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpnwouk2vz.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_x", 1216s # (gchar *) "x", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodX", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-x", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-x", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_x, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_x: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_x ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodX", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_x_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_x_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint64 *out_arg_x, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(x)", 1216s # out_arg_x); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_x_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_x_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gint64 *out_arg_x, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodX", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(x)", 1216s # out_arg_x); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_x: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_x: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_x ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # gint64 arg_x) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(x)", 1216s # arg_x)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpxsvo8qlx.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpxsvo8qlx.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_t", 1216s # (gchar *) "t", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodT", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-t", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-t", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_t, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_t: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_t ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodT", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_t_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_t_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint64 *out_arg_t, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(t)", 1216s # out_arg_t); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_t_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_t_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # guint64 *out_arg_t, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodT", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(t)", 1216s # out_arg_t); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_t: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_t: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_t ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # guint64 arg_t) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(t)", 1216s # arg_t)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpoihtqhms.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpoihtqhms.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_d", 1216s # (gchar *) "d", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodD", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-d", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-d", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_d, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_d: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_d ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodD", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_d_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_d_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gdouble *out_arg_d, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(d)", 1216s # out_arg_d); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_d_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_d_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gdouble *out_arg_d, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodD", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(d)", 1216s # out_arg_d); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_d: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_d: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_d ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # gdouble arg_d) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(d)", 1216s # arg_d)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpgsqjjobi.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpgsqjjobi.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_s", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodS", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-s", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-s", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_s, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_s: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_s ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodS", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_s_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_s_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_s, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(s)", 1216s # out_arg_s); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_s_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_s_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_s, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodS", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(s)", 1216s # out_arg_s); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_s: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_s: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_s ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *arg_s) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(s)", 1216s # arg_s)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpyuexbj7g.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpyuexbj7g.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_o", 1216s # (gchar *) "o", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodO", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-o", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-o", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_o, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_o: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_o ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodO", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_o_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_o_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_o, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(o)", 1216s # out_arg_o); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_o_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_o_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_o, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodO", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(o)", 1216s # out_arg_o); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_o: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_o: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_o ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *arg_o) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(o)", 1216s # arg_o)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmprjci6vat.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmprjci6vat.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_g", 1216s # (gchar *) "g", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodG", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-g", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-g", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_g, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_g: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_g ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodG", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_g_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_g_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_g, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(g)", 1216s # out_arg_g); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_g_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_g_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_g, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodG", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(g)", 1216s # out_arg_g); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_g: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_g: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_g ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *arg_g) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(g)", 1216s # arg_g)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmp3xuotjrw.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmp3xuotjrw.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_h", 1216s # (gchar *) "h", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodH", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-h", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-h", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_h, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_h: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_h ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodH", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_h_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_h_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GVariant **out_arg_h, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(@h)", 1216s # out_arg_h); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_h_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_h_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GVariant **out_arg_h, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodH", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(@h)", 1216s # out_arg_h); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_h: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_h: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_h ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # GVariant *arg_h) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(@h)", 1216s # arg_h)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpr46b1mlx.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpr46b1mlx.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_ay", 1216s # (gchar *) "ay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodAy", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-ay", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-ay", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ay: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_ay ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAy", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_ay, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^ay)", 1216s # out_arg_ay); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar **out_arg_ay, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAy", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^ay)", 1216s # out_arg_ay); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_ay: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_ay: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_ay ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *arg_ay) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(^ay)", 1216s # arg_ay)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpsggpnash.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpsggpnash.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_as", 1216s # (gchar *) "as", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodAs", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-as", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-as", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_as, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_as: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_as ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAs", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_as_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_as_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_as, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^as)", 1216s # out_arg_as); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_as_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_as_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_as, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAs", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^as)", 1216s # out_arg_as); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_as: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_as: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_as ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *const *arg_as) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(^as)", 1216s # arg_as)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmp64mzisuy.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmp64mzisuy.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_ao", 1216s # (gchar *) "ao", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodAo", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-ao", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-ao", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ao: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_ao ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAo", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_ao, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^ao)", 1216s # out_arg_ao); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_ao, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAo", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^ao)", 1216s # out_arg_ao); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_ao: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_ao: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_ao ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *const *arg_ao) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(^ao)", 1216s # arg_ao)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpjgfqlztc.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpjgfqlztc.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_aay", 1216s # (gchar *) "aay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodAay", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-aay", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-aay", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_aay: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_aay ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAay", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_aay, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^aay)", 1216s # out_arg_aay); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # gchar ***out_arg_aay, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAay", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(^aay)", 1216s # out_arg_aay); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_aay: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_aay: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_aay ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # const gchar *const *arg_aay) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(^aay)", 1216s # arg_aay)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s # /tmp/tmprl80jbes/tmpyyxz7o8a.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprl80jbes/tmpyyxz7o8a.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.UsefulInterface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectUsefulInterface 1216s # * @title: OrgProjectUsefulInterface 1216s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "arg_asv", 1216s # (gchar *) "a{sv}", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SingleArgMethodAsv", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-single-arg-method-asv", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1216s # { 1216s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.UsefulInterface", 1216s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-useful-interface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_useful_interface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1216s # */ 1216s # 1216s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-single-arg-method-asv", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_asv: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_useful_interface_call_single_arg_method_asv ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAsv", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GVariant **out_arg_asv, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(@a{sv})", 1216s # out_arg_asv); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1216s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1216s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1216s # OrgProjectUsefulInterface *proxy, 1216s # GVariant **out_arg_asv, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SingleArgMethodAsv", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(@a{sv})", 1216s # out_arg_asv); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_complete_single_arg_method_asv: 1216s # * @object: A #OrgProjectUsefulInterface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @arg_asv: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_useful_interface_complete_single_arg_method_asv ( 1216s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # GVariant *arg_asv) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(@a{sv})", 1216s # arg_asv)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxy: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1216s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1216s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_useful_interface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeleton: 1216s # * 1216s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectUsefulInterfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_useful_interface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_useful_interface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_useful_interface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1216s # { 1216s # _org_project_useful_interface_skeleton_handle_method_call, 1216s # _org_project_useful_interface_skeleton_handle_get_property, 1216s # _org_project_useful_interface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_useful_interface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_useful_interface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_useful_interface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectUsefulInterface * 1216s # org_project_useful_interface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1216s # } 1216s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1216s # tmpdir: /tmp/tmpjs2wknuu 1216s # codegen: /usr/bin/gdbus-codegen 1216s # /tmp/tmpjs2wknuu/tmp1ph5h0dw.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjs2wknuu/tmp1ph5h0dw.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 20); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # g_marshal_value_peek_boolean (param_values + 2), 1216s # g_marshal_value_peek_uchar (param_values + 3), 1216s # g_marshal_value_peek_int (param_values + 4), 1216s # g_marshal_value_peek_uint (param_values + 5), 1216s # g_marshal_value_peek_int (param_values + 6), 1216s # g_marshal_value_peek_uint (param_values + 7), 1216s # g_marshal_value_peek_int64 (param_values + 8), 1216s # g_marshal_value_peek_uint64 (param_values + 9), 1216s # g_marshal_value_peek_double (param_values + 10), 1216s # g_marshal_value_peek_string (param_values + 11), 1216s # g_marshal_value_peek_string (param_values + 12), 1216s # g_marshal_value_peek_string (param_values + 13), 1216s # g_marshal_value_peek_variant (param_values + 14), 1216s # g_marshal_value_peek_string (param_values + 15), 1216s # g_marshal_value_peek_boxed (param_values + 16), 1216s # g_marshal_value_peek_boxed (param_values + 17), 1216s # g_marshal_value_peek_boxed (param_values + 18), 1216s # g_marshal_value_peek_variant (param_values + 19), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.CallableIface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectCallableIface 1216s # * @title: OrgProjectCallableIface 1216s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.CallableIface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_b", 1216s # (gchar *) "b", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_y", 1216s # (gchar *) "y", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_n", 1216s # (gchar *) "n", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_q", 1216s # (gchar *) "q", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_i", 1216s # (gchar *) "i", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_u", 1216s # (gchar *) "u", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_x", 1216s # (gchar *) "x", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_t", 1216s # (gchar *) "t", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_d", 1216s # (gchar *) "d", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_s", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_o", 1216s # (gchar *) "o", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_g", 1216s # (gchar *) "g", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_h", 1216s # (gchar *) "h", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ay", 1216s # (gchar *) "ay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_as", 1216s # (gchar *) "as", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ao", 1216s # (gchar *) "ao", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_aay", 1216s # (gchar *) "aay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_asv", 1216s # (gchar *) "a{sv}", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1216s # { 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "MethodWithManyArgs", 1216s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "handle-method-with-many-args", 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_b", 1216s # (gchar *) "b", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_y", 1216s # (gchar *) "y", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_n", 1216s # (gchar *) "n", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_q", 1216s # (gchar *) "q", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_i", 1216s # (gchar *) "i", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_u", 1216s # (gchar *) "u", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_x", 1216s # (gchar *) "x", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_t", 1216s # (gchar *) "t", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_d", 1216s # (gchar *) "d", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_s", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_o", 1216s # (gchar *) "o", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_g", 1216s # (gchar *) "g", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_h", 1216s # (gchar *) "h", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ay", 1216s # (gchar *) "ay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_as", 1216s # (gchar *) "as", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ao", 1216s # (gchar *) "ao", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_aay", 1216s # (gchar *) "aay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_asv", 1216s # (gchar *) "a{sv}", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1216s # { 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "SameMethodWithManyArgs", 1216s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "handle-same-method-with-many-args", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1216s # { 1216s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1216s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.CallableIface", 1216s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-callable-iface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_callable_iface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_callable_iface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_callable_iface_method_marshal_method_with_many_args ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _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, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # inline static void 1216s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _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, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectCallableIface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1216s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.CallableIface. 1216s # */ 1216s # 1216s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectCallableIface::handle-method-with-many-args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * @arg_an_b: Argument passed by remote caller. 1216s # * @arg_an_y: Argument passed by remote caller. 1216s # * @arg_an_n: Argument passed by remote caller. 1216s # * @arg_an_q: Argument passed by remote caller. 1216s # * @arg_an_i: Argument passed by remote caller. 1216s # * @arg_an_u: Argument passed by remote caller. 1216s # * @arg_an_x: Argument passed by remote caller. 1216s # * @arg_an_t: Argument passed by remote caller. 1216s # * @arg_an_d: Argument passed by remote caller. 1216s # * @arg_an_s: Argument passed by remote caller. 1216s # * @arg_an_o: Argument passed by remote caller. 1216s # * @arg_an_g: Argument passed by remote caller. 1216s # * @arg_an_h: Argument passed by remote caller. 1216s # * @arg_an_ay: Argument passed by remote caller. 1216s # * @arg_an_as: Argument passed by remote caller. 1216s # * @arg_an_ao: Argument passed by remote caller. 1216s # * @arg_an_aay: Argument passed by remote caller. 1216s # * @arg_an_asv: Argument passed by remote caller. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-method-with-many-args", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_callable_iface_method_marshal_method_with_many_args, 1216s # G_TYPE_BOOLEAN, 1216s # 19, 1216s # 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); 1216s # 1216s # /** 1216s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * @arg_an_b: Argument passed by remote caller. 1216s # * @arg_an_y: Argument passed by remote caller. 1216s # * @arg_an_n: Argument passed by remote caller. 1216s # * @arg_an_q: Argument passed by remote caller. 1216s # * @arg_an_i: Argument passed by remote caller. 1216s # * @arg_an_u: Argument passed by remote caller. 1216s # * @arg_an_x: Argument passed by remote caller. 1216s # * @arg_an_t: Argument passed by remote caller. 1216s # * @arg_an_d: Argument passed by remote caller. 1216s # * @arg_an_s: Argument passed by remote caller. 1216s # * @arg_an_o: Argument passed by remote caller. 1216s # * @arg_an_g: Argument passed by remote caller. 1216s # * @arg_an_h: Argument passed by remote caller. 1216s # * @arg_an_ay: Argument passed by remote caller. 1216s # * @arg_an_as: Argument passed by remote caller. 1216s # * @arg_an_ao: Argument passed by remote caller. 1216s # * @arg_an_aay: Argument passed by remote caller. 1216s # * @arg_an_asv: Argument passed by remote caller. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-same-method-with-many-args", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1216s # G_TYPE_BOOLEAN, 1216s # 19, 1216s # 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); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_callable_iface_call_method_with_many_args ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args_finish: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_method_with_many_args_finish ( 1216s # OrgProjectCallableIface *proxy, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args_sync: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_method_with_many_args_sync ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_same_method_with_many_args: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_callable_iface_call_same_method_with_many_args ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "SameMethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1216s # OrgProjectCallableIface *proxy, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "SameMethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_complete_method_with_many_args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_callable_iface_complete_method_with_many_args ( 1216s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("()")); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_complete_same_method_with_many_args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_callable_iface_complete_same_method_with_many_args ( 1216s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("()")); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceProxy: 1216s # * 1216s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectCallableIfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectCallableIfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_callable_iface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1216s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1216s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_callable_iface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_callable_iface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceSkeleton: 1216s # * 1216s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectCallableIfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_callable_iface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_callable_iface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_callable_iface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1216s # { 1216s # _org_project_callable_iface_skeleton_handle_method_call, 1216s # _org_project_callable_iface_skeleton_handle_get_property, 1216s # _org_project_callable_iface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_callable_iface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_callable_iface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.OtherCallableIface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectOtherCallableIface 1216s # * @title: OrgProjectOtherCallableIface 1216s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_b", 1216s # (gchar *) "b", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_y", 1216s # (gchar *) "y", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_n", 1216s # (gchar *) "n", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_q", 1216s # (gchar *) "q", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_i", 1216s # (gchar *) "i", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_u", 1216s # (gchar *) "u", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_x", 1216s # (gchar *) "x", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_t", 1216s # (gchar *) "t", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_d", 1216s # (gchar *) "d", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_s", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_o", 1216s # (gchar *) "o", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_g", 1216s # (gchar *) "g", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_h", 1216s # (gchar *) "h", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ay", 1216s # (gchar *) "ay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_as", 1216s # (gchar *) "as", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ao", 1216s # (gchar *) "ao", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_aay", 1216s # (gchar *) "aay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_asv", 1216s # (gchar *) "a{sv}", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1216s # { 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "MethodWithManyArgs", 1216s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "handle-method-with-many-args", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1216s # { 1216s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.OtherCallableIface", 1216s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-other-callable-iface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_other_callable_iface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _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, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1216s # */ 1216s # 1216s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1216s # * @object: A #OrgProjectOtherCallableIface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * @arg_an_b: Argument passed by remote caller. 1216s # * @arg_an_y: Argument passed by remote caller. 1216s # * @arg_an_n: Argument passed by remote caller. 1216s # * @arg_an_q: Argument passed by remote caller. 1216s # * @arg_an_i: Argument passed by remote caller. 1216s # * @arg_an_u: Argument passed by remote caller. 1216s # * @arg_an_x: Argument passed by remote caller. 1216s # * @arg_an_t: Argument passed by remote caller. 1216s # * @arg_an_d: Argument passed by remote caller. 1216s # * @arg_an_s: Argument passed by remote caller. 1216s # * @arg_an_o: Argument passed by remote caller. 1216s # * @arg_an_g: Argument passed by remote caller. 1216s # * @arg_an_h: Argument passed by remote caller. 1216s # * @arg_an_ay: Argument passed by remote caller. 1216s # * @arg_an_as: Argument passed by remote caller. 1216s # * @arg_an_ao: Argument passed by remote caller. 1216s # * @arg_an_aay: Argument passed by remote caller. 1216s # * @arg_an_asv: Argument passed by remote caller. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-method-with-many-args", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1216s # G_TYPE_BOOLEAN, 1216s # 19, 1216s # 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); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_call_method_with_many_args: 1216s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_other_callable_iface_call_method_with_many_args ( 1216s # OrgProjectOtherCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1216s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1216s # OrgProjectOtherCallableIface *proxy, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1216s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1216s # * @arg_an_b: Argument to pass with the method invocation. 1216s # * @arg_an_y: Argument to pass with the method invocation. 1216s # * @arg_an_n: Argument to pass with the method invocation. 1216s # * @arg_an_q: Argument to pass with the method invocation. 1216s # * @arg_an_i: Argument to pass with the method invocation. 1216s # * @arg_an_u: Argument to pass with the method invocation. 1216s # * @arg_an_x: Argument to pass with the method invocation. 1216s # * @arg_an_t: Argument to pass with the method invocation. 1216s # * @arg_an_d: Argument to pass with the method invocation. 1216s # * @arg_an_s: Argument to pass with the method invocation. 1216s # * @arg_an_o: Argument to pass with the method invocation. 1216s # * @arg_an_g: Argument to pass with the method invocation. 1216s # * @arg_an_h: Argument to pass with the method invocation. 1216s # * @arg_an_ay: Argument to pass with the method invocation. 1216s # * @arg_an_as: Argument to pass with the method invocation. 1216s # * @arg_an_ao: Argument to pass with the method invocation. 1216s # * @arg_an_aay: Argument to pass with the method invocation. 1216s # * @arg_an_asv: Argument to pass with the method invocation. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1216s # OrgProjectOtherCallableIface *proxy, 1216s # gboolean arg_an_b, 1216s # guchar arg_an_y, 1216s # gint16 arg_an_n, 1216s # guint16 arg_an_q, 1216s # gint arg_an_i, 1216s # guint arg_an_u, 1216s # gint64 arg_an_x, 1216s # guint64 arg_an_t, 1216s # gdouble arg_an_d, 1216s # const gchar *arg_an_s, 1216s # const gchar *arg_an_o, 1216s # const gchar *arg_an_g, 1216s # GVariant *arg_an_h, 1216s # const gchar *arg_an_ay, 1216s # const gchar *const *arg_an_as, 1216s # const gchar *const *arg_an_ao, 1216s # const gchar *const *arg_an_aay, 1216s # GVariant *arg_an_asv, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # arg_an_b, 1216s # arg_an_y, 1216s # arg_an_n, 1216s # arg_an_q, 1216s # arg_an_i, 1216s # arg_an_u, 1216s # arg_an_x, 1216s # arg_an_t, 1216s # arg_an_d, 1216s # arg_an_s, 1216s # arg_an_o, 1216s # arg_an_g, 1216s # arg_an_h, 1216s # arg_an_ay, 1216s # arg_an_as, 1216s # arg_an_ao, 1216s # arg_an_aay, 1216s # arg_an_asv), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "()"); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_complete_method_with_many_args: 1216s # * @object: A #OrgProjectOtherCallableIface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_other_callable_iface_complete_method_with_many_args ( 1216s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("()")); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIfaceProxy: 1216s # * 1216s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1216s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1216s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_other_callable_iface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectOtherCallableIface * 1216s # org_project_other_callable_iface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectOtherCallableIface * 1216s # org_project_other_callable_iface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_other_callable_iface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectOtherCallableIface * 1216s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectOtherCallableIface * 1216s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIfaceSkeleton: 1216s # * 1216s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectOtherCallableIfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1216s # { 1216s # _org_project_other_callable_iface_skeleton_handle_method_call, 1216s # _org_project_other_callable_iface_skeleton_handle_get_property, 1216s # _org_project_other_callable_iface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_other_callable_iface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_other_callable_iface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectOtherCallableIface * 1216s # org_project_other_callable_iface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1216s # } 1216s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1216s # tmpdir: /tmp/tmptwk3h_h7 1216s # codegen: /usr/bin/gdbus-codegen 1216s # /tmp/tmptwk3h_h7/tmpkfpw9cwf.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptwk3h_h7/tmpkfpw9cwf.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (void *data1, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 2); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface org.project.CallableIface 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:OrgProjectCallableIface 1216s # * @title: OrgProjectCallableIface 1216s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1216s # * 1216s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for org.project.CallableIface ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_b", 1216s # (gchar *) "b", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_y", 1216s # (gchar *) "y", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_n", 1216s # (gchar *) "n", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_q", 1216s # (gchar *) "q", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_i", 1216s # (gchar *) "i", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_u", 1216s # (gchar *) "u", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_x", 1216s # (gchar *) "x", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_t", 1216s # (gchar *) "t", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_d", 1216s # (gchar *) "d", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_s", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_o", 1216s # (gchar *) "o", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_g", 1216s # (gchar *) "g", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_h", 1216s # (gchar *) "h", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ay", 1216s # (gchar *) "ay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_as", 1216s # (gchar *) "as", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_ao", 1216s # (gchar *) "ao", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_aay", 1216s # (gchar *) "aay", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "an_asv", 1216s # (gchar *) "a{sv}", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1216s # { 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1216s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "MethodWithManyArgs", 1216s # NULL, 1216s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-method-with-many-args", 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1216s # { 1216s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "org.project.CallableIface", 1216s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "org-project-callable-iface", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * org_project_callable_iface_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # org_project_callable_iface_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # org_project_callable_iface_method_marshal_method_with_many_args ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * OrgProjectCallableIface: 1216s # * 1216s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1216s # * 1216s # * Virtual table for the D-Bus interface org.project.CallableIface. 1216s # */ 1216s # 1216s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1216s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * OrgProjectCallableIface::handle-method-with-many-args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-method-with-many-args", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # org_project_callable_iface_method_marshal_method_with_many_args, 1216s # G_TYPE_BOOLEAN, 1216s # 1, 1216s # G_TYPE_DBUS_METHOD_INVOCATION); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # org_project_callable_iface_call_method_with_many_args ( 1216s # OrgProjectCallableIface *proxy, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args_finish: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_method_with_many_args_finish ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean *out_an_b, 1216s # guchar *out_an_y, 1216s # gint16 *out_an_n, 1216s # guint16 *out_an_q, 1216s # gint *out_an_i, 1216s # guint *out_an_u, 1216s # gint64 *out_an_x, 1216s # guint64 *out_an_t, 1216s # gdouble *out_an_d, 1216s # gchar **out_an_s, 1216s # gchar **out_an_o, 1216s # gchar **out_an_g, 1216s # GVariant **out_an_h, 1216s # gchar **out_an_ay, 1216s # gchar ***out_an_as, 1216s # gchar ***out_an_ao, 1216s # gchar ***out_an_aay, 1216s # GVariant **out_an_asv, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # out_an_b, 1216s # out_an_y, 1216s # out_an_n, 1216s # out_an_q, 1216s # out_an_i, 1216s # out_an_u, 1216s # out_an_x, 1216s # out_an_t, 1216s # out_an_d, 1216s # out_an_s, 1216s # out_an_o, 1216s # out_an_g, 1216s # out_an_h, 1216s # out_an_ay, 1216s # out_an_as, 1216s # out_an_ao, 1216s # out_an_aay, 1216s # out_an_asv); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_call_method_with_many_args_sync: 1216s # * @proxy: A #OrgProjectCallableIfaceProxy. 1216s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1216s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # org_project_callable_iface_call_method_with_many_args_sync ( 1216s # OrgProjectCallableIface *proxy, 1216s # gboolean *out_an_b, 1216s # guchar *out_an_y, 1216s # gint16 *out_an_n, 1216s # guint16 *out_an_q, 1216s # gint *out_an_i, 1216s # guint *out_an_u, 1216s # gint64 *out_an_x, 1216s # guint64 *out_an_t, 1216s # gdouble *out_an_d, 1216s # gchar **out_an_s, 1216s # gchar **out_an_o, 1216s # gchar **out_an_g, 1216s # GVariant **out_an_h, 1216s # gchar **out_an_ay, 1216s # gchar ***out_an_as, 1216s # gchar ***out_an_ao, 1216s # gchar ***out_an_aay, 1216s # GVariant **out_an_asv, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1216s # "MethodWithManyArgs", 1216s # g_variant_new ("()"), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # out_an_b, 1216s # out_an_y, 1216s # out_an_n, 1216s # out_an_q, 1216s # out_an_i, 1216s # out_an_u, 1216s # out_an_x, 1216s # out_an_t, 1216s # out_an_d, 1216s # out_an_s, 1216s # out_an_o, 1216s # out_an_g, 1216s # out_an_h, 1216s # out_an_ay, 1216s # out_an_as, 1216s # out_an_ao, 1216s # out_an_aay, 1216s # out_an_asv); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_complete_method_with_many_args: 1216s # * @object: A #OrgProjectCallableIface. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @an_b: Parameter to return. 1216s # * @an_y: Parameter to return. 1216s # * @an_n: Parameter to return. 1216s # * @an_q: Parameter to return. 1216s # * @an_i: Parameter to return. 1216s # * @an_u: Parameter to return. 1216s # * @an_x: Parameter to return. 1216s # * @an_t: Parameter to return. 1216s # * @an_d: Parameter to return. 1216s # * @an_s: Parameter to return. 1216s # * @an_o: Parameter to return. 1216s # * @an_g: Parameter to return. 1216s # * @an_h: Parameter to return. 1216s # * @an_ay: Parameter to return. 1216s # * @an_as: Parameter to return. 1216s # * @an_ao: Parameter to return. 1216s # * @an_aay: Parameter to return. 1216s # * @an_asv: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # org_project_callable_iface_complete_method_with_many_args ( 1216s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # gboolean an_b, 1216s # guchar an_y, 1216s # gint16 an_n, 1216s # guint16 an_q, 1216s # gint an_i, 1216s # guint an_u, 1216s # gint64 an_x, 1216s # guint64 an_t, 1216s # gdouble an_d, 1216s # const gchar *an_s, 1216s # const gchar *an_o, 1216s # const gchar *an_g, 1216s # GVariant *an_h, 1216s # const gchar *an_ay, 1216s # const gchar *const *an_as, 1216s # const gchar *const *an_ao, 1216s # const gchar *const *an_aay, 1216s # GVariant *an_asv) 1216s # { 1216s # g_dbus_method_invocation_return_value (invocation, 1216s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1216s # an_b, 1216s # an_y, 1216s # an_n, 1216s # an_q, 1216s # an_i, 1216s # an_u, 1216s # an_x, 1216s # an_t, 1216s # an_d, 1216s # an_s, 1216s # an_o, 1216s # an_g, 1216s # an_h, 1216s # an_ay, 1216s # an_as, 1216s # an_ao, 1216s # an_aay, 1216s # an_asv)); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceProxy: 1216s # * 1216s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectCallableIfaceProxy. 1216s # */ 1216s # 1216s # struct _OrgProjectCallableIfaceProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_callable_iface_proxy_finalize (GObject *object) 1216s # { 1216s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1216s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1216s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1216s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_callable_iface_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # org_project_callable_iface_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceSkeleton: 1216s # * 1216s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * OrgProjectCallableIfaceSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1216s # */ 1216s # 1216s # struct _OrgProjectCallableIfaceSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _org_project_callable_iface_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _org_project_callable_iface_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _org_project_callable_iface_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1216s # { 1216s # _org_project_callable_iface_skeleton_handle_method_call, 1216s # _org_project_callable_iface_skeleton_handle_get_property, 1216s # _org_project_callable_iface_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return org_project_callable_iface_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # org_project_callable_iface_skeleton_finalize (GObject *object) 1216s # { 1216s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * org_project_callable_iface_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1216s # * 1216s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1216s # */ 1216s # OrgProjectCallableIface * 1216s # org_project_callable_iface_skeleton_new (void) 1216s # { 1216s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1216s # } 1216s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1216s # tmpdir: /tmp/tmp7u76jh4y 1216s # codegen: /usr/bin/gdbus-codegen 1216s # /tmp/tmp7u76jh4y/tmpgknula3m.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7u76jh4y/tmpgknula3m.xml', '--output', '-', '--body'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: /* 1216s # * This file is generated by gdbus-codegen, do not modify it. 1216s # * 1216s # * The license of this code is the same as for the D-Bus interface description 1216s # * it was derived from. Note that it links to GLib, so must comply with the 1216s # * LGPL linking clauses. 1216s # */ 1216s # 1216s # #ifdef HAVE_CONFIG_H 1216s # # include "config.h" 1216s # #endif 1216s # 1216s # #include 1216s # #ifdef G_OS_UNIX 1216s # # include 1216s # #endif 1216s # 1216s # #ifdef G_ENABLE_DEBUG 1216s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1216s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1216s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1216s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1216s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1216s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1216s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1216s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1216s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1216s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1216s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1216s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1216s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1216s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1216s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1216s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1216s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1216s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1216s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1216s # #else /* !G_ENABLE_DEBUG */ 1216s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1216s # * Do not access GValues directly in your code. Instead, use the 1216s # * g_value_get_*() functions 1216s # */ 1216s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1216s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1216s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1216s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1216s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1216s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1216s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1216s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1216s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1216s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1216s # #endif /* !G_ENABLE_DEBUG */ 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusArgInfo parent_struct; 1216s # gboolean use_gvariant; 1216s # } _ExtendedGDBusArgInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusMethodInfo parent_struct; 1216s # const gchar *signal_name; 1216s # gboolean pass_fdlist; 1216s # } _ExtendedGDBusMethodInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusSignalInfo parent_struct; 1216s # const gchar *signal_name; 1216s # } _ExtendedGDBusSignalInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusPropertyInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # guint use_gvariant : 1; 1216s # guint emits_changed_signal : 1; 1216s # } _ExtendedGDBusPropertyInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # GDBusInterfaceInfo parent_struct; 1216s # const gchar *hyphen_name; 1216s # } _ExtendedGDBusInterfaceInfo; 1216s # 1216s # typedef struct 1216s # { 1216s # const _ExtendedGDBusPropertyInfo *info; 1216s # guint prop_id; 1216s # GValue orig_value; /* the value before the change */ 1216s # } ChangedProperty; 1216s # 1216s # static void 1216s # _changed_property_free (ChangedProperty *data) 1216s # { 1216s # g_value_unset (&data->orig_value); 1216s # g_free (data); 1216s # } 1216s # 1216s # static gboolean 1216s # _g_strv_equal0 (gchar **a, gchar **b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # guint n; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # if (g_strv_length (a) != g_strv_length (b)) 1216s # goto out; 1216s # for (n = 0; a[n] != NULL; n++) 1216s # if (g_strcmp0 (a[n], b[n]) != 0) 1216s # goto out; 1216s # ret = TRUE; 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _g_variant_equal0 (GVariant *a, GVariant *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # if (a == NULL && b == NULL) 1216s # { 1216s # ret = TRUE; 1216s # goto out; 1216s # } 1216s # if (a == NULL || b == NULL) 1216s # goto out; 1216s # ret = g_variant_equal (a, b); 1216s # out: 1216s # return ret; 1216s # } 1216s # 1216s # G_GNUC_UNUSED static gboolean 1216s # _g_value_equal (const GValue *a, const GValue *b) 1216s # { 1216s # gboolean ret = FALSE; 1216s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1216s # switch (G_VALUE_TYPE (a)) 1216s # { 1216s # case G_TYPE_BOOLEAN: 1216s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1216s # break; 1216s # case G_TYPE_UCHAR: 1216s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1216s # break; 1216s # case G_TYPE_INT: 1216s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1216s # break; 1216s # case G_TYPE_UINT: 1216s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1216s # break; 1216s # case G_TYPE_INT64: 1216s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1216s # break; 1216s # case G_TYPE_UINT64: 1216s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1216s # break; 1216s # case G_TYPE_DOUBLE: 1216s # { 1216s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1216s # gdouble da = g_value_get_double (a); 1216s # gdouble db = g_value_get_double (b); 1216s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1216s # } 1216s # break; 1216s # case G_TYPE_STRING: 1216s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1216s # break; 1216s # case G_TYPE_VARIANT: 1216s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1216s # break; 1216s # default: 1216s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1216s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1216s # else 1216s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1216s # break; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static void 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint G_GNUC_UNUSED, 1216s # void *marshal_data) 1216s # { 1216s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1216s # (void *data1, 1216s # GUnixFDList *arg_fd_list, 1216s # GDBusMethodInvocation *arg_method_invocation, 1216s # const gchar *arg_greeting, 1216s # void *data2); 1216s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1216s # GCClosure *cc = (GCClosure*) closure; 1216s # void *data1, *data2; 1216s # gboolean v_return; 1216s # 1216s # g_return_if_fail (return_value != NULL); 1216s # g_return_if_fail (n_param_values == 4); 1216s # 1216s # if (G_CCLOSURE_SWAP_DATA (closure)) 1216s # { 1216s # data1 = closure->data; 1216s # data2 = g_value_peek_pointer (param_values + 0); 1216s # } 1216s # else 1216s # { 1216s # data1 = g_value_peek_pointer (param_values + 0); 1216s # data2 = closure->data; 1216s # } 1216s # 1216s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1216s # (marshal_data ? marshal_data : cc->callback); 1216s # 1216s # v_return = 1216s # callback (data1, 1216s # g_marshal_value_peek_object (param_values + 1), 1216s # g_marshal_value_peek_object (param_values + 2), 1216s # g_marshal_value_peek_string (param_values + 3), 1216s # data2); 1216s # 1216s # g_value_set_boolean (return_value, v_return); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ 1216s # * Code for interface test.FDPassing 1216s # * ------------------------------------------------------------------------ 1216s # */ 1216s # 1216s # /** 1216s # * SECTION:TestFDPassing 1216s # * @title: TestFDPassing 1216s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1216s # * 1216s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1216s # */ 1216s # 1216s # /* ---- Introspection data for test.FDPassing ---- */ 1216s # 1216s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "greeting", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1216s # { 1216s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "response", 1216s # (gchar *) "s", 1216s # NULL 1216s # }, 1216s # FALSE 1216s # }; 1216s # 1216s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1216s # { 1216s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "HelloFD", 1216s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1216s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1216s # NULL 1216s # }, 1216s # "handle-hello-fd", 1216s # TRUE 1216s # }; 1216s # 1216s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1216s # { 1216s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1216s # NULL 1216s # }; 1216s # 1216s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1216s # { 1216s # { 1216s # -1, 1216s # (gchar *) "test.FDPassing", 1216s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1216s # NULL, 1216s # NULL, 1216s # NULL 1216s # }, 1216s # "test-fdpassing", 1216s # }; 1216s # 1216s # 1216s # /** 1216s # * test_fdpassing_interface_info: 1216s # * 1216s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1216s # * 1216s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1216s # */ 1216s # GDBusInterfaceInfo * 1216s # test_fdpassing_interface_info (void) 1216s # { 1216s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_override_properties: 1216s # * @klass: The class structure for a #GObject derived class. 1216s # * @property_id_begin: The property id to assign to the first overridden property. 1216s # * 1216s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1216s # * The properties are overridden in the order they are defined. 1216s # * 1216s # * Returns: The last property id. 1216s # */ 1216s # guint 1216s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1216s # { 1216s # return property_id_begin - 1; 1216s # } 1216s # 1216s # 1216s # inline static void 1216s # test_fdpassing_method_marshal_hello_fd ( 1216s # GClosure *closure, 1216s # GValue *return_value, 1216s # unsigned int n_param_values, 1216s # const GValue *param_values, 1216s # void *invocation_hint, 1216s # void *marshal_data) 1216s # { 1216s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1216s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1216s # } 1216s # 1216s # 1216s # /** 1216s # * TestFDPassing: 1216s # * 1216s # * Abstract interface type for the D-Bus interface test.FDPassing. 1216s # */ 1216s # 1216s # /** 1216s # * TestFDPassingIface: 1216s # * @parent_iface: The parent interface. 1216s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1216s # * 1216s # * Virtual table for the D-Bus interface test.FDPassing. 1216s # */ 1216s # 1216s # typedef TestFDPassingIface TestFDPassingInterface; 1216s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1216s # 1216s # static void 1216s # test_fdpassing_default_init (TestFDPassingIface *iface) 1216s # { 1216s # /* GObject signals for incoming D-Bus method calls: */ 1216s # /** 1216s # * TestFDPassing::handle-hello-fd: 1216s # * @object: A #TestFDPassing. 1216s # * @invocation: A #GDBusMethodInvocation. 1216s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1216s # * @arg_greeting: Argument passed by remote caller. 1216s # * 1216s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1216s # * 1216s # * 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. 1216s # * 1216s # * 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. 1216s # */ 1216s # g_signal_new ("handle-hello-fd", 1216s # G_TYPE_FROM_INTERFACE (iface), 1216s # G_SIGNAL_RUN_LAST, 1216s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1216s # g_signal_accumulator_true_handled, 1216s # NULL, 1216s # test_fdpassing_method_marshal_hello_fd, 1216s # G_TYPE_BOOLEAN, 1216s # 3, 1216s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1216s # 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_call_hello_fd: 1216s # * @proxy: A #TestFDPassingProxy. 1216s # * @arg_greeting: Argument to pass with the method invocation. 1216s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1216s # * 1216s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1216s # */ 1216s # void 1216s # test_fdpassing_call_hello_fd ( 1216s # TestFDPassing *proxy, 1216s # const gchar *arg_greeting, 1216s # GUnixFDList *fd_list, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1216s # "HelloFD", 1216s # g_variant_new ("(s)", 1216s # arg_greeting), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # fd_list, 1216s # cancellable, 1216s # callback, 1216s # user_data); 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_call_hello_fd_finish: 1216s # * @proxy: A #TestFDPassingProxy. 1216s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # test_fdpassing_call_hello_fd_finish ( 1216s # TestFDPassing *proxy, 1216s # gchar **out_response, 1216s # GUnixFDList **out_fd_list, 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(s)", 1216s # out_response); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_call_hello_fd_sync: 1216s # * @proxy: A #TestFDPassingProxy. 1216s # * @arg_greeting: Argument to pass with the method invocation. 1216s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1216s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1216s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL. 1216s # * 1216s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1216s # * 1216s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1216s # * 1216s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1216s # */ 1216s # gboolean 1216s # test_fdpassing_call_hello_fd_sync ( 1216s # TestFDPassing *proxy, 1216s # const gchar *arg_greeting, 1216s # GUnixFDList *fd_list, 1216s # gchar **out_response, 1216s # GUnixFDList **out_fd_list, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GVariant *_ret; 1216s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1216s # "HelloFD", 1216s # g_variant_new ("(s)", 1216s # arg_greeting), 1216s # G_DBUS_CALL_FLAGS_NONE, 1216s # -1, 1216s # fd_list, 1216s # out_fd_list, 1216s # cancellable, 1216s # error); 1216s # if (_ret == NULL) 1216s # goto _out; 1216s # g_variant_get (_ret, 1216s # "(s)", 1216s # out_response); 1216s # g_variant_unref (_ret); 1216s # _out: 1216s # return _ret != NULL; 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_complete_hello_fd: 1216s # * @object: A #TestFDPassing. 1216s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1216s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1216s # * @response: Parameter to return. 1216s # * 1216s # * 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. 1216s # * 1216s # * This method will free @invocation, you cannot use it afterwards. 1216s # */ 1216s # void 1216s # test_fdpassing_complete_hello_fd ( 1216s # TestFDPassing *object G_GNUC_UNUSED, 1216s # GDBusMethodInvocation *invocation, 1216s # GUnixFDList *fd_list, 1216s # const gchar *response) 1216s # { 1216s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1216s # g_variant_new ("(s)", 1216s # response), 1216s # fd_list); 1216s # } 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * TestFDPassingProxy: 1216s # * 1216s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * TestFDPassingProxyClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #TestFDPassingProxy. 1216s # */ 1216s # 1216s # struct _TestFDPassingProxyPrivate 1216s # { 1216s # GData *qdata; 1216s # }; 1216s # 1216s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1216s # G_ADD_PRIVATE (TestFDPassingProxy) 1216s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1216s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # test_fdpassing_proxy_finalize (GObject *object) 1216s # { 1216s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1216s # g_datalist_clear (&proxy->priv->qdata); 1216s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1216s # guint prop_id G_GNUC_UNUSED, 1216s # const GValue *value G_GNUC_UNUSED, 1216s # GParamSpec *pspec G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1216s # const gchar *sender_name G_GNUC_UNUSED, 1216s # const gchar *signal_name, 1216s # GVariant *parameters) 1216s # { 1216s # _ExtendedGDBusSignalInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # gsize n; 1216s # guint signal_id; 1216s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1216s # if (info == NULL) 1216s # return; 1216s # num_params = g_variant_n_children (parameters); 1216s # paramv = g_new0 (GValue, num_params + 1); 1216s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1216s # g_value_set_object (¶mv[0], proxy); 1216s # g_variant_iter_init (&iter, parameters); 1216s # n = 1; 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1216s # g_signal_emitv (paramv, signal_id, 0, NULL); 1216s # for (n = 0; n < num_params + 1; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1216s # GVariant *changed_properties, 1216s # const gchar *const *invalidated_properties) 1216s # { 1216s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1216s # guint n; 1216s # const gchar *key; 1216s # GVariantIter *iter; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # g_variant_get (changed_properties, "a{sv}", &iter); 1216s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1216s # g_datalist_remove_data (&proxy->priv->qdata, key); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # g_variant_iter_free (iter); 1216s # for (n = 0; invalidated_properties[n] != NULL; n++) 1216s # { 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1216s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1216s # if (info != NULL) 1216s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1216s # } 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1216s # #else 1216s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1216s # #endif 1216s # 1216s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusProxyClass *proxy_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1216s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1216s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1216s # 1216s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1216s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1216s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1216s # * 1216s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # test_fdpassing_proxy_new ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with test_fdpassing_proxy_new(). 1216s # * 1216s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # TestFDPassing * 1216s # test_fdpassing_proxy_new_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return TEST_FDPASSING (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new_sync: 1216s # * @connection: A #GDBusConnection. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # TestFDPassing * 1216s # test_fdpassing_proxy_new_sync ( 1216s # GDBusConnection *connection, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return TEST_FDPASSING (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new_for_bus: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1216s # * @user_data: User data to pass to @callback. 1216s # * 1216s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1216s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1216s # * 1216s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1216s # */ 1216s # void 1216s # test_fdpassing_proxy_new_for_bus ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GAsyncReadyCallback callback, 1216s # gpointer user_data) 1216s # { 1216s # 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); 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new_for_bus_finish: 1216s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1216s # * 1216s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # TestFDPassing * 1216s # test_fdpassing_proxy_new_for_bus_finish ( 1216s # GAsyncResult *res, 1216s # GError **error) 1216s # { 1216s # GObject *ret; 1216s # GObject *source_object; 1216s # source_object = g_async_result_get_source_object (res); 1216s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1216s # g_object_unref (source_object); 1216s # if (ret != NULL) 1216s # return TEST_FDPASSING (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_proxy_new_for_bus_sync: 1216s # * @bus_type: A #GBusType. 1216s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1216s # * @name: A bus name (well-known or unique). 1216s # * @object_path: An object path. 1216s # * @cancellable: (nullable): A #GCancellable or %NULL. 1216s # * @error: Return location for error or %NULL 1216s # * 1216s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1216s # * 1216s # * The calling thread is blocked until a reply is received. 1216s # * 1216s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1216s # * 1216s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1216s # */ 1216s # TestFDPassing * 1216s # test_fdpassing_proxy_new_for_bus_sync ( 1216s # GBusType bus_type, 1216s # GDBusProxyFlags flags, 1216s # const gchar *name, 1216s # const gchar *object_path, 1216s # GCancellable *cancellable, 1216s # GError **error) 1216s # { 1216s # GInitable *ret; 1216s # 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); 1216s # if (ret != NULL) 1216s # return TEST_FDPASSING (ret); 1216s # else 1216s # return NULL; 1216s # } 1216s # 1216s # 1216s # /* ------------------------------------------------------------------------ */ 1216s # 1216s # /** 1216s # * TestFDPassingSkeleton: 1216s # * 1216s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1216s # */ 1216s # 1216s # /** 1216s # * TestFDPassingSkeletonClass: 1216s # * @parent_class: The parent class. 1216s # * 1216s # * Class structure for #TestFDPassingSkeleton. 1216s # */ 1216s # 1216s # struct _TestFDPassingSkeletonPrivate 1216s # { 1216s # GValue *properties; 1216s # GList *changed_properties; 1216s # GSource *changed_properties_idle_source; 1216s # GMainContext *context; 1216s # GMutex lock; 1216s # }; 1216s # 1216s # static void 1216s # _test_fdpassing_skeleton_handle_method_call ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name, 1216s # const gchar *method_name, 1216s # GVariant *parameters, 1216s # GDBusMethodInvocation *invocation, 1216s # gpointer user_data) 1216s # { 1216s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1216s # _ExtendedGDBusMethodInfo *info; 1216s # GVariantIter iter; 1216s # GVariant *child; 1216s # GValue *paramv; 1216s # gsize num_params; 1216s # guint num_extra; 1216s # gsize n; 1216s # guint signal_id; 1216s # GValue return_value = G_VALUE_INIT; 1216s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1216s # g_assert (info != NULL); 1216s # num_params = g_variant_n_children (parameters); 1216s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1216s # n = 0; 1216s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1216s # g_value_set_object (¶mv[n++], skeleton); 1216s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1216s # g_value_set_object (¶mv[n++], invocation); 1216s # if (info->pass_fdlist) 1216s # { 1216s # #ifdef G_OS_UNIX 1216s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1216s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1216s # #else 1216s # g_assert_not_reached (); 1216s # #endif 1216s # } 1216s # g_variant_iter_init (&iter, parameters); 1216s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1216s # { 1216s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1216s # if (arg_info->use_gvariant) 1216s # { 1216s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1216s # g_value_set_variant (¶mv[n], child); 1216s # n++; 1216s # } 1216s # else 1216s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1216s # g_variant_unref (child); 1216s # } 1216s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1216s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1216s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1216s # if (!g_value_get_boolean (&return_value)) 1216s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1216s # g_value_unset (&return_value); 1216s # for (n = 0; n < num_params + num_extra; n++) 1216s # g_value_unset (¶mv[n]); 1216s # g_free (paramv); 1216s # } 1216s # 1216s # static GVariant * 1216s # _test_fdpassing_skeleton_handle_get_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # GVariant *ret; 1216s # ret = NULL; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # g_value_init (&value, pspec->value_type); 1216s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1216s # g_value_unset (&value); 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static gboolean 1216s # _test_fdpassing_skeleton_handle_set_property ( 1216s # GDBusConnection *connection G_GNUC_UNUSED, 1216s # const gchar *sender G_GNUC_UNUSED, 1216s # const gchar *object_path G_GNUC_UNUSED, 1216s # const gchar *interface_name G_GNUC_UNUSED, 1216s # const gchar *property_name, 1216s # GVariant *variant, 1216s # GError **error, 1216s # gpointer user_data) 1216s # { 1216s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1216s # GValue value = G_VALUE_INIT; 1216s # GParamSpec *pspec; 1216s # _ExtendedGDBusPropertyInfo *info; 1216s # gboolean ret; 1216s # ret = FALSE; 1216s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1216s # g_assert (info != NULL); 1216s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1216s # if (pspec == NULL) 1216s # { 1216s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1216s # } 1216s # else 1216s # { 1216s # if (info->use_gvariant) 1216s # g_value_set_variant (&value, variant); 1216s # else 1216s # g_dbus_gvariant_to_gvalue (variant, &value); 1216s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1216s # g_value_unset (&value); 1216s # ret = TRUE; 1216s # } 1216s # return ret; 1216s # } 1216s # 1216s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1216s # { 1216s # _test_fdpassing_skeleton_handle_method_call, 1216s # _test_fdpassing_skeleton_handle_get_property, 1216s # _test_fdpassing_skeleton_handle_set_property, 1216s # {NULL} 1216s # }; 1216s # 1216s # static GDBusInterfaceInfo * 1216s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return test_fdpassing_interface_info (); 1216s # } 1216s # 1216s # static GDBusInterfaceVTable * 1216s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1216s # { 1216s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1216s # } 1216s # 1216s # static GVariant * 1216s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1216s # { 1216s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1216s # 1216s # GVariantBuilder builder; 1216s # guint n; 1216s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1216s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1216s # goto out; 1216s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1216s # { 1216s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1216s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1216s # { 1216s # GVariant *value; 1216s # 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); 1216s # if (value != NULL) 1216s # { 1216s # g_variant_take_ref (value); 1216s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1216s # g_variant_unref (value); 1216s # } 1216s # } 1216s # } 1216s # out: 1216s # return g_variant_builder_end (&builder); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1216s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1216s # 1216s # #else 1216s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1216s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1216s # 1216s # #endif 1216s # static void 1216s # test_fdpassing_skeleton_finalize (GObject *object) 1216s # { 1216s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1216s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1216s # if (skeleton->priv->changed_properties_idle_source != NULL) 1216s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1216s # g_main_context_unref (skeleton->priv->context); 1216s # g_mutex_clear (&skeleton->priv->lock); 1216s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1216s # { 1216s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1216s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1216s # #else 1216s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1216s # #endif 1216s # 1216s # g_mutex_init (&skeleton->priv->lock); 1216s # skeleton->priv->context = g_main_context_ref_thread_default (); 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1216s # { 1216s # GObjectClass *gobject_class; 1216s # GDBusInterfaceSkeletonClass *skeleton_class; 1216s # 1216s # gobject_class = G_OBJECT_CLASS (klass); 1216s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1216s # 1216s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1216s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1216s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1216s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1216s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1216s # 1216s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1216s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1216s # #endif 1216s # } 1216s # 1216s # static void 1216s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1216s # { 1216s # } 1216s # 1216s # /** 1216s # * test_fdpassing_skeleton_new: 1216s # * 1216s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1216s # * 1216s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1216s # */ 1216s # TestFDPassing * 1216s # test_fdpassing_skeleton_new (void) 1216s # { 1216s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1216s # } 1216s ok 15 __main__.TestCodegen.test_generate_rst 1216s # tmpdir: /tmp/tmp82sc3kjh 1216s # codegen: /usr/bin/gdbus-codegen 1216s # /tmp/tmp82sc3kjh/tmpwos1wwfv.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp82sc3kjh/tmpwos1wwfv.xml', '--generate-rst', 'test'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: 1216s ok 16 __main__.TestCodegen.test_generate_rst_method 1216s # tmpdir: /tmp/tmpuh6uxzs7 1216s # codegen: /usr/bin/gdbus-codegen 1216s # /tmp/tmpuh6uxzs7/tmpmyg7qowj.xml: 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # 1216s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuh6uxzs7/tmpmyg7qowj.xml', '--generate-rst', 'test'] 1216s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1216s # Output: 1217s ok 17 __main__.TestCodegen.test_generate_rst_property 1217s # tmpdir: /tmp/tmpp1y2tggs 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmpp1y2tggs/tmpv65plsp3.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp1y2tggs/tmpv65plsp3.xml', '--generate-rst', 'test'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: 1217s ok 18 __main__.TestCodegen.test_generate_rst_signal 1217s # tmpdir: /tmp/tmpllwa9kl5 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmpllwa9kl5/tmp0qr5rzzr.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpllwa9kl5/tmp0qr5rzzr.xml', '--generate-rst', 'test'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: 1217s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1217s # tmpdir: /tmp/tmpf2cuwgy4 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmpf2cuwgy4/tmpfk_kt9_g.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf2cuwgy4/tmpfk_kt9_g.xml', '--output', '-', '--body'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: /* 1217s # * This file is generated by gdbus-codegen, do not modify it. 1217s # * 1217s # * The license of this code is the same as for the D-Bus interface description 1217s # * it was derived from. Note that it links to GLib, so must comply with the 1217s # * LGPL linking clauses. 1217s # */ 1217s # 1217s # #ifdef HAVE_CONFIG_H 1217s # # include "config.h" 1217s # #endif 1217s # 1217s # #include 1217s # #ifdef G_OS_UNIX 1217s # # include 1217s # #endif 1217s # 1217s # #ifdef G_ENABLE_DEBUG 1217s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1217s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1217s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1217s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1217s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1217s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1217s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1217s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1217s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1217s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1217s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1217s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1217s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1217s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1217s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1217s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1217s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1217s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1217s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1217s # #else /* !G_ENABLE_DEBUG */ 1217s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1217s # * Do not access GValues directly in your code. Instead, use the 1217s # * g_value_get_*() functions 1217s # */ 1217s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1217s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1217s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1217s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1217s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1217s # #endif /* !G_ENABLE_DEBUG */ 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusArgInfo parent_struct; 1217s # gboolean use_gvariant; 1217s # } _ExtendedGDBusArgInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusMethodInfo parent_struct; 1217s # const gchar *signal_name; 1217s # gboolean pass_fdlist; 1217s # } _ExtendedGDBusMethodInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusSignalInfo parent_struct; 1217s # const gchar *signal_name; 1217s # } _ExtendedGDBusSignalInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusPropertyInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # guint use_gvariant : 1; 1217s # guint emits_changed_signal : 1; 1217s # } _ExtendedGDBusPropertyInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusInterfaceInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # } _ExtendedGDBusInterfaceInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # const _ExtendedGDBusPropertyInfo *info; 1217s # guint prop_id; 1217s # GValue orig_value; /* the value before the change */ 1217s # } ChangedProperty; 1217s # 1217s # static void 1217s # _changed_property_free (ChangedProperty *data) 1217s # { 1217s # g_value_unset (&data->orig_value); 1217s # g_free (data); 1217s # } 1217s # 1217s # static gboolean 1217s # _g_strv_equal0 (gchar **a, gchar **b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # guint n; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # if (g_strv_length (a) != g_strv_length (b)) 1217s # goto out; 1217s # for (n = 0; a[n] != NULL; n++) 1217s # if (g_strcmp0 (a[n], b[n]) != 0) 1217s # goto out; 1217s # ret = TRUE; 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _g_variant_equal0 (GVariant *a, GVariant *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # ret = g_variant_equal (a, b); 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # G_GNUC_UNUSED static gboolean 1217s # _g_value_equal (const GValue *a, const GValue *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1217s # switch (G_VALUE_TYPE (a)) 1217s # { 1217s # case G_TYPE_BOOLEAN: 1217s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1217s # break; 1217s # case G_TYPE_UCHAR: 1217s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1217s # break; 1217s # case G_TYPE_INT: 1217s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1217s # break; 1217s # case G_TYPE_UINT: 1217s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1217s # break; 1217s # case G_TYPE_INT64: 1217s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1217s # break; 1217s # case G_TYPE_UINT64: 1217s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1217s # break; 1217s # case G_TYPE_DOUBLE: 1217s # { 1217s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1217s # gdouble da = g_value_get_double (a); 1217s # gdouble db = g_value_get_double (b); 1217s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1217s # } 1217s # break; 1217s # case G_TYPE_STRING: 1217s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1217s # break; 1217s # case G_TYPE_VARIANT: 1217s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1217s # break; 1217s # default: 1217s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1217s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1217s # else 1217s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1217s # break; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static void 1217s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1217s # GClosure *closure, 1217s # GValue *return_value G_GNUC_UNUSED, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint G_GNUC_UNUSED, 1217s # void *marshal_data) 1217s # { 1217s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1217s # (void *data1, 1217s # gboolean arg_an_b, 1217s # guchar arg_an_y, 1217s # gint16 arg_an_n, 1217s # guint16 arg_an_q, 1217s # gint arg_an_i, 1217s # guint arg_an_u, 1217s # gint64 arg_an_x, 1217s # guint64 arg_an_t, 1217s # gdouble arg_an_d, 1217s # const gchar *arg_an_s, 1217s # const gchar *arg_an_o, 1217s # const gchar *arg_an_g, 1217s # GVariant *arg_an_h, 1217s # const gchar *arg_an_ay, 1217s # const gchar *const *arg_an_as, 1217s # const gchar *const *arg_an_ao, 1217s # const gchar *const *arg_an_aay, 1217s # GVariant *arg_an_asv, 1217s # void *data2); 1217s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1217s # GCClosure *cc = (GCClosure*) closure; 1217s # void *data1, *data2; 1217s # 1217s # g_return_if_fail (n_param_values == 19); 1217s # 1217s # if (G_CCLOSURE_SWAP_DATA (closure)) 1217s # { 1217s # data1 = closure->data; 1217s # data2 = g_value_peek_pointer (param_values + 0); 1217s # } 1217s # else 1217s # { 1217s # data1 = g_value_peek_pointer (param_values + 0); 1217s # data2 = closure->data; 1217s # } 1217s # 1217s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1217s # (marshal_data ? marshal_data : cc->callback); 1217s # 1217s # callback (data1, 1217s # g_marshal_value_peek_boolean (param_values + 1), 1217s # g_marshal_value_peek_uchar (param_values + 2), 1217s # g_marshal_value_peek_int (param_values + 3), 1217s # g_marshal_value_peek_uint (param_values + 4), 1217s # g_marshal_value_peek_int (param_values + 5), 1217s # g_marshal_value_peek_uint (param_values + 6), 1217s # g_marshal_value_peek_int64 (param_values + 7), 1217s # g_marshal_value_peek_uint64 (param_values + 8), 1217s # g_marshal_value_peek_double (param_values + 9), 1217s # g_marshal_value_peek_string (param_values + 10), 1217s # g_marshal_value_peek_string (param_values + 11), 1217s # g_marshal_value_peek_string (param_values + 12), 1217s # g_marshal_value_peek_variant (param_values + 13), 1217s # g_marshal_value_peek_string (param_values + 14), 1217s # g_marshal_value_peek_boxed (param_values + 15), 1217s # g_marshal_value_peek_boxed (param_values + 16), 1217s # g_marshal_value_peek_boxed (param_values + 17), 1217s # g_marshal_value_peek_variant (param_values + 18), 1217s # data2); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.SignalingIface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectSignalingIface 1217s # * @title: OrgProjectSignalingIface 1217s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_b", 1217s # (gchar *) "b", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_y", 1217s # (gchar *) "y", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_n", 1217s # (gchar *) "n", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_q", 1217s # (gchar *) "q", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_i", 1217s # (gchar *) "i", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_u", 1217s # (gchar *) "u", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_x", 1217s # (gchar *) "x", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_t", 1217s # (gchar *) "t", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_d", 1217s # (gchar *) "d", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_s", 1217s # (gchar *) "s", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_o", 1217s # (gchar *) "o", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_g", 1217s # (gchar *) "g", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_h", 1217s # (gchar *) "h", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_ay", 1217s # (gchar *) "ay", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_as", 1217s # (gchar *) "as", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_ao", 1217s # (gchar *) "ao", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_aay", 1217s # (gchar *) "aay", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_asv", 1217s # (gchar *) "a{sv}", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SignalWithManyArgs", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "signal-with-many-args" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.SignalingIface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-signaling-iface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_signaling_iface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectSignalingIface::signal-with-many-args: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_b: Argument. 1217s # * @arg_an_y: Argument. 1217s # * @arg_an_n: Argument. 1217s # * @arg_an_q: Argument. 1217s # * @arg_an_i: Argument. 1217s # * @arg_an_u: Argument. 1217s # * @arg_an_x: Argument. 1217s # * @arg_an_t: Argument. 1217s # * @arg_an_d: Argument. 1217s # * @arg_an_s: Argument. 1217s # * @arg_an_o: Argument. 1217s # * @arg_an_g: Argument. 1217s # * @arg_an_h: Argument. 1217s # * @arg_an_ay: Argument. 1217s # * @arg_an_as: Argument. 1217s # * @arg_an_ao: Argument. 1217s # * @arg_an_aay: Argument. 1217s # * @arg_an_asv: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1217s # g_signal_new ("signal-with-many-args", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1217s # G_TYPE_NONE, 1217s # 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); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_signal_with_many_args: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_b: Argument to pass with the signal. 1217s # * @arg_an_y: Argument to pass with the signal. 1217s # * @arg_an_n: Argument to pass with the signal. 1217s # * @arg_an_q: Argument to pass with the signal. 1217s # * @arg_an_i: Argument to pass with the signal. 1217s # * @arg_an_u: Argument to pass with the signal. 1217s # * @arg_an_x: Argument to pass with the signal. 1217s # * @arg_an_t: Argument to pass with the signal. 1217s # * @arg_an_d: Argument to pass with the signal. 1217s # * @arg_an_s: Argument to pass with the signal. 1217s # * @arg_an_o: Argument to pass with the signal. 1217s # * @arg_an_g: Argument to pass with the signal. 1217s # * @arg_an_h: Argument to pass with the signal. 1217s # * @arg_an_ay: Argument to pass with the signal. 1217s # * @arg_an_as: Argument to pass with the signal. 1217s # * @arg_an_ao: Argument to pass with the signal. 1217s # * @arg_an_aay: Argument to pass with the signal. 1217s # * @arg_an_asv: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SignalWithManyArgs" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_signal_with_many_args ( 1217s # OrgProjectSignalingIface *object, 1217s # gboolean arg_an_b, 1217s # guchar arg_an_y, 1217s # gint16 arg_an_n, 1217s # guint16 arg_an_q, 1217s # gint arg_an_i, 1217s # guint arg_an_u, 1217s # gint64 arg_an_x, 1217s # guint64 arg_an_t, 1217s # gdouble arg_an_d, 1217s # const gchar *arg_an_s, 1217s # const gchar *arg_an_o, 1217s # const gchar *arg_an_g, 1217s # GVariant *arg_an_h, 1217s # const gchar *arg_an_ay, 1217s # const gchar *const *arg_an_as, 1217s # const gchar *const *arg_an_ao, 1217s # const gchar *const *arg_an_aay, 1217s # GVariant *arg_an_asv) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxy: 1217s # * 1217s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1217s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1217s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeleton: 1217s # * 1217s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_signaling_iface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_signaling_iface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_signaling_iface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1217s # { 1217s # _org_project_signaling_iface_skeleton_handle_method_call, 1217s # _org_project_signaling_iface_skeleton_handle_get_property, 1217s # _org_project_signaling_iface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_signaling_iface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1217s # OrgProjectSignalingIface *object, 1217s # gboolean arg_an_b, 1217s # guchar arg_an_y, 1217s # gint16 arg_an_n, 1217s # guint16 arg_an_q, 1217s # gint arg_an_i, 1217s # guint arg_an_u, 1217s # gint64 arg_an_x, 1217s # guint64 arg_an_t, 1217s # gdouble arg_an_d, 1217s # const gchar *arg_an_s, 1217s # const gchar *arg_an_o, 1217s # const gchar *arg_an_g, 1217s # GVariant *arg_an_h, 1217s # const gchar *arg_an_ay, 1217s # const gchar *const *arg_an_as, 1217s # const gchar *const *arg_an_ao, 1217s # const gchar *const *arg_an_aay, 1217s # GVariant *arg_an_asv) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1217s # arg_an_b, 1217s # arg_an_y, 1217s # arg_an_n, 1217s # arg_an_q, 1217s # arg_an_i, 1217s # arg_an_u, 1217s # arg_an_x, 1217s # arg_an_t, 1217s # arg_an_d, 1217s # arg_an_s, 1217s # arg_an_o, 1217s # arg_an_g, 1217s # arg_an_h, 1217s # arg_an_ay, 1217s # arg_an_as, 1217s # arg_an_ao, 1217s # arg_an_aay, 1217s # arg_an_asv)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1217s # } 1217s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1217s # tmpdir: /tmp/tmp34z4_lea 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmp34z4_lea/tmpsxp12f38.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp34z4_lea/tmpsxp12f38.xml', '--output', '-', '--body'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: /* 1217s # * This file is generated by gdbus-codegen, do not modify it. 1217s # * 1217s # * The license of this code is the same as for the D-Bus interface description 1217s # * it was derived from. Note that it links to GLib, so must comply with the 1217s # * LGPL linking clauses. 1217s # */ 1217s # 1217s # #ifdef HAVE_CONFIG_H 1217s # # include "config.h" 1217s # #endif 1217s # 1217s # #include 1217s # #ifdef G_OS_UNIX 1217s # # include 1217s # #endif 1217s # 1217s # #ifdef G_ENABLE_DEBUG 1217s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1217s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1217s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1217s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1217s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1217s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1217s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1217s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1217s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1217s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1217s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1217s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1217s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1217s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1217s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1217s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1217s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1217s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1217s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1217s # #else /* !G_ENABLE_DEBUG */ 1217s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1217s # * Do not access GValues directly in your code. Instead, use the 1217s # * g_value_get_*() functions 1217s # */ 1217s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1217s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1217s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1217s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1217s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1217s # #endif /* !G_ENABLE_DEBUG */ 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusArgInfo parent_struct; 1217s # gboolean use_gvariant; 1217s # } _ExtendedGDBusArgInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusMethodInfo parent_struct; 1217s # const gchar *signal_name; 1217s # gboolean pass_fdlist; 1217s # } _ExtendedGDBusMethodInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusSignalInfo parent_struct; 1217s # const gchar *signal_name; 1217s # } _ExtendedGDBusSignalInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusPropertyInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # guint use_gvariant : 1; 1217s # guint emits_changed_signal : 1; 1217s # } _ExtendedGDBusPropertyInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusInterfaceInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # } _ExtendedGDBusInterfaceInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # const _ExtendedGDBusPropertyInfo *info; 1217s # guint prop_id; 1217s # GValue orig_value; /* the value before the change */ 1217s # } ChangedProperty; 1217s # 1217s # static void 1217s # _changed_property_free (ChangedProperty *data) 1217s # { 1217s # g_value_unset (&data->orig_value); 1217s # g_free (data); 1217s # } 1217s # 1217s # static gboolean 1217s # _g_strv_equal0 (gchar **a, gchar **b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # guint n; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # if (g_strv_length (a) != g_strv_length (b)) 1217s # goto out; 1217s # for (n = 0; a[n] != NULL; n++) 1217s # if (g_strcmp0 (a[n], b[n]) != 0) 1217s # goto out; 1217s # ret = TRUE; 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _g_variant_equal0 (GVariant *a, GVariant *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # ret = g_variant_equal (a, b); 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # G_GNUC_UNUSED static gboolean 1217s # _g_value_equal (const GValue *a, const GValue *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1217s # switch (G_VALUE_TYPE (a)) 1217s # { 1217s # case G_TYPE_BOOLEAN: 1217s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1217s # break; 1217s # case G_TYPE_UCHAR: 1217s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1217s # break; 1217s # case G_TYPE_INT: 1217s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1217s # break; 1217s # case G_TYPE_UINT: 1217s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1217s # break; 1217s # case G_TYPE_INT64: 1217s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1217s # break; 1217s # case G_TYPE_UINT64: 1217s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1217s # break; 1217s # case G_TYPE_DOUBLE: 1217s # { 1217s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1217s # gdouble da = g_value_get_double (a); 1217s # gdouble db = g_value_get_double (b); 1217s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1217s # } 1217s # break; 1217s # case G_TYPE_STRING: 1217s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1217s # break; 1217s # case G_TYPE_VARIANT: 1217s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1217s # break; 1217s # default: 1217s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1217s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1217s # else 1217s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1217s # break; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static void 1217s # _g_dbus_codegen_marshal_VOID__INT64 ( 1217s # GClosure *closure, 1217s # GValue *return_value G_GNUC_UNUSED, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint G_GNUC_UNUSED, 1217s # void *marshal_data) 1217s # { 1217s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1217s # (void *data1, 1217s # gint64 arg_an_x, 1217s # void *data2); 1217s # _GDbusCodegenMarshalVoid_Int64Func callback; 1217s # GCClosure *cc = (GCClosure*) closure; 1217s # void *data1, *data2; 1217s # 1217s # g_return_if_fail (n_param_values == 2); 1217s # 1217s # if (G_CCLOSURE_SWAP_DATA (closure)) 1217s # { 1217s # data1 = closure->data; 1217s # data2 = g_value_peek_pointer (param_values + 0); 1217s # } 1217s # else 1217s # { 1217s # data1 = g_value_peek_pointer (param_values + 0); 1217s # data2 = closure->data; 1217s # } 1217s # 1217s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1217s # (marshal_data ? marshal_data : cc->callback); 1217s # 1217s # callback (data1, 1217s # g_marshal_value_peek_int64 (param_values + 1), 1217s # data2); 1217s # } 1217s # 1217s # static void 1217s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1217s # GClosure *closure, 1217s # GValue *return_value G_GNUC_UNUSED, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint G_GNUC_UNUSED, 1217s # void *marshal_data) 1217s # { 1217s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1217s # (void *data1, 1217s # guint64 arg_an_t, 1217s # void *data2); 1217s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1217s # GCClosure *cc = (GCClosure*) closure; 1217s # void *data1, *data2; 1217s # 1217s # g_return_if_fail (n_param_values == 2); 1217s # 1217s # if (G_CCLOSURE_SWAP_DATA (closure)) 1217s # { 1217s # data1 = closure->data; 1217s # data2 = g_value_peek_pointer (param_values + 0); 1217s # } 1217s # else 1217s # { 1217s # data1 = g_value_peek_pointer (param_values + 0); 1217s # data2 = closure->data; 1217s # } 1217s # 1217s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1217s # (marshal_data ? marshal_data : cc->callback); 1217s # 1217s # callback (data1, 1217s # g_marshal_value_peek_uint64 (param_values + 1), 1217s # data2); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.SignalingIface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectSignalingIface 1217s # * @title: OrgProjectSignalingIface 1217s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1217s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "NoArgSignal", 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "no-arg-signal" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_b", 1217s # (gchar *) "b", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalB", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-b" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_y", 1217s # (gchar *) "y", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalY", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-y" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_n", 1217s # (gchar *) "n", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalN", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-n" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_q", 1217s # (gchar *) "q", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalQ", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-q" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_i", 1217s # (gchar *) "i", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalI", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-i" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_u", 1217s # (gchar *) "u", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalU", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-u" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_x", 1217s # (gchar *) "x", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalX", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-x" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_t", 1217s # (gchar *) "t", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalT", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-t" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_d", 1217s # (gchar *) "d", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalD", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-d" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_s", 1217s # (gchar *) "s", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalS", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-s" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_o", 1217s # (gchar *) "o", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalO", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-o" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_g", 1217s # (gchar *) "g", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalG", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-g" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_h", 1217s # (gchar *) "h", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalH", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-h" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_ay", 1217s # (gchar *) "ay", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalAY", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-ay" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_as", 1217s # (gchar *) "as", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalAS", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-as" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_ao", 1217s # (gchar *) "ao", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalAO", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-ao" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_aay", 1217s # (gchar *) "aay", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalAAY", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-aay" 1217s # }; 1217s # 1217s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "an_asv", 1217s # (gchar *) "a{sv}", 1217s # NULL 1217s # }, 1217s # FALSE 1217s # }; 1217s # 1217s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SingleArgSignalASV", 1217s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1217s # NULL 1217s # }, 1217s # "single-arg-signal-asv" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1217s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.SignalingIface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-signaling-iface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_signaling_iface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VOID (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__UCHAR (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__INT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__UINT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__INT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__UINT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__DOUBLE (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__STRING (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__STRING (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__STRING (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VARIANT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__STRING (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__BOXED (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__BOXED (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__BOXED (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VARIANT (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1217s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1217s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1217s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1217s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1217s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1217s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1217s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1217s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1217s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1217s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1217s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1217s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1217s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1217s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1217s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1217s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1217s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1217s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectSignalingIface::no-arg-signal: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1217s # g_signal_new ("no-arg-signal", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1217s # G_TYPE_NONE, 1217s # 0); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-b: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_b: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1217s # g_signal_new ("single-arg-signal-b", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_BOOLEAN); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-y: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_y: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1217s # g_signal_new ("single-arg-signal-y", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_UCHAR); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-n: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_n: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1217s # g_signal_new ("single-arg-signal-n", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_INT); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-q: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_q: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1217s # g_signal_new ("single-arg-signal-q", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_UINT); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-i: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_i: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1217s # g_signal_new ("single-arg-signal-i", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_INT); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-u: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_u: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1217s # g_signal_new ("single-arg-signal-u", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_UINT); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-x: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_x: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1217s # g_signal_new ("single-arg-signal-x", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_INT64); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-t: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_t: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1217s # g_signal_new ("single-arg-signal-t", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_UINT64); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-d: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_d: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1217s # g_signal_new ("single-arg-signal-d", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_DOUBLE); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-s: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_s: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1217s # g_signal_new ("single-arg-signal-s", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRING); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-o: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_o: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1217s # g_signal_new ("single-arg-signal-o", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRING); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-g: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_g: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1217s # g_signal_new ("single-arg-signal-g", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRING); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-h: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_h: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1217s # g_signal_new ("single-arg-signal-h", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_VARIANT); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-ay: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_ay: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1217s # g_signal_new ("single-arg-signal-ay", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRING); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-as: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_as: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1217s # g_signal_new ("single-arg-signal-as", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRV); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-ao: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_ao: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1217s # g_signal_new ("single-arg-signal-ao", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRV); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-aay: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_aay: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1217s # g_signal_new ("single-arg-signal-aay", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_STRV); 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface::single-arg-signal-asv: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_asv: Argument. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1217s # g_signal_new ("single-arg-signal-asv", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1217s # G_TYPE_NONE, 1217s # 1, G_TYPE_VARIANT); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_no_arg_signal: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * 1217s # * Emits the "NoArgSignal" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_no_arg_signal ( 1217s # OrgProjectSignalingIface *object) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_b: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_b: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalB" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_b ( 1217s # OrgProjectSignalingIface *object, 1217s # gboolean arg_an_b) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_y: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_y: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalY" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_y ( 1217s # OrgProjectSignalingIface *object, 1217s # guchar arg_an_y) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_n: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_n: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalN" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_n ( 1217s # OrgProjectSignalingIface *object, 1217s # gint16 arg_an_n) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_q: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_q: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalQ" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_q ( 1217s # OrgProjectSignalingIface *object, 1217s # guint16 arg_an_q) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_i: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_i: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalI" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_i ( 1217s # OrgProjectSignalingIface *object, 1217s # gint arg_an_i) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_u: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_u: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalU" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_u ( 1217s # OrgProjectSignalingIface *object, 1217s # guint arg_an_u) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_x: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_x: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalX" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_x ( 1217s # OrgProjectSignalingIface *object, 1217s # gint64 arg_an_x) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_t: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_t: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalT" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_t ( 1217s # OrgProjectSignalingIface *object, 1217s # guint64 arg_an_t) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_d: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_d: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalD" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_d ( 1217s # OrgProjectSignalingIface *object, 1217s # gdouble arg_an_d) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_s: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_s: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalS" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_s ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_s) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_o: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_o: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalO" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_o ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_o) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_g: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_g: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalG" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_g ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_g) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_h: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_h: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalH" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_h ( 1217s # OrgProjectSignalingIface *object, 1217s # GVariant *arg_an_h) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_ay: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalAY" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_ay) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_as: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_as: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalAS" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_as ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_as) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_ao: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalAO" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_ao) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_aay: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_aay) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * @arg_an_asv: Argument to pass with the signal. 1217s # * 1217s # * Emits the "SingleArgSignalASV" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1217s # OrgProjectSignalingIface *object, 1217s # GVariant *arg_an_asv) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxy: 1217s # * 1217s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1217s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1217s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeleton: 1217s # * 1217s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_signaling_iface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_signaling_iface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_signaling_iface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1217s # { 1217s # _org_project_signaling_iface_skeleton_handle_method_call, 1217s # _org_project_signaling_iface_skeleton_handle_get_property, 1217s # _org_project_signaling_iface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_signaling_iface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1217s # OrgProjectSignalingIface *object) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1217s # OrgProjectSignalingIface *object, 1217s # gboolean arg_an_b) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1217s # arg_an_b)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1217s # OrgProjectSignalingIface *object, 1217s # guchar arg_an_y) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1217s # arg_an_y)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1217s # OrgProjectSignalingIface *object, 1217s # gint16 arg_an_n) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1217s # arg_an_n)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1217s # OrgProjectSignalingIface *object, 1217s # guint16 arg_an_q) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1217s # arg_an_q)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1217s # OrgProjectSignalingIface *object, 1217s # gint arg_an_i) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1217s # arg_an_i)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1217s # OrgProjectSignalingIface *object, 1217s # guint arg_an_u) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1217s # arg_an_u)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1217s # OrgProjectSignalingIface *object, 1217s # gint64 arg_an_x) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1217s # arg_an_x)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1217s # OrgProjectSignalingIface *object, 1217s # guint64 arg_an_t) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1217s # arg_an_t)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1217s # OrgProjectSignalingIface *object, 1217s # gdouble arg_an_d) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1217s # arg_an_d)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_s) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1217s # arg_an_s)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_o) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1217s # arg_an_o)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_g) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1217s # arg_an_g)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1217s # OrgProjectSignalingIface *object, 1217s # GVariant *arg_an_h) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1217s # arg_an_h)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *arg_an_ay) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1217s # arg_an_ay)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_as) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1217s # arg_an_as)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_ao) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1217s # arg_an_ao)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1217s # OrgProjectSignalingIface *object, 1217s # const gchar *const *arg_an_aay) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1217s # arg_an_aay)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1217s # OrgProjectSignalingIface *object, 1217s # GVariant *arg_an_asv) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1217s # arg_an_asv)); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1217s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1217s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1217s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1217s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1217s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1217s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1217s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1217s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1217s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1217s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1217s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1217s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1217s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1217s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1217s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1217s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1217s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1217s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1217s # } 1217s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1217s # tmpdir: /tmp/tmp6r649isr 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmp6r649isr/tmpykn51dkr.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6r649isr/tmpykn51dkr.xml', '--output', '-', '--body'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: /* 1217s # * This file is generated by gdbus-codegen, do not modify it. 1217s # * 1217s # * The license of this code is the same as for the D-Bus interface description 1217s # * it was derived from. Note that it links to GLib, so must comply with the 1217s # * LGPL linking clauses. 1217s # */ 1217s # 1217s # #ifdef HAVE_CONFIG_H 1217s # # include "config.h" 1217s # #endif 1217s # 1217s # #include 1217s # #ifdef G_OS_UNIX 1217s # # include 1217s # #endif 1217s # 1217s # #ifdef G_ENABLE_DEBUG 1217s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1217s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1217s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1217s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1217s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1217s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1217s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1217s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1217s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1217s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1217s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1217s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1217s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1217s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1217s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1217s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1217s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1217s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1217s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1217s # #else /* !G_ENABLE_DEBUG */ 1217s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1217s # * Do not access GValues directly in your code. Instead, use the 1217s # * g_value_get_*() functions 1217s # */ 1217s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1217s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1217s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1217s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1217s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1217s # #endif /* !G_ENABLE_DEBUG */ 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusArgInfo parent_struct; 1217s # gboolean use_gvariant; 1217s # } _ExtendedGDBusArgInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusMethodInfo parent_struct; 1217s # const gchar *signal_name; 1217s # gboolean pass_fdlist; 1217s # } _ExtendedGDBusMethodInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusSignalInfo parent_struct; 1217s # const gchar *signal_name; 1217s # } _ExtendedGDBusSignalInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusPropertyInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # guint use_gvariant : 1; 1217s # guint emits_changed_signal : 1; 1217s # } _ExtendedGDBusPropertyInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusInterfaceInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # } _ExtendedGDBusInterfaceInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # const _ExtendedGDBusPropertyInfo *info; 1217s # guint prop_id; 1217s # GValue orig_value; /* the value before the change */ 1217s # } ChangedProperty; 1217s # 1217s # static void 1217s # _changed_property_free (ChangedProperty *data) 1217s # { 1217s # g_value_unset (&data->orig_value); 1217s # g_free (data); 1217s # } 1217s # 1217s # static gboolean 1217s # _g_strv_equal0 (gchar **a, gchar **b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # guint n; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # if (g_strv_length (a) != g_strv_length (b)) 1217s # goto out; 1217s # for (n = 0; a[n] != NULL; n++) 1217s # if (g_strcmp0 (a[n], b[n]) != 0) 1217s # goto out; 1217s # ret = TRUE; 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _g_variant_equal0 (GVariant *a, GVariant *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # ret = g_variant_equal (a, b); 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # G_GNUC_UNUSED static gboolean 1217s # _g_value_equal (const GValue *a, const GValue *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1217s # switch (G_VALUE_TYPE (a)) 1217s # { 1217s # case G_TYPE_BOOLEAN: 1217s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1217s # break; 1217s # case G_TYPE_UCHAR: 1217s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1217s # break; 1217s # case G_TYPE_INT: 1217s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1217s # break; 1217s # case G_TYPE_UINT: 1217s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1217s # break; 1217s # case G_TYPE_INT64: 1217s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1217s # break; 1217s # case G_TYPE_UINT64: 1217s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1217s # break; 1217s # case G_TYPE_DOUBLE: 1217s # { 1217s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1217s # gdouble da = g_value_get_double (a); 1217s # gdouble db = g_value_get_double (b); 1217s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1217s # } 1217s # break; 1217s # case G_TYPE_STRING: 1217s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1217s # break; 1217s # case G_TYPE_VARIANT: 1217s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1217s # break; 1217s # default: 1217s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1217s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1217s # else 1217s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1217s # break; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.UsefulInterface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectUsefulInterface 1217s # * @title: OrgProjectUsefulInterface 1217s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SimpleSignal", 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "simple-signal" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.UsefulInterface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-useful-interface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_useful_interface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_useful_interface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_useful_interface_signal_marshal_simple_signal ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VOID (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1217s # */ 1217s # 1217s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectUsefulInterface::simple-signal: 1217s # * @object: A #OrgProjectUsefulInterface. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1217s # g_signal_new ("simple-signal", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1217s # NULL, 1217s # NULL, 1217s # org_project_useful_interface_signal_marshal_simple_signal, 1217s # G_TYPE_NONE, 1217s # 0); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_emit_simple_signal: 1217s # * @object: A #OrgProjectUsefulInterface. 1217s # * 1217s # * Emits the "SimpleSignal" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_useful_interface_emit_simple_signal ( 1217s # OrgProjectUsefulInterface *object) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterfaceProxy: 1217s # * 1217s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectUsefulInterfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_useful_interface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1217s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1217s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_useful_interface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # g_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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectUsefulInterface * 1217s # org_project_useful_interface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectUsefulInterface * 1217s # org_project_useful_interface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_useful_interface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # g_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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectUsefulInterface * 1217s # org_project_useful_interface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectUsefulInterface * 1217s # org_project_useful_interface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterfaceSkeleton: 1217s # * 1217s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectUsefulInterfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_useful_interface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_useful_interface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_useful_interface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1217s # { 1217s # _org_project_useful_interface_skeleton_handle_method_call, 1217s # _org_project_useful_interface_skeleton_handle_get_property, 1217s # _org_project_useful_interface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_useful_interface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_useful_interface_on_signal_simple_signal ( 1217s # OrgProjectUsefulInterface *object) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_useful_interface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1217s # { 1217s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1217s # } 1217s # 1217s # /** 1217s # * org_project_useful_interface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectUsefulInterface * 1217s # org_project_useful_interface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.OtherIface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectOtherIface 1217s # * @title: OrgProjectOtherIface 1217s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.OtherIface ---- */ 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SimpleSignal", 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "simple-signal" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.OtherIface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-other-iface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_other_iface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_other_iface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_other_iface_signal_marshal_simple_signal ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VOID (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectOtherIface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherIfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.OtherIface. 1217s # */ 1217s # 1217s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectOtherIface::simple-signal: 1217s # * @object: A #OrgProjectOtherIface. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1217s # g_signal_new ("simple-signal", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1217s # NULL, 1217s # NULL, 1217s # org_project_other_iface_signal_marshal_simple_signal, 1217s # G_TYPE_NONE, 1217s # 0); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_emit_simple_signal: 1217s # * @object: A #OrgProjectOtherIface. 1217s # * 1217s # * Emits the "SimpleSignal" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_other_iface_emit_simple_signal ( 1217s # OrgProjectOtherIface *object) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectOtherIfaceProxy: 1217s # * 1217s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherIfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectOtherIfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectOtherIfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_other_iface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1217s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1217s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_other_iface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherIface * 1217s # org_project_other_iface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherIface * 1217s # org_project_other_iface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_other_iface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherIface * 1217s # org_project_other_iface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherIface * 1217s # org_project_other_iface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectOtherIfaceSkeleton: 1217s # * 1217s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherIfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectOtherIfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_other_iface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_other_iface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_other_iface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1217s # { 1217s # _org_project_other_iface_skeleton_handle_method_call, 1217s # _org_project_other_iface_skeleton_handle_get_property, 1217s # _org_project_other_iface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_other_iface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_other_iface_on_signal_simple_signal ( 1217s # OrgProjectOtherIface *object) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_other_iface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1217s # { 1217s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_iface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectOtherIface * 1217s # org_project_other_iface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1217s # } 1217s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1217s # tmpdir: /tmp/tmpdo3bozl2 1217s # codegen: /usr/bin/gdbus-codegen 1217s # /tmp/tmpdo3bozl2/tmpfkigj1qt.xml: 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # 1217s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdo3bozl2/tmpfkigj1qt.xml', '--output', '-', '--body'] 1217s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1217s # Output: /* 1217s # * This file is generated by gdbus-codegen, do not modify it. 1217s # * 1217s # * The license of this code is the same as for the D-Bus interface description 1217s # * it was derived from. Note that it links to GLib, so must comply with the 1217s # * LGPL linking clauses. 1217s # */ 1217s # 1217s # #ifdef HAVE_CONFIG_H 1217s # # include "config.h" 1217s # #endif 1217s # 1217s # #include 1217s # #ifdef G_OS_UNIX 1217s # # include 1217s # #endif 1217s # 1217s # #ifdef G_ENABLE_DEBUG 1217s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1217s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1217s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1217s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1217s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1217s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1217s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1217s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1217s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1217s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1217s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1217s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1217s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1217s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1217s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1217s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1217s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1217s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1217s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1217s # #else /* !G_ENABLE_DEBUG */ 1217s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1217s # * Do not access GValues directly in your code. Instead, use the 1217s # * g_value_get_*() functions 1217s # */ 1217s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1217s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1217s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1217s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1217s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1217s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1217s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1217s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1217s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1217s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1217s # #endif /* !G_ENABLE_DEBUG */ 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusArgInfo parent_struct; 1217s # gboolean use_gvariant; 1217s # } _ExtendedGDBusArgInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusMethodInfo parent_struct; 1217s # const gchar *signal_name; 1217s # gboolean pass_fdlist; 1217s # } _ExtendedGDBusMethodInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusSignalInfo parent_struct; 1217s # const gchar *signal_name; 1217s # } _ExtendedGDBusSignalInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusPropertyInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # guint use_gvariant : 1; 1217s # guint emits_changed_signal : 1; 1217s # } _ExtendedGDBusPropertyInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # GDBusInterfaceInfo parent_struct; 1217s # const gchar *hyphen_name; 1217s # } _ExtendedGDBusInterfaceInfo; 1217s # 1217s # typedef struct 1217s # { 1217s # const _ExtendedGDBusPropertyInfo *info; 1217s # guint prop_id; 1217s # GValue orig_value; /* the value before the change */ 1217s # } ChangedProperty; 1217s # 1217s # static void 1217s # _changed_property_free (ChangedProperty *data) 1217s # { 1217s # g_value_unset (&data->orig_value); 1217s # g_free (data); 1217s # } 1217s # 1217s # static gboolean 1217s # _g_strv_equal0 (gchar **a, gchar **b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # guint n; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # if (g_strv_length (a) != g_strv_length (b)) 1217s # goto out; 1217s # for (n = 0; a[n] != NULL; n++) 1217s # if (g_strcmp0 (a[n], b[n]) != 0) 1217s # goto out; 1217s # ret = TRUE; 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _g_variant_equal0 (GVariant *a, GVariant *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # if (a == NULL && b == NULL) 1217s # { 1217s # ret = TRUE; 1217s # goto out; 1217s # } 1217s # if (a == NULL || b == NULL) 1217s # goto out; 1217s # ret = g_variant_equal (a, b); 1217s # out: 1217s # return ret; 1217s # } 1217s # 1217s # G_GNUC_UNUSED static gboolean 1217s # _g_value_equal (const GValue *a, const GValue *b) 1217s # { 1217s # gboolean ret = FALSE; 1217s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1217s # switch (G_VALUE_TYPE (a)) 1217s # { 1217s # case G_TYPE_BOOLEAN: 1217s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1217s # break; 1217s # case G_TYPE_UCHAR: 1217s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1217s # break; 1217s # case G_TYPE_INT: 1217s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1217s # break; 1217s # case G_TYPE_UINT: 1217s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1217s # break; 1217s # case G_TYPE_INT64: 1217s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1217s # break; 1217s # case G_TYPE_UINT64: 1217s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1217s # break; 1217s # case G_TYPE_DOUBLE: 1217s # { 1217s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1217s # gdouble da = g_value_get_double (a); 1217s # gdouble db = g_value_get_double (b); 1217s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1217s # } 1217s # break; 1217s # case G_TYPE_STRING: 1217s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1217s # break; 1217s # case G_TYPE_VARIANT: 1217s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1217s # break; 1217s # default: 1217s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1217s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1217s # else 1217s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1217s # break; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.SignalingIface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectSignalingIface 1217s # * @title: OrgProjectSignalingIface 1217s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SimpleSignal", 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "simple-signal" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.SignalingIface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-signaling-iface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_signaling_iface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_signaling_iface_signal_marshal_simple_signal ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VOID (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectSignalingIface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1217s # */ 1217s # 1217s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectSignalingIface::simple-signal: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1217s # g_signal_new ("simple-signal", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1217s # NULL, 1217s # NULL, 1217s # org_project_signaling_iface_signal_marshal_simple_signal, 1217s # G_TYPE_NONE, 1217s # 0); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_emit_simple_signal: 1217s # * @object: A #OrgProjectSignalingIface. 1217s # * 1217s # * Emits the "SimpleSignal" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_emit_simple_signal ( 1217s # OrgProjectSignalingIface *object) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxy: 1217s # * 1217s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1217s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1217s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_signaling_iface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeleton: 1217s # * 1217s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectSignalingIfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_signaling_iface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_signaling_iface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_signaling_iface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1217s # { 1217s # _org_project_signaling_iface_skeleton_handle_method_call, 1217s # _org_project_signaling_iface_skeleton_handle_get_property, 1217s # _org_project_signaling_iface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_signaling_iface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_signaling_iface_on_signal_simple_signal ( 1217s # OrgProjectSignalingIface *object) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1217s # { 1217s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1217s # } 1217s # 1217s # /** 1217s # * org_project_signaling_iface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectSignalingIface * 1217s # org_project_signaling_iface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ 1217s # * Code for interface org.project.OtherSignalingIface 1217s # * ------------------------------------------------------------------------ 1217s # */ 1217s # 1217s # /** 1217s # * SECTION:OrgProjectOtherSignalingIface 1217s # * @title: OrgProjectOtherSignalingIface 1217s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1217s # * 1217s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1217s # */ 1217s # 1217s # enum 1217s # { 1217s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1217s # }; 1217s # 1217s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1217s # 1217s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1217s # 1217s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "SimpleSignal", 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "simple-signal" 1217s # }; 1217s # 1217s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1217s # { 1217s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1217s # NULL 1217s # }; 1217s # 1217s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1217s # { 1217s # { 1217s # -1, 1217s # (gchar *) "org.project.OtherSignalingIface", 1217s # NULL, 1217s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1217s # NULL, 1217s # NULL 1217s # }, 1217s # "org-project-other-signaling-iface", 1217s # }; 1217s # 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_interface_info: 1217s # * 1217s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1217s # * 1217s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1217s # */ 1217s # GDBusInterfaceInfo * 1217s # org_project_other_signaling_iface_interface_info (void) 1217s # { 1217s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_override_properties: 1217s # * @klass: The class structure for a #GObject derived class. 1217s # * @property_id_begin: The property id to assign to the first overridden property. 1217s # * 1217s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1217s # * The properties are overridden in the order they are defined. 1217s # * 1217s # * Returns: The last property id. 1217s # */ 1217s # guint 1217s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1217s # { 1217s # return property_id_begin - 1; 1217s # } 1217s # 1217s # 1217s # inline static void 1217s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1217s # GClosure *closure, 1217s # GValue *return_value, 1217s # unsigned int n_param_values, 1217s # const GValue *param_values, 1217s # void *invocation_hint, 1217s # void *marshal_data) 1217s # { 1217s # g_cclosure_marshal_VOID__VOID (closure, 1217s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1217s # } 1217s # 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIface: 1217s # * 1217s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIfaceIface: 1217s # * @parent_iface: The parent interface. 1217s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1217s # * 1217s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1217s # */ 1217s # 1217s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1217s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1217s # { 1217s # /* GObject signals for received D-Bus signals: */ 1217s # /** 1217s # * OrgProjectOtherSignalingIface::simple-signal: 1217s # * @object: A #OrgProjectOtherSignalingIface. 1217s # * 1217s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1217s # * 1217s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1217s # */ 1217s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1217s # g_signal_new ("simple-signal", 1217s # G_TYPE_FROM_INTERFACE (iface), 1217s # G_SIGNAL_RUN_LAST, 1217s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1217s # NULL, 1217s # NULL, 1217s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1217s # G_TYPE_NONE, 1217s # 0); 1217s # 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_emit_simple_signal: 1217s # * @object: A #OrgProjectOtherSignalingIface. 1217s # * 1217s # * Emits the "SimpleSignal" D-Bus signal. 1217s # */ 1217s # void 1217s # org_project_other_signaling_iface_emit_simple_signal ( 1217s # OrgProjectOtherSignalingIface *object) 1217s # { 1217s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1217s # } 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIfaceProxy: 1217s # * 1217s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIfaceProxyClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1217s # */ 1217s # 1217s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1217s # { 1217s # GData *qdata; 1217s # }; 1217s # 1217s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1217s # { 1217s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1217s # g_datalist_clear (&proxy->priv->qdata); 1217s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1217s # guint prop_id G_GNUC_UNUSED, 1217s # const GValue *value G_GNUC_UNUSED, 1217s # GParamSpec *pspec G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1217s # const gchar *sender_name G_GNUC_UNUSED, 1217s # const gchar *signal_name, 1217s # GVariant *parameters) 1217s # { 1217s # _ExtendedGDBusSignalInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # gsize n; 1217s # guint signal_id; 1217s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1217s # if (info == NULL) 1217s # return; 1217s # num_params = g_variant_n_children (parameters); 1217s # paramv = g_new0 (GValue, num_params + 1); 1217s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[0], proxy); 1217s # g_variant_iter_init (&iter, parameters); 1217s # n = 1; 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1217s # g_signal_emitv (paramv, signal_id, 0, NULL); 1217s # for (n = 0; n < num_params + 1; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1217s # GVariant *changed_properties, 1217s # const gchar *const *invalidated_properties) 1217s # { 1217s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1217s # guint n; 1217s # const gchar *key; 1217s # GVariantIter *iter; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # g_variant_get (changed_properties, "a{sv}", &iter); 1217s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1217s # g_datalist_remove_data (&proxy->priv->qdata, key); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # g_variant_iter_free (iter); 1217s # for (n = 0; invalidated_properties[n] != NULL; n++) 1217s # { 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1217s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1217s # if (info != NULL) 1217s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1217s # } 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1217s # #else 1217s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1217s # #endif 1217s # 1217s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusProxyClass *proxy_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1217s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1217s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1217s # 1217s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1217s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1217s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_other_signaling_iface_proxy_new ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherSignalingIface * 1217s # org_project_other_signaling_iface_proxy_new_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new_sync: 1217s # * @connection: A #GDBusConnection. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherSignalingIface * 1217s # org_project_other_signaling_iface_proxy_new_sync ( 1217s # GDBusConnection *connection, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new_for_bus: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1217s # * @user_data: User data to pass to @callback. 1217s # * 1217s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1217s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1217s # * 1217s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1217s # */ 1217s # void 1217s # org_project_other_signaling_iface_proxy_new_for_bus ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GAsyncReadyCallback callback, 1217s # gpointer user_data) 1217s # { 1217s # 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); 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1217s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherSignalingIface * 1217s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1217s # GAsyncResult *res, 1217s # GError **error) 1217s # { 1217s # GObject *ret; 1217s # GObject *source_object; 1217s # source_object = g_async_result_get_source_object (res); 1217s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1217s # g_object_unref (source_object); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1217s # * @bus_type: A #GBusType. 1217s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1217s # * @name: A bus name (well-known or unique). 1217s # * @object_path: An object path. 1217s # * @cancellable: (nullable): A #GCancellable or %NULL. 1217s # * @error: Return location for error or %NULL 1217s # * 1217s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1217s # * 1217s # * The calling thread is blocked until a reply is received. 1217s # * 1217s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1217s # */ 1217s # OrgProjectOtherSignalingIface * 1217s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1217s # GBusType bus_type, 1217s # GDBusProxyFlags flags, 1217s # const gchar *name, 1217s # const gchar *object_path, 1217s # GCancellable *cancellable, 1217s # GError **error) 1217s # { 1217s # GInitable *ret; 1217s # 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); 1217s # if (ret != NULL) 1217s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1217s # else 1217s # return NULL; 1217s # } 1217s # 1217s # 1217s # /* ------------------------------------------------------------------------ */ 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIfaceSkeleton: 1217s # * 1217s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1217s # */ 1217s # 1217s # /** 1217s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1217s # * @parent_class: The parent class. 1217s # * 1217s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1217s # */ 1217s # 1217s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1217s # { 1217s # GValue *properties; 1217s # GList *changed_properties; 1217s # GSource *changed_properties_idle_source; 1217s # GMainContext *context; 1217s # GMutex lock; 1217s # }; 1217s # 1217s # static void 1217s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name, 1217s # const gchar *method_name, 1217s # GVariant *parameters, 1217s # GDBusMethodInvocation *invocation, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1217s # _ExtendedGDBusMethodInfo *info; 1217s # GVariantIter iter; 1217s # GVariant *child; 1217s # GValue *paramv; 1217s # gsize num_params; 1217s # guint num_extra; 1217s # gsize n; 1217s # guint signal_id; 1217s # GValue return_value = G_VALUE_INIT; 1217s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1217s # g_assert (info != NULL); 1217s # num_params = g_variant_n_children (parameters); 1217s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1217s # n = 0; 1217s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1217s # g_value_set_object (¶mv[n++], skeleton); 1217s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1217s # g_value_set_object (¶mv[n++], invocation); 1217s # if (info->pass_fdlist) 1217s # { 1217s # #ifdef G_OS_UNIX 1217s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1217s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1217s # #else 1217s # g_assert_not_reached (); 1217s # #endif 1217s # } 1217s # g_variant_iter_init (&iter, parameters); 1217s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1217s # { 1217s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1217s # if (arg_info->use_gvariant) 1217s # { 1217s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1217s # g_value_set_variant (¶mv[n], child); 1217s # n++; 1217s # } 1217s # else 1217s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1217s # g_variant_unref (child); 1217s # } 1217s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1217s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1217s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1217s # if (!g_value_get_boolean (&return_value)) 1217s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1217s # g_value_unset (&return_value); 1217s # for (n = 0; n < num_params + num_extra; n++) 1217s # g_value_unset (¶mv[n]); 1217s # g_free (paramv); 1217s # } 1217s # 1217s # static GVariant * 1217s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # GVariant *ret; 1217s # ret = NULL; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # g_value_init (&value, pspec->value_type); 1217s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1217s # g_value_unset (&value); 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static gboolean 1217s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1217s # GDBusConnection *connection G_GNUC_UNUSED, 1217s # const gchar *sender G_GNUC_UNUSED, 1217s # const gchar *object_path G_GNUC_UNUSED, 1217s # const gchar *interface_name G_GNUC_UNUSED, 1217s # const gchar *property_name, 1217s # GVariant *variant, 1217s # GError **error, 1217s # gpointer user_data) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1217s # GValue value = G_VALUE_INIT; 1217s # GParamSpec *pspec; 1217s # _ExtendedGDBusPropertyInfo *info; 1217s # gboolean ret; 1217s # ret = FALSE; 1217s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1217s # g_assert (info != NULL); 1217s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1217s # if (pspec == NULL) 1217s # { 1217s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1217s # } 1217s # else 1217s # { 1217s # if (info->use_gvariant) 1217s # g_value_set_variant (&value, variant); 1217s # else 1217s # g_dbus_gvariant_to_gvalue (variant, &value); 1217s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1217s # g_value_unset (&value); 1217s # ret = TRUE; 1217s # } 1217s # return ret; 1217s # } 1217s # 1217s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1217s # { 1217s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1217s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1217s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1217s # {NULL} 1217s # }; 1217s # 1217s # static GDBusInterfaceInfo * 1217s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return org_project_other_signaling_iface_interface_info (); 1217s # } 1217s # 1217s # static GDBusInterfaceVTable * 1217s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1217s # { 1217s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1217s # } 1217s # 1217s # static GVariant * 1217s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1217s # 1217s # GVariantBuilder builder; 1217s # guint n; 1217s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1217s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1217s # goto out; 1217s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1217s # { 1217s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1217s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1217s # { 1217s # GVariant *value; 1217s # 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); 1217s # if (value != NULL) 1217s # { 1217s # g_variant_take_ref (value); 1217s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1217s # g_variant_unref (value); 1217s # } 1217s # } 1217s # } 1217s # out: 1217s # return g_variant_builder_end (&builder); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1217s # { 1217s # } 1217s # 1217s # static void 1217s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1217s # OrgProjectOtherSignalingIface *object) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1217s # 1217s # GList *connections, *l; 1217s # GVariant *signal_variant; 1217s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1217s # 1217s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1217s # for (l = connections; l != NULL; l = l->next) 1217s # { 1217s # GDBusConnection *connection = l->data; 1217s # g_dbus_connection_emit_signal (connection, 1217s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1217s # signal_variant, NULL); 1217s # } 1217s # g_variant_unref (signal_variant); 1217s # g_list_free_full (connections, g_object_unref); 1217s # } 1217s # 1217s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #else 1217s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1217s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1217s # 1217s # #endif 1217s # static void 1217s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1217s # { 1217s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1217s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1217s # if (skeleton->priv->changed_properties_idle_source != NULL) 1217s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1217s # g_main_context_unref (skeleton->priv->context); 1217s # g_mutex_clear (&skeleton->priv->lock); 1217s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1217s # { 1217s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1217s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1217s # #else 1217s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1217s # #endif 1217s # 1217s # g_mutex_init (&skeleton->priv->lock); 1217s # skeleton->priv->context = g_main_context_ref_thread_default (); 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1217s # { 1217s # GObjectClass *gobject_class; 1217s # GDBusInterfaceSkeletonClass *skeleton_class; 1217s # 1217s # gobject_class = G_OBJECT_CLASS (klass); 1217s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1217s # 1217s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1217s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1217s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1217s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1217s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1217s # 1217s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1217s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1217s # #endif 1217s # } 1217s # 1217s # static void 1217s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1217s # { 1217s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1217s # } 1217s # 1217s # /** 1217s # * org_project_other_signaling_iface_skeleton_new: 1217s # * 1217s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1217s # * 1217s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1217s # */ 1217s # OrgProjectOtherSignalingIface * 1217s # org_project_other_signaling_iface_skeleton_new (void) 1217s # { 1217s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1217s # } 1219s # Executing: glib/codegen.py.test 1221s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1221s # tmpdir: /tmp/tmpdroyyehu 1221s # codegen: /usr/bin/gdbus-codegen 1221s # /tmp/tmpdroyyehu/tmptdw1w9p_.xml: 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmptdw1w9p_.xml', '--output', '-', '--body'] 1221s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1221s # Output: /* 1221s # * This file is generated by gdbus-codegen, do not modify it. 1221s # * 1221s # * The license of this code is the same as for the D-Bus interface description 1221s # * it was derived from. Note that it links to GLib, so must comply with the 1221s # * LGPL linking clauses. 1221s # */ 1221s # 1221s # #ifdef HAVE_CONFIG_H 1221s # # include "config.h" 1221s # #endif 1221s # 1221s # #include 1221s # #ifdef G_OS_UNIX 1221s # # include 1221s # #endif 1221s # 1221s # #ifdef G_ENABLE_DEBUG 1221s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1221s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1221s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1221s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1221s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1221s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1221s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1221s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1221s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1221s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1221s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1221s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1221s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1221s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1221s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1221s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1221s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1221s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1221s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1221s # #else /* !G_ENABLE_DEBUG */ 1221s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1221s # * Do not access GValues directly in your code. Instead, use the 1221s # * g_value_get_*() functions 1221s # */ 1221s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1221s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1221s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1221s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1221s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1221s # #endif /* !G_ENABLE_DEBUG */ 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusArgInfo parent_struct; 1221s # gboolean use_gvariant; 1221s # } _ExtendedGDBusArgInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusMethodInfo parent_struct; 1221s # const gchar *signal_name; 1221s # gboolean pass_fdlist; 1221s # } _ExtendedGDBusMethodInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusSignalInfo parent_struct; 1221s # const gchar *signal_name; 1221s # } _ExtendedGDBusSignalInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusPropertyInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # guint use_gvariant : 1; 1221s # guint emits_changed_signal : 1; 1221s # } _ExtendedGDBusPropertyInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusInterfaceInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # } _ExtendedGDBusInterfaceInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # const _ExtendedGDBusPropertyInfo *info; 1221s # guint prop_id; 1221s # GValue orig_value; /* the value before the change */ 1221s # } ChangedProperty; 1221s # 1221s # static void 1221s # _changed_property_free (ChangedProperty *data) 1221s # { 1221s # g_value_unset (&data->orig_value); 1221s # g_free (data); 1221s # } 1221s # 1221s # static gboolean 1221s # _g_strv_equal0 (gchar **a, gchar **b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # guint n; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # if (g_strv_length (a) != g_strv_length (b)) 1221s # goto out; 1221s # for (n = 0; a[n] != NULL; n++) 1221s # if (g_strcmp0 (a[n], b[n]) != 0) 1221s # goto out; 1221s # ret = TRUE; 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _g_variant_equal0 (GVariant *a, GVariant *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # ret = g_variant_equal (a, b); 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # G_GNUC_UNUSED static gboolean 1221s # _g_value_equal (const GValue *a, const GValue *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1221s # switch (G_VALUE_TYPE (a)) 1221s # { 1221s # case G_TYPE_BOOLEAN: 1221s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1221s # break; 1221s # case G_TYPE_UCHAR: 1221s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1221s # break; 1221s # case G_TYPE_INT: 1221s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1221s # break; 1221s # case G_TYPE_UINT: 1221s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1221s # break; 1221s # case G_TYPE_INT64: 1221s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1221s # break; 1221s # case G_TYPE_UINT64: 1221s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1221s # break; 1221s # case G_TYPE_DOUBLE: 1221s # { 1221s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1221s # gdouble da = g_value_get_double (a); 1221s # gdouble db = g_value_get_double (b); 1221s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1221s # } 1221s # break; 1221s # case G_TYPE_STRING: 1221s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1221s # break; 1221s # case G_TYPE_VARIANT: 1221s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1221s # break; 1221s # default: 1221s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1221s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1221s # else 1221s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1221s # break; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ 1221s # * Code for interface org.project.SignalingIface 1221s # * ------------------------------------------------------------------------ 1221s # */ 1221s # 1221s # /** 1221s # * SECTION:OrgProjectSignalingIface 1221s # * @title: OrgProjectSignalingIface 1221s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1221s # * 1221s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1221s # */ 1221s # 1221s # enum 1221s # { 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1221s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1221s # }; 1221s # 1221s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1221s # 1221s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SimpleSignal", 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "simple-signal" 1221s # }; 1221s # 1221s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "arg_b", 1221s # (gchar *) "b", 1221s # NULL 1221s # }, 1221s # FALSE 1221s # }; 1221s # 1221s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SingleArgSignalB", 1221s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1221s # NULL 1221s # }, 1221s # "single-arg-signal-b" 1221s # }; 1221s # 1221s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "org.project.SignalingIface", 1221s # NULL, 1221s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "org-project-signaling-iface", 1221s # }; 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_interface_info: 1221s # * 1221s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1221s # * 1221s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1221s # */ 1221s # GDBusInterfaceInfo * 1221s # org_project_signaling_iface_interface_info (void) 1221s # { 1221s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_override_properties: 1221s # * @klass: The class structure for a #GObject derived class. 1221s # * @property_id_begin: The property id to assign to the first overridden property. 1221s # * 1221s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1221s # * The properties are overridden in the order they are defined. 1221s # * 1221s # * Returns: The last property id. 1221s # */ 1221s # guint 1221s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1221s # { 1221s # return property_id_begin - 1; 1221s # } 1221s # 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_simple_signal ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__VOID (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface: 1221s # * 1221s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceIface: 1221s # * @parent_iface: The parent interface. 1221s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1221s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1221s # * 1221s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1221s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1221s # 1221s # static void 1221s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # /* GObject signals for received D-Bus signals: */ 1221s # /** 1221s # * OrgProjectSignalingIface::simple-signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1221s # g_signal_new ("simple-signal", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_simple_signal, 1221s # G_TYPE_NONE, 1221s # 0); 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface::single-arg-signal-b: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_b: Argument. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1221s # g_signal_new ("single-arg-signal-b", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1221s # G_TYPE_NONE, 1221s # 1, G_TYPE_BOOLEAN); 1221s # 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_simple_signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * Emits the "SimpleSignal" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_single_arg_signal_b: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_b: Argument to pass with the signal. 1221s # * 1221s # * Emits the "SingleArgSignalB" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_single_arg_signal_b ( 1221s # OrgProjectSignalingIface *object, 1221s # gboolean arg_arg_b) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxy: 1221s # * 1221s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxyClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceProxy. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceProxyPrivate 1221s # { 1221s # GData *qdata; 1221s # }; 1221s # 1221s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_proxy_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1221s # g_datalist_clear (&proxy->priv->qdata); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # const GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1221s # const gchar *sender_name G_GNUC_UNUSED, 1221s # const gchar *signal_name, 1221s # GVariant *parameters) 1221s # { 1221s # _ExtendedGDBusSignalInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # gsize n; 1221s # guint signal_id; 1221s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1221s # if (info == NULL) 1221s # return; 1221s # num_params = g_variant_n_children (parameters); 1221s # paramv = g_new0 (GValue, num_params + 1); 1221s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[0], proxy); 1221s # g_variant_iter_init (&iter, parameters); 1221s # n = 1; 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_signal_emitv (paramv, signal_id, 0, NULL); 1221s # for (n = 0; n < num_params + 1; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1221s # GVariant *changed_properties, 1221s # const gchar *const *invalidated_properties) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1221s # guint n; 1221s # const gchar *key; 1221s # GVariantIter *iter; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # g_variant_get (changed_properties, "a{sv}", &iter); 1221s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1221s # g_datalist_remove_data (&proxy->priv->qdata, key); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # g_variant_iter_free (iter); 1221s # for (n = 0; invalidated_properties[n] != NULL; n++) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1221s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1221s # #else 1221s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1221s # #endif 1221s # 1221s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusProxyClass *proxy_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1221s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1221s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1221s # 1221s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1221s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1221s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_sync: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_sync ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new_for_bus ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeleton: 1221s # * 1221s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeletonClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1221s # { 1221s # GValue *properties; 1221s # GList *changed_properties; 1221s # GSource *changed_properties_idle_source; 1221s # GMainContext *context; 1221s # GMutex lock; 1221s # }; 1221s # 1221s # static void 1221s # _org_project_signaling_iface_skeleton_handle_method_call ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name, 1221s # const gchar *method_name, 1221s # GVariant *parameters, 1221s # GDBusMethodInvocation *invocation, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # _ExtendedGDBusMethodInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # guint num_extra; 1221s # gsize n; 1221s # guint signal_id; 1221s # GValue return_value = G_VALUE_INIT; 1221s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1221s # g_assert (info != NULL); 1221s # num_params = g_variant_n_children (parameters); 1221s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1221s # n = 0; 1221s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[n++], skeleton); 1221s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1221s # g_value_set_object (¶mv[n++], invocation); 1221s # if (info->pass_fdlist) 1221s # { 1221s # #ifdef G_OS_UNIX 1221s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1221s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1221s # #else 1221s # g_assert_not_reached (); 1221s # #endif 1221s # } 1221s # g_variant_iter_init (&iter, parameters); 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1221s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1221s # if (!g_value_get_boolean (&return_value)) 1221s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1221s # g_value_unset (&return_value); 1221s # for (n = 0; n < num_params + num_extra; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static GVariant * 1221s # _org_project_signaling_iface_skeleton_handle_get_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # GVariant *ret; 1221s # ret = NULL; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # g_value_init (&value, pspec->value_type); 1221s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1221s # g_value_unset (&value); 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _org_project_signaling_iface_skeleton_handle_set_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GVariant *variant, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # gboolean ret; 1221s # ret = FALSE; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # if (info->use_gvariant) 1221s # g_value_set_variant (&value, variant); 1221s # else 1221s # g_dbus_gvariant_to_gvalue (variant, &value); 1221s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # g_value_unset (&value); 1221s # ret = TRUE; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1221s # { 1221s # _org_project_signaling_iface_skeleton_handle_method_call, 1221s # _org_project_signaling_iface_skeleton_handle_get_property, 1221s # _org_project_signaling_iface_skeleton_handle_set_property, 1221s # {NULL} 1221s # }; 1221s # 1221s # static GDBusInterfaceInfo * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return org_project_signaling_iface_interface_info (); 1221s # } 1221s # 1221s # static GDBusInterfaceVTable * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1221s # } 1221s # 1221s # static GVariant * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1221s # 1221s # GVariantBuilder builder; 1221s # guint n; 1221s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1221s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1221s # goto out; 1221s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1221s # { 1221s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1221s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1221s # { 1221s # GVariant *value; 1221s # 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); 1221s # if (value != NULL) 1221s # { 1221s # g_variant_take_ref (value); 1221s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1221s # g_variant_unref (value); 1221s # } 1221s # } 1221s # } 1221s # out: 1221s # return g_variant_builder_end (&builder); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1221s # OrgProjectSignalingIface *object, 1221s # gboolean arg_arg_b) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1221s # arg_arg_b)); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1221s # if (skeleton->priv->changed_properties_idle_source != NULL) 1221s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1221s # g_main_context_unref (skeleton->priv->context); 1221s # g_mutex_clear (&skeleton->priv->lock); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1221s # #else 1221s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1221s # #endif 1221s # 1221s # g_mutex_init (&skeleton->priv->lock); 1221s # skeleton->priv->context = g_main_context_ref_thread_default (); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusInterfaceSkeletonClass *skeleton_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1221s # 1221s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1221s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1221s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1221s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1221s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1221s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_skeleton_new: 1221s # * 1221s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_skeleton_new (void) 1221s # { 1221s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1221s # } 1221s # /tmp/tmpdroyyehu/tmp1uzuqd5g.xml: 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp1uzuqd5g.xml', '--output', '-', '--body'] 1221s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1221s # Output: /* 1221s # * This file is generated by gdbus-codegen, do not modify it. 1221s # * 1221s # * The license of this code is the same as for the D-Bus interface description 1221s # * it was derived from. Note that it links to GLib, so must comply with the 1221s # * LGPL linking clauses. 1221s # */ 1221s # 1221s # #ifdef HAVE_CONFIG_H 1221s # # include "config.h" 1221s # #endif 1221s # 1221s # #include 1221s # #ifdef G_OS_UNIX 1221s # # include 1221s # #endif 1221s # 1221s # #ifdef G_ENABLE_DEBUG 1221s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1221s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1221s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1221s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1221s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1221s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1221s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1221s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1221s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1221s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1221s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1221s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1221s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1221s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1221s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1221s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1221s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1221s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1221s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1221s # #else /* !G_ENABLE_DEBUG */ 1221s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1221s # * Do not access GValues directly in your code. Instead, use the 1221s # * g_value_get_*() functions 1221s # */ 1221s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1221s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1221s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1221s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1221s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1221s # #endif /* !G_ENABLE_DEBUG */ 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusArgInfo parent_struct; 1221s # gboolean use_gvariant; 1221s # } _ExtendedGDBusArgInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusMethodInfo parent_struct; 1221s # const gchar *signal_name; 1221s # gboolean pass_fdlist; 1221s # } _ExtendedGDBusMethodInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusSignalInfo parent_struct; 1221s # const gchar *signal_name; 1221s # } _ExtendedGDBusSignalInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusPropertyInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # guint use_gvariant : 1; 1221s # guint emits_changed_signal : 1; 1221s # } _ExtendedGDBusPropertyInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusInterfaceInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # } _ExtendedGDBusInterfaceInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # const _ExtendedGDBusPropertyInfo *info; 1221s # guint prop_id; 1221s # GValue orig_value; /* the value before the change */ 1221s # } ChangedProperty; 1221s # 1221s # static void 1221s # _changed_property_free (ChangedProperty *data) 1221s # { 1221s # g_value_unset (&data->orig_value); 1221s # g_free (data); 1221s # } 1221s # 1221s # static gboolean 1221s # _g_strv_equal0 (gchar **a, gchar **b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # guint n; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # if (g_strv_length (a) != g_strv_length (b)) 1221s # goto out; 1221s # for (n = 0; a[n] != NULL; n++) 1221s # if (g_strcmp0 (a[n], b[n]) != 0) 1221s # goto out; 1221s # ret = TRUE; 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _g_variant_equal0 (GVariant *a, GVariant *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # ret = g_variant_equal (a, b); 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # G_GNUC_UNUSED static gboolean 1221s # _g_value_equal (const GValue *a, const GValue *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1221s # switch (G_VALUE_TYPE (a)) 1221s # { 1221s # case G_TYPE_BOOLEAN: 1221s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1221s # break; 1221s # case G_TYPE_UCHAR: 1221s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1221s # break; 1221s # case G_TYPE_INT: 1221s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1221s # break; 1221s # case G_TYPE_UINT: 1221s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1221s # break; 1221s # case G_TYPE_INT64: 1221s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1221s # break; 1221s # case G_TYPE_UINT64: 1221s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1221s # break; 1221s # case G_TYPE_DOUBLE: 1221s # { 1221s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1221s # gdouble da = g_value_get_double (a); 1221s # gdouble db = g_value_get_double (b); 1221s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1221s # } 1221s # break; 1221s # case G_TYPE_STRING: 1221s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1221s # break; 1221s # case G_TYPE_VARIANT: 1221s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1221s # break; 1221s # default: 1221s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1221s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1221s # else 1221s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1221s # break; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ 1221s # * Code for interface org.project.SignalingIface 1221s # * ------------------------------------------------------------------------ 1221s # */ 1221s # 1221s # /** 1221s # * SECTION:OrgProjectSignalingIface 1221s # * @title: OrgProjectSignalingIface 1221s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1221s # * 1221s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1221s # */ 1221s # 1221s # enum 1221s # { 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1221s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1221s # }; 1221s # 1221s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1221s # 1221s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SimpleSignal", 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "simple-signal" 1221s # }; 1221s # 1221s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "arg_y", 1221s # (gchar *) "y", 1221s # NULL 1221s # }, 1221s # FALSE 1221s # }; 1221s # 1221s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SingleArgSignalY", 1221s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1221s # NULL 1221s # }, 1221s # "single-arg-signal-y" 1221s # }; 1221s # 1221s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "org.project.SignalingIface", 1221s # NULL, 1221s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "org-project-signaling-iface", 1221s # }; 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_interface_info: 1221s # * 1221s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1221s # * 1221s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1221s # */ 1221s # GDBusInterfaceInfo * 1221s # org_project_signaling_iface_interface_info (void) 1221s # { 1221s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_override_properties: 1221s # * @klass: The class structure for a #GObject derived class. 1221s # * @property_id_begin: The property id to assign to the first overridden property. 1221s # * 1221s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1221s # * The properties are overridden in the order they are defined. 1221s # * 1221s # * Returns: The last property id. 1221s # */ 1221s # guint 1221s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1221s # { 1221s # return property_id_begin - 1; 1221s # } 1221s # 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_simple_signal ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__VOID (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__UCHAR (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface: 1221s # * 1221s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceIface: 1221s # * @parent_iface: The parent interface. 1221s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1221s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1221s # * 1221s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1221s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1221s # 1221s # static void 1221s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # /* GObject signals for received D-Bus signals: */ 1221s # /** 1221s # * OrgProjectSignalingIface::simple-signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1221s # g_signal_new ("simple-signal", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_simple_signal, 1221s # G_TYPE_NONE, 1221s # 0); 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface::single-arg-signal-y: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_y: Argument. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1221s # g_signal_new ("single-arg-signal-y", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1221s # G_TYPE_NONE, 1221s # 1, G_TYPE_UCHAR); 1221s # 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_simple_signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * Emits the "SimpleSignal" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_single_arg_signal_y: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_y: Argument to pass with the signal. 1221s # * 1221s # * Emits the "SingleArgSignalY" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_single_arg_signal_y ( 1221s # OrgProjectSignalingIface *object, 1221s # guchar arg_arg_y) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxy: 1221s # * 1221s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxyClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceProxy. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceProxyPrivate 1221s # { 1221s # GData *qdata; 1221s # }; 1221s # 1221s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_proxy_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1221s # g_datalist_clear (&proxy->priv->qdata); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # const GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1221s # const gchar *sender_name G_GNUC_UNUSED, 1221s # const gchar *signal_name, 1221s # GVariant *parameters) 1221s # { 1221s # _ExtendedGDBusSignalInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # gsize n; 1221s # guint signal_id; 1221s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1221s # if (info == NULL) 1221s # return; 1221s # num_params = g_variant_n_children (parameters); 1221s # paramv = g_new0 (GValue, num_params + 1); 1221s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[0], proxy); 1221s # g_variant_iter_init (&iter, parameters); 1221s # n = 1; 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_signal_emitv (paramv, signal_id, 0, NULL); 1221s # for (n = 0; n < num_params + 1; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1221s # GVariant *changed_properties, 1221s # const gchar *const *invalidated_properties) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1221s # guint n; 1221s # const gchar *key; 1221s # GVariantIter *iter; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # g_variant_get (changed_properties, "a{sv}", &iter); 1221s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1221s # g_datalist_remove_data (&proxy->priv->qdata, key); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # g_variant_iter_free (iter); 1221s # for (n = 0; invalidated_properties[n] != NULL; n++) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1221s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1221s # #else 1221s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1221s # #endif 1221s # 1221s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusProxyClass *proxy_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1221s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1221s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1221s # 1221s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1221s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1221s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_sync: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_sync ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new_for_bus ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeleton: 1221s # * 1221s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeletonClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1221s # { 1221s # GValue *properties; 1221s # GList *changed_properties; 1221s # GSource *changed_properties_idle_source; 1221s # GMainContext *context; 1221s # GMutex lock; 1221s # }; 1221s # 1221s # static void 1221s # _org_project_signaling_iface_skeleton_handle_method_call ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name, 1221s # const gchar *method_name, 1221s # GVariant *parameters, 1221s # GDBusMethodInvocation *invocation, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # _ExtendedGDBusMethodInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # guint num_extra; 1221s # gsize n; 1221s # guint signal_id; 1221s # GValue return_value = G_VALUE_INIT; 1221s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1221s # g_assert (info != NULL); 1221s # num_params = g_variant_n_children (parameters); 1221s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1221s # n = 0; 1221s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[n++], skeleton); 1221s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1221s # g_value_set_object (¶mv[n++], invocation); 1221s # if (info->pass_fdlist) 1221s # { 1221s # #ifdef G_OS_UNIX 1221s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1221s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1221s # #else 1221s # g_assert_not_reached (); 1221s # #endif 1221s # } 1221s # g_variant_iter_init (&iter, parameters); 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1221s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1221s # if (!g_value_get_boolean (&return_value)) 1221s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1221s # g_value_unset (&return_value); 1221s # for (n = 0; n < num_params + num_extra; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static GVariant * 1221s # _org_project_signaling_iface_skeleton_handle_get_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # GVariant *ret; 1221s # ret = NULL; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # g_value_init (&value, pspec->value_type); 1221s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1221s # g_value_unset (&value); 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _org_project_signaling_iface_skeleton_handle_set_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GVariant *variant, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # gboolean ret; 1221s # ret = FALSE; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # if (info->use_gvariant) 1221s # g_value_set_variant (&value, variant); 1221s # else 1221s # g_dbus_gvariant_to_gvalue (variant, &value); 1221s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # g_value_unset (&value); 1221s # ret = TRUE; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1221s # { 1221s # _org_project_signaling_iface_skeleton_handle_method_call, 1221s # _org_project_signaling_iface_skeleton_handle_get_property, 1221s # _org_project_signaling_iface_skeleton_handle_set_property, 1221s # {NULL} 1221s # }; 1221s # 1221s # static GDBusInterfaceInfo * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return org_project_signaling_iface_interface_info (); 1221s # } 1221s # 1221s # static GDBusInterfaceVTable * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1221s # } 1221s # 1221s # static GVariant * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1221s # 1221s # GVariantBuilder builder; 1221s # guint n; 1221s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1221s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1221s # goto out; 1221s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1221s # { 1221s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1221s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1221s # { 1221s # GVariant *value; 1221s # 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); 1221s # if (value != NULL) 1221s # { 1221s # g_variant_take_ref (value); 1221s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1221s # g_variant_unref (value); 1221s # } 1221s # } 1221s # } 1221s # out: 1221s # return g_variant_builder_end (&builder); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1221s # OrgProjectSignalingIface *object, 1221s # guchar arg_arg_y) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1221s # arg_arg_y)); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1221s # if (skeleton->priv->changed_properties_idle_source != NULL) 1221s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1221s # g_main_context_unref (skeleton->priv->context); 1221s # g_mutex_clear (&skeleton->priv->lock); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1221s # #else 1221s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1221s # #endif 1221s # 1221s # g_mutex_init (&skeleton->priv->lock); 1221s # skeleton->priv->context = g_main_context_ref_thread_default (); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusInterfaceSkeletonClass *skeleton_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1221s # 1221s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1221s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1221s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1221s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1221s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1221s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_skeleton_new: 1221s # * 1221s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_skeleton_new (void) 1221s # { 1221s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1221s # } 1221s # /tmp/tmpdroyyehu/tmpkiwcep3h.xml: 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpkiwcep3h.xml', '--output', '-', '--body'] 1221s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1221s # Output: /* 1221s # * This file is generated by gdbus-codegen, do not modify it. 1221s # * 1221s # * The license of this code is the same as for the D-Bus interface description 1221s # * it was derived from. Note that it links to GLib, so must comply with the 1221s # * LGPL linking clauses. 1221s # */ 1221s # 1221s # #ifdef HAVE_CONFIG_H 1221s # # include "config.h" 1221s # #endif 1221s # 1221s # #include 1221s # #ifdef G_OS_UNIX 1221s # # include 1221s # #endif 1221s # 1221s # #ifdef G_ENABLE_DEBUG 1221s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1221s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1221s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1221s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1221s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1221s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1221s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1221s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1221s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1221s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1221s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1221s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1221s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1221s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1221s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1221s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1221s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1221s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1221s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1221s # #else /* !G_ENABLE_DEBUG */ 1221s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1221s # * Do not access GValues directly in your code. Instead, use the 1221s # * g_value_get_*() functions 1221s # */ 1221s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1221s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1221s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1221s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1221s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1221s # #endif /* !G_ENABLE_DEBUG */ 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusArgInfo parent_struct; 1221s # gboolean use_gvariant; 1221s # } _ExtendedGDBusArgInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusMethodInfo parent_struct; 1221s # const gchar *signal_name; 1221s # gboolean pass_fdlist; 1221s # } _ExtendedGDBusMethodInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusSignalInfo parent_struct; 1221s # const gchar *signal_name; 1221s # } _ExtendedGDBusSignalInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusPropertyInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # guint use_gvariant : 1; 1221s # guint emits_changed_signal : 1; 1221s # } _ExtendedGDBusPropertyInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusInterfaceInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # } _ExtendedGDBusInterfaceInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # const _ExtendedGDBusPropertyInfo *info; 1221s # guint prop_id; 1221s # GValue orig_value; /* the value before the change */ 1221s # } ChangedProperty; 1221s # 1221s # static void 1221s # _changed_property_free (ChangedProperty *data) 1221s # { 1221s # g_value_unset (&data->orig_value); 1221s # g_free (data); 1221s # } 1221s # 1221s # static gboolean 1221s # _g_strv_equal0 (gchar **a, gchar **b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # guint n; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # if (g_strv_length (a) != g_strv_length (b)) 1221s # goto out; 1221s # for (n = 0; a[n] != NULL; n++) 1221s # if (g_strcmp0 (a[n], b[n]) != 0) 1221s # goto out; 1221s # ret = TRUE; 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _g_variant_equal0 (GVariant *a, GVariant *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # ret = g_variant_equal (a, b); 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # G_GNUC_UNUSED static gboolean 1221s # _g_value_equal (const GValue *a, const GValue *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1221s # switch (G_VALUE_TYPE (a)) 1221s # { 1221s # case G_TYPE_BOOLEAN: 1221s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1221s # break; 1221s # case G_TYPE_UCHAR: 1221s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1221s # break; 1221s # case G_TYPE_INT: 1221s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1221s # break; 1221s # case G_TYPE_UINT: 1221s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1221s # break; 1221s # case G_TYPE_INT64: 1221s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1221s # break; 1221s # case G_TYPE_UINT64: 1221s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1221s # break; 1221s # case G_TYPE_DOUBLE: 1221s # { 1221s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1221s # gdouble da = g_value_get_double (a); 1221s # gdouble db = g_value_get_double (b); 1221s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1221s # } 1221s # break; 1221s # case G_TYPE_STRING: 1221s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1221s # break; 1221s # case G_TYPE_VARIANT: 1221s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1221s # break; 1221s # default: 1221s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1221s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1221s # else 1221s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1221s # break; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ 1221s # * Code for interface org.project.SignalingIface 1221s # * ------------------------------------------------------------------------ 1221s # */ 1221s # 1221s # /** 1221s # * SECTION:OrgProjectSignalingIface 1221s # * @title: OrgProjectSignalingIface 1221s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1221s # * 1221s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1221s # */ 1221s # 1221s # enum 1221s # { 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1221s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1221s # }; 1221s # 1221s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1221s # 1221s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SimpleSignal", 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "simple-signal" 1221s # }; 1221s # 1221s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "arg_n", 1221s # (gchar *) "n", 1221s # NULL 1221s # }, 1221s # FALSE 1221s # }; 1221s # 1221s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SingleArgSignalN", 1221s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1221s # NULL 1221s # }, 1221s # "single-arg-signal-n" 1221s # }; 1221s # 1221s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "org.project.SignalingIface", 1221s # NULL, 1221s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "org-project-signaling-iface", 1221s # }; 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_interface_info: 1221s # * 1221s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1221s # * 1221s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1221s # */ 1221s # GDBusInterfaceInfo * 1221s # org_project_signaling_iface_interface_info (void) 1221s # { 1221s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_override_properties: 1221s # * @klass: The class structure for a #GObject derived class. 1221s # * @property_id_begin: The property id to assign to the first overridden property. 1221s # * 1221s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1221s # * The properties are overridden in the order they are defined. 1221s # * 1221s # * Returns: The last property id. 1221s # */ 1221s # guint 1221s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1221s # { 1221s # return property_id_begin - 1; 1221s # } 1221s # 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_simple_signal ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__VOID (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__INT (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface: 1221s # * 1221s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceIface: 1221s # * @parent_iface: The parent interface. 1221s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1221s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1221s # * 1221s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1221s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1221s # 1221s # static void 1221s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # /* GObject signals for received D-Bus signals: */ 1221s # /** 1221s # * OrgProjectSignalingIface::simple-signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1221s # g_signal_new ("simple-signal", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_simple_signal, 1221s # G_TYPE_NONE, 1221s # 0); 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface::single-arg-signal-n: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_n: Argument. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1221s # g_signal_new ("single-arg-signal-n", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1221s # G_TYPE_NONE, 1221s # 1, G_TYPE_INT); 1221s # 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_simple_signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * Emits the "SimpleSignal" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_single_arg_signal_n: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_n: Argument to pass with the signal. 1221s # * 1221s # * Emits the "SingleArgSignalN" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_single_arg_signal_n ( 1221s # OrgProjectSignalingIface *object, 1221s # gint16 arg_arg_n) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxy: 1221s # * 1221s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxyClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceProxy. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceProxyPrivate 1221s # { 1221s # GData *qdata; 1221s # }; 1221s # 1221s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_proxy_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1221s # g_datalist_clear (&proxy->priv->qdata); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # const GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1221s # const gchar *sender_name G_GNUC_UNUSED, 1221s # const gchar *signal_name, 1221s # GVariant *parameters) 1221s # { 1221s # _ExtendedGDBusSignalInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # gsize n; 1221s # guint signal_id; 1221s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1221s # if (info == NULL) 1221s # return; 1221s # num_params = g_variant_n_children (parameters); 1221s # paramv = g_new0 (GValue, num_params + 1); 1221s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[0], proxy); 1221s # g_variant_iter_init (&iter, parameters); 1221s # n = 1; 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_signal_emitv (paramv, signal_id, 0, NULL); 1221s # for (n = 0; n < num_params + 1; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1221s # GVariant *changed_properties, 1221s # const gchar *const *invalidated_properties) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1221s # guint n; 1221s # const gchar *key; 1221s # GVariantIter *iter; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # g_variant_get (changed_properties, "a{sv}", &iter); 1221s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1221s # g_datalist_remove_data (&proxy->priv->qdata, key); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # g_variant_iter_free (iter); 1221s # for (n = 0; invalidated_properties[n] != NULL; n++) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1221s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1221s # #else 1221s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1221s # #endif 1221s # 1221s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusProxyClass *proxy_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1221s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1221s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1221s # 1221s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1221s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1221s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_sync: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_sync ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new_for_bus ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeleton: 1221s # * 1221s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeletonClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1221s # { 1221s # GValue *properties; 1221s # GList *changed_properties; 1221s # GSource *changed_properties_idle_source; 1221s # GMainContext *context; 1221s # GMutex lock; 1221s # }; 1221s # 1221s # static void 1221s # _org_project_signaling_iface_skeleton_handle_method_call ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name, 1221s # const gchar *method_name, 1221s # GVariant *parameters, 1221s # GDBusMethodInvocation *invocation, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # _ExtendedGDBusMethodInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # guint num_extra; 1221s # gsize n; 1221s # guint signal_id; 1221s # GValue return_value = G_VALUE_INIT; 1221s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1221s # g_assert (info != NULL); 1221s # num_params = g_variant_n_children (parameters); 1221s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1221s # n = 0; 1221s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[n++], skeleton); 1221s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1221s # g_value_set_object (¶mv[n++], invocation); 1221s # if (info->pass_fdlist) 1221s # { 1221s # #ifdef G_OS_UNIX 1221s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1221s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1221s # #else 1221s # g_assert_not_reached (); 1221s # #endif 1221s # } 1221s # g_variant_iter_init (&iter, parameters); 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1221s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1221s # if (!g_value_get_boolean (&return_value)) 1221s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1221s # g_value_unset (&return_value); 1221s # for (n = 0; n < num_params + num_extra; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static GVariant * 1221s # _org_project_signaling_iface_skeleton_handle_get_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # GVariant *ret; 1221s # ret = NULL; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # g_value_init (&value, pspec->value_type); 1221s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1221s # g_value_unset (&value); 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _org_project_signaling_iface_skeleton_handle_set_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GVariant *variant, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # gboolean ret; 1221s # ret = FALSE; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # if (info->use_gvariant) 1221s # g_value_set_variant (&value, variant); 1221s # else 1221s # g_dbus_gvariant_to_gvalue (variant, &value); 1221s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # g_value_unset (&value); 1221s # ret = TRUE; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1221s # { 1221s # _org_project_signaling_iface_skeleton_handle_method_call, 1221s # _org_project_signaling_iface_skeleton_handle_get_property, 1221s # _org_project_signaling_iface_skeleton_handle_set_property, 1221s # {NULL} 1221s # }; 1221s # 1221s # static GDBusInterfaceInfo * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return org_project_signaling_iface_interface_info (); 1221s # } 1221s # 1221s # static GDBusInterfaceVTable * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1221s # } 1221s # 1221s # static GVariant * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1221s # 1221s # GVariantBuilder builder; 1221s # guint n; 1221s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1221s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1221s # goto out; 1221s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1221s # { 1221s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1221s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1221s # { 1221s # GVariant *value; 1221s # 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); 1221s # if (value != NULL) 1221s # { 1221s # g_variant_take_ref (value); 1221s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1221s # g_variant_unref (value); 1221s # } 1221s # } 1221s # } 1221s # out: 1221s # return g_variant_builder_end (&builder); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1221s # OrgProjectSignalingIface *object, 1221s # gint16 arg_arg_n) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1221s # arg_arg_n)); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1221s # if (skeleton->priv->changed_properties_idle_source != NULL) 1221s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1221s # g_main_context_unref (skeleton->priv->context); 1221s # g_mutex_clear (&skeleton->priv->lock); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1221s # #else 1221s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1221s # #endif 1221s # 1221s # g_mutex_init (&skeleton->priv->lock); 1221s # skeleton->priv->context = g_main_context_ref_thread_default (); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusInterfaceSkeletonClass *skeleton_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1221s # 1221s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1221s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1221s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1221s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1221s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1221s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_skeleton_new: 1221s # * 1221s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_skeleton_new (void) 1221s # { 1221s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1221s # } 1221s # /tmp/tmpdroyyehu/tmpz6bzmxa2.xml: 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpz6bzmxa2.xml', '--output', '-', '--body'] 1221s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1221s # Output: /* 1221s # * This file is generated by gdbus-codegen, do not modify it. 1221s # * 1221s # * The license of this code is the same as for the D-Bus interface description 1221s # * it was derived from. Note that it links to GLib, so must comply with the 1221s # * LGPL linking clauses. 1221s # */ 1221s # 1221s # #ifdef HAVE_CONFIG_H 1221s # # include "config.h" 1221s # #endif 1221s # 1221s # #include 1221s # #ifdef G_OS_UNIX 1221s # # include 1221s # #endif 1221s # 1221s # #ifdef G_ENABLE_DEBUG 1221s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1221s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1221s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1221s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1221s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1221s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1221s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1221s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1221s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1221s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1221s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1221s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1221s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1221s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1221s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1221s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1221s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1221s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1221s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1221s # #else /* !G_ENABLE_DEBUG */ 1221s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1221s # * Do not access GValues directly in your code. Instead, use the 1221s # * g_value_get_*() functions 1221s # */ 1221s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1221s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1221s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1221s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1221s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1221s # #endif /* !G_ENABLE_DEBUG */ 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusArgInfo parent_struct; 1221s # gboolean use_gvariant; 1221s # } _ExtendedGDBusArgInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusMethodInfo parent_struct; 1221s # const gchar *signal_name; 1221s # gboolean pass_fdlist; 1221s # } _ExtendedGDBusMethodInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusSignalInfo parent_struct; 1221s # const gchar *signal_name; 1221s # } _ExtendedGDBusSignalInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusPropertyInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # guint use_gvariant : 1; 1221s # guint emits_changed_signal : 1; 1221s # } _ExtendedGDBusPropertyInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusInterfaceInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # } _ExtendedGDBusInterfaceInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # const _ExtendedGDBusPropertyInfo *info; 1221s # guint prop_id; 1221s # GValue orig_value; /* the value before the change */ 1221s # } ChangedProperty; 1221s # 1221s # static void 1221s # _changed_property_free (ChangedProperty *data) 1221s # { 1221s # g_value_unset (&data->orig_value); 1221s # g_free (data); 1221s # } 1221s # 1221s # static gboolean 1221s # _g_strv_equal0 (gchar **a, gchar **b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # guint n; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # if (g_strv_length (a) != g_strv_length (b)) 1221s # goto out; 1221s # for (n = 0; a[n] != NULL; n++) 1221s # if (g_strcmp0 (a[n], b[n]) != 0) 1221s # goto out; 1221s # ret = TRUE; 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _g_variant_equal0 (GVariant *a, GVariant *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # ret = g_variant_equal (a, b); 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # G_GNUC_UNUSED static gboolean 1221s # _g_value_equal (const GValue *a, const GValue *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1221s # switch (G_VALUE_TYPE (a)) 1221s # { 1221s # case G_TYPE_BOOLEAN: 1221s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1221s # break; 1221s # case G_TYPE_UCHAR: 1221s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1221s # break; 1221s # case G_TYPE_INT: 1221s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1221s # break; 1221s # case G_TYPE_UINT: 1221s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1221s # break; 1221s # case G_TYPE_INT64: 1221s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1221s # break; 1221s # case G_TYPE_UINT64: 1221s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1221s # break; 1221s # case G_TYPE_DOUBLE: 1221s # { 1221s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1221s # gdouble da = g_value_get_double (a); 1221s # gdouble db = g_value_get_double (b); 1221s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1221s # } 1221s # break; 1221s # case G_TYPE_STRING: 1221s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1221s # break; 1221s # case G_TYPE_VARIANT: 1221s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1221s # break; 1221s # default: 1221s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1221s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1221s # else 1221s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1221s # break; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ 1221s # * Code for interface org.project.SignalingIface 1221s # * ------------------------------------------------------------------------ 1221s # */ 1221s # 1221s # /** 1221s # * SECTION:OrgProjectSignalingIface 1221s # * @title: OrgProjectSignalingIface 1221s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1221s # * 1221s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1221s # */ 1221s # 1221s # enum 1221s # { 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1221s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1221s # }; 1221s # 1221s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1221s # 1221s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SimpleSignal", 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "simple-signal" 1221s # }; 1221s # 1221s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "arg_q", 1221s # (gchar *) "q", 1221s # NULL 1221s # }, 1221s # FALSE 1221s # }; 1221s # 1221s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SingleArgSignalQ", 1221s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1221s # NULL 1221s # }, 1221s # "single-arg-signal-q" 1221s # }; 1221s # 1221s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "org.project.SignalingIface", 1221s # NULL, 1221s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "org-project-signaling-iface", 1221s # }; 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_interface_info: 1221s # * 1221s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1221s # * 1221s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1221s # */ 1221s # GDBusInterfaceInfo * 1221s # org_project_signaling_iface_interface_info (void) 1221s # { 1221s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_override_properties: 1221s # * @klass: The class structure for a #GObject derived class. 1221s # * @property_id_begin: The property id to assign to the first overridden property. 1221s # * 1221s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1221s # * The properties are overridden in the order they are defined. 1221s # * 1221s # * Returns: The last property id. 1221s # */ 1221s # guint 1221s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1221s # { 1221s # return property_id_begin - 1; 1221s # } 1221s # 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_simple_signal ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__VOID (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__UINT (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface: 1221s # * 1221s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceIface: 1221s # * @parent_iface: The parent interface. 1221s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1221s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1221s # * 1221s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1221s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1221s # 1221s # static void 1221s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # /* GObject signals for received D-Bus signals: */ 1221s # /** 1221s # * OrgProjectSignalingIface::simple-signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1221s # g_signal_new ("simple-signal", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_simple_signal, 1221s # G_TYPE_NONE, 1221s # 0); 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface::single-arg-signal-q: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_q: Argument. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1221s # g_signal_new ("single-arg-signal-q", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1221s # G_TYPE_NONE, 1221s # 1, G_TYPE_UINT); 1221s # 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_simple_signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * Emits the "SimpleSignal" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_single_arg_signal_q: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_q: Argument to pass with the signal. 1221s # * 1221s # * Emits the "SingleArgSignalQ" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_single_arg_signal_q ( 1221s # OrgProjectSignalingIface *object, 1221s # guint16 arg_arg_q) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxy: 1221s # * 1221s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxyClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceProxy. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceProxyPrivate 1221s # { 1221s # GData *qdata; 1221s # }; 1221s # 1221s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_proxy_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1221s # g_datalist_clear (&proxy->priv->qdata); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # const GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1221s # const gchar *sender_name G_GNUC_UNUSED, 1221s # const gchar *signal_name, 1221s # GVariant *parameters) 1221s # { 1221s # _ExtendedGDBusSignalInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # gsize n; 1221s # guint signal_id; 1221s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1221s # if (info == NULL) 1221s # return; 1221s # num_params = g_variant_n_children (parameters); 1221s # paramv = g_new0 (GValue, num_params + 1); 1221s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[0], proxy); 1221s # g_variant_iter_init (&iter, parameters); 1221s # n = 1; 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_signal_emitv (paramv, signal_id, 0, NULL); 1221s # for (n = 0; n < num_params + 1; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1221s # GVariant *changed_properties, 1221s # const gchar *const *invalidated_properties) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1221s # guint n; 1221s # const gchar *key; 1221s # GVariantIter *iter; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # g_variant_get (changed_properties, "a{sv}", &iter); 1221s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1221s # g_datalist_remove_data (&proxy->priv->qdata, key); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # g_variant_iter_free (iter); 1221s # for (n = 0; invalidated_properties[n] != NULL; n++) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1221s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1221s # #else 1221s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1221s # #endif 1221s # 1221s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusProxyClass *proxy_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1221s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1221s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1221s # 1221s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1221s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1221s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_sync: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_sync ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new_for_bus ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeleton: 1221s # * 1221s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeletonClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1221s # { 1221s # GValue *properties; 1221s # GList *changed_properties; 1221s # GSource *changed_properties_idle_source; 1221s # GMainContext *context; 1221s # GMutex lock; 1221s # }; 1221s # 1221s # static void 1221s # _org_project_signaling_iface_skeleton_handle_method_call ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name, 1221s # const gchar *method_name, 1221s # GVariant *parameters, 1221s # GDBusMethodInvocation *invocation, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # _ExtendedGDBusMethodInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # guint num_extra; 1221s # gsize n; 1221s # guint signal_id; 1221s # GValue return_value = G_VALUE_INIT; 1221s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1221s # g_assert (info != NULL); 1221s # num_params = g_variant_n_children (parameters); 1221s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1221s # n = 0; 1221s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[n++], skeleton); 1221s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1221s # g_value_set_object (¶mv[n++], invocation); 1221s # if (info->pass_fdlist) 1221s # { 1221s # #ifdef G_OS_UNIX 1221s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1221s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1221s # #else 1221s # g_assert_not_reached (); 1221s # #endif 1221s # } 1221s # g_variant_iter_init (&iter, parameters); 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1221s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1221s # if (!g_value_get_boolean (&return_value)) 1221s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1221s # g_value_unset (&return_value); 1221s # for (n = 0; n < num_params + num_extra; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static GVariant * 1221s # _org_project_signaling_iface_skeleton_handle_get_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # GVariant *ret; 1221s # ret = NULL; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # g_value_init (&value, pspec->value_type); 1221s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1221s # g_value_unset (&value); 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _org_project_signaling_iface_skeleton_handle_set_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GVariant *variant, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # gboolean ret; 1221s # ret = FALSE; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # if (info->use_gvariant) 1221s # g_value_set_variant (&value, variant); 1221s # else 1221s # g_dbus_gvariant_to_gvalue (variant, &value); 1221s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # g_value_unset (&value); 1221s # ret = TRUE; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1221s # { 1221s # _org_project_signaling_iface_skeleton_handle_method_call, 1221s # _org_project_signaling_iface_skeleton_handle_get_property, 1221s # _org_project_signaling_iface_skeleton_handle_set_property, 1221s # {NULL} 1221s # }; 1221s # 1221s # static GDBusInterfaceInfo * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return org_project_signaling_iface_interface_info (); 1221s # } 1221s # 1221s # static GDBusInterfaceVTable * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1221s # } 1221s # 1221s # static GVariant * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1221s # 1221s # GVariantBuilder builder; 1221s # guint n; 1221s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1221s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1221s # goto out; 1221s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1221s # { 1221s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1221s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1221s # { 1221s # GVariant *value; 1221s # 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); 1221s # if (value != NULL) 1221s # { 1221s # g_variant_take_ref (value); 1221s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1221s # g_variant_unref (value); 1221s # } 1221s # } 1221s # } 1221s # out: 1221s # return g_variant_builder_end (&builder); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1221s # OrgProjectSignalingIface *object, 1221s # guint16 arg_arg_q) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1221s # arg_arg_q)); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1221s # if (skeleton->priv->changed_properties_idle_source != NULL) 1221s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1221s # g_main_context_unref (skeleton->priv->context); 1221s # g_mutex_clear (&skeleton->priv->lock); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1221s # #else 1221s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1221s # #endif 1221s # 1221s # g_mutex_init (&skeleton->priv->lock); 1221s # skeleton->priv->context = g_main_context_ref_thread_default (); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusInterfaceSkeletonClass *skeleton_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1221s # 1221s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1221s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1221s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1221s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1221s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1221s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_skeleton_new: 1221s # * 1221s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_skeleton_new (void) 1221s # { 1221s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1221s # } 1221s # /tmp/tmpdroyyehu/tmp5bvxcpwr.xml: 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # 1221s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp5bvxcpwr.xml', '--output', '-', '--body'] 1221s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1221s # Output: /* 1221s # * This file is generated by gdbus-codegen, do not modify it. 1221s # * 1221s # * The license of this code is the same as for the D-Bus interface description 1221s # * it was derived from. Note that it links to GLib, so must comply with the 1221s # * LGPL linking clauses. 1221s # */ 1221s # 1221s # #ifdef HAVE_CONFIG_H 1221s # # include "config.h" 1221s # #endif 1221s # 1221s # #include 1221s # #ifdef G_OS_UNIX 1221s # # include 1221s # #endif 1221s # 1221s # #ifdef G_ENABLE_DEBUG 1221s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1221s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1221s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1221s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1221s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1221s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1221s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1221s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1221s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1221s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1221s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1221s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1221s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1221s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1221s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1221s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1221s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1221s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1221s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1221s # #else /* !G_ENABLE_DEBUG */ 1221s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1221s # * Do not access GValues directly in your code. Instead, use the 1221s # * g_value_get_*() functions 1221s # */ 1221s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1221s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1221s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1221s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1221s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1221s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1221s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1221s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1221s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1221s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1221s # #endif /* !G_ENABLE_DEBUG */ 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusArgInfo parent_struct; 1221s # gboolean use_gvariant; 1221s # } _ExtendedGDBusArgInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusMethodInfo parent_struct; 1221s # const gchar *signal_name; 1221s # gboolean pass_fdlist; 1221s # } _ExtendedGDBusMethodInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusSignalInfo parent_struct; 1221s # const gchar *signal_name; 1221s # } _ExtendedGDBusSignalInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusPropertyInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # guint use_gvariant : 1; 1221s # guint emits_changed_signal : 1; 1221s # } _ExtendedGDBusPropertyInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # GDBusInterfaceInfo parent_struct; 1221s # const gchar *hyphen_name; 1221s # } _ExtendedGDBusInterfaceInfo; 1221s # 1221s # typedef struct 1221s # { 1221s # const _ExtendedGDBusPropertyInfo *info; 1221s # guint prop_id; 1221s # GValue orig_value; /* the value before the change */ 1221s # } ChangedProperty; 1221s # 1221s # static void 1221s # _changed_property_free (ChangedProperty *data) 1221s # { 1221s # g_value_unset (&data->orig_value); 1221s # g_free (data); 1221s # } 1221s # 1221s # static gboolean 1221s # _g_strv_equal0 (gchar **a, gchar **b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # guint n; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # if (g_strv_length (a) != g_strv_length (b)) 1221s # goto out; 1221s # for (n = 0; a[n] != NULL; n++) 1221s # if (g_strcmp0 (a[n], b[n]) != 0) 1221s # goto out; 1221s # ret = TRUE; 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _g_variant_equal0 (GVariant *a, GVariant *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # if (a == NULL && b == NULL) 1221s # { 1221s # ret = TRUE; 1221s # goto out; 1221s # } 1221s # if (a == NULL || b == NULL) 1221s # goto out; 1221s # ret = g_variant_equal (a, b); 1221s # out: 1221s # return ret; 1221s # } 1221s # 1221s # G_GNUC_UNUSED static gboolean 1221s # _g_value_equal (const GValue *a, const GValue *b) 1221s # { 1221s # gboolean ret = FALSE; 1221s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1221s # switch (G_VALUE_TYPE (a)) 1221s # { 1221s # case G_TYPE_BOOLEAN: 1221s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1221s # break; 1221s # case G_TYPE_UCHAR: 1221s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1221s # break; 1221s # case G_TYPE_INT: 1221s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1221s # break; 1221s # case G_TYPE_UINT: 1221s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1221s # break; 1221s # case G_TYPE_INT64: 1221s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1221s # break; 1221s # case G_TYPE_UINT64: 1221s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1221s # break; 1221s # case G_TYPE_DOUBLE: 1221s # { 1221s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1221s # gdouble da = g_value_get_double (a); 1221s # gdouble db = g_value_get_double (b); 1221s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1221s # } 1221s # break; 1221s # case G_TYPE_STRING: 1221s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1221s # break; 1221s # case G_TYPE_VARIANT: 1221s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1221s # break; 1221s # default: 1221s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1221s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1221s # else 1221s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1221s # break; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ 1221s # * Code for interface org.project.SignalingIface 1221s # * ------------------------------------------------------------------------ 1221s # */ 1221s # 1221s # /** 1221s # * SECTION:OrgProjectSignalingIface 1221s # * @title: OrgProjectSignalingIface 1221s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1221s # * 1221s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1221s # */ 1221s # 1221s # enum 1221s # { 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1221s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1221s # }; 1221s # 1221s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1221s # 1221s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SimpleSignal", 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "simple-signal" 1221s # }; 1221s # 1221s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "arg_i", 1221s # (gchar *) "i", 1221s # NULL 1221s # }, 1221s # FALSE 1221s # }; 1221s # 1221s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "SingleArgSignalI", 1221s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1221s # NULL 1221s # }, 1221s # "single-arg-signal-i" 1221s # }; 1221s # 1221s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1221s # { 1221s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1221s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1221s # NULL 1221s # }; 1221s # 1221s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1221s # { 1221s # { 1221s # -1, 1221s # (gchar *) "org.project.SignalingIface", 1221s # NULL, 1221s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1221s # NULL, 1221s # NULL 1221s # }, 1221s # "org-project-signaling-iface", 1221s # }; 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_interface_info: 1221s # * 1221s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1221s # * 1221s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1221s # */ 1221s # GDBusInterfaceInfo * 1221s # org_project_signaling_iface_interface_info (void) 1221s # { 1221s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_override_properties: 1221s # * @klass: The class structure for a #GObject derived class. 1221s # * @property_id_begin: The property id to assign to the first overridden property. 1221s # * 1221s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1221s # * The properties are overridden in the order they are defined. 1221s # * 1221s # * Returns: The last property id. 1221s # */ 1221s # guint 1221s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1221s # { 1221s # return property_id_begin - 1; 1221s # } 1221s # 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_simple_signal ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__VOID (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # inline static void 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1221s # GClosure *closure, 1221s # GValue *return_value, 1221s # unsigned int n_param_values, 1221s # const GValue *param_values, 1221s # void *invocation_hint, 1221s # void *marshal_data) 1221s # { 1221s # g_cclosure_marshal_VOID__INT (closure, 1221s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1221s # } 1221s # 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface: 1221s # * 1221s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceIface: 1221s # * @parent_iface: The parent interface. 1221s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1221s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1221s # * 1221s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1221s # */ 1221s # 1221s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1221s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1221s # 1221s # static void 1221s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1221s # { 1221s # /* GObject signals for received D-Bus signals: */ 1221s # /** 1221s # * OrgProjectSignalingIface::simple-signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1221s # g_signal_new ("simple-signal", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_simple_signal, 1221s # G_TYPE_NONE, 1221s # 0); 1221s # 1221s # /** 1221s # * OrgProjectSignalingIface::single-arg-signal-i: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_i: Argument. 1221s # * 1221s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1221s # * 1221s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1221s # */ 1221s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1221s # g_signal_new ("single-arg-signal-i", 1221s # G_TYPE_FROM_INTERFACE (iface), 1221s # G_SIGNAL_RUN_LAST, 1221s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1221s # NULL, 1221s # NULL, 1221s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1221s # G_TYPE_NONE, 1221s # 1, G_TYPE_INT); 1221s # 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_simple_signal: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * 1221s # * Emits the "SimpleSignal" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_emit_single_arg_signal_i: 1221s # * @object: A #OrgProjectSignalingIface. 1221s # * @arg_arg_i: Argument to pass with the signal. 1221s # * 1221s # * Emits the "SingleArgSignalI" D-Bus signal. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_emit_single_arg_signal_i ( 1221s # OrgProjectSignalingIface *object, 1221s # gint arg_arg_i) 1221s # { 1221s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1221s # } 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxy: 1221s # * 1221s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceProxyClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceProxy. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceProxyPrivate 1221s # { 1221s # GData *qdata; 1221s # }; 1221s # 1221s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #else 1221s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1221s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1221s # 1221s # #endif 1221s # static void 1221s # org_project_signaling_iface_proxy_finalize (GObject *object) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1221s # g_datalist_clear (&proxy->priv->qdata); 1221s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1221s # guint prop_id G_GNUC_UNUSED, 1221s # const GValue *value G_GNUC_UNUSED, 1221s # GParamSpec *pspec G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1221s # const gchar *sender_name G_GNUC_UNUSED, 1221s # const gchar *signal_name, 1221s # GVariant *parameters) 1221s # { 1221s # _ExtendedGDBusSignalInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # gsize n; 1221s # guint signal_id; 1221s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1221s # if (info == NULL) 1221s # return; 1221s # num_params = g_variant_n_children (parameters); 1221s # paramv = g_new0 (GValue, num_params + 1); 1221s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[0], proxy); 1221s # g_variant_iter_init (&iter, parameters); 1221s # n = 1; 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_signal_emitv (paramv, signal_id, 0, NULL); 1221s # for (n = 0; n < num_params + 1; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1221s # GVariant *changed_properties, 1221s # const gchar *const *invalidated_properties) 1221s # { 1221s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1221s # guint n; 1221s # const gchar *key; 1221s # GVariantIter *iter; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # g_variant_get (changed_properties, "a{sv}", &iter); 1221s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1221s # g_datalist_remove_data (&proxy->priv->qdata, key); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # g_variant_iter_free (iter); 1221s # for (n = 0; invalidated_properties[n] != NULL; n++) 1221s # { 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1221s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1221s # if (info != NULL) 1221s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1221s # } 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1221s # { 1221s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1221s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1221s # #else 1221s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1221s # #endif 1221s # 1221s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1221s # { 1221s # GObjectClass *gobject_class; 1221s # GDBusProxyClass *proxy_class; 1221s # 1221s # gobject_class = G_OBJECT_CLASS (klass); 1221s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1221s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1221s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1221s # 1221s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1221s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1221s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1221s # 1221s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1221s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1221s # #endif 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_sync: 1221s # * @connection: A #GDBusConnection. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_sync ( 1221s # GDBusConnection *connection, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1221s # * @user_data: User data to pass to @callback. 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1221s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1221s # */ 1221s # void 1221s # org_project_signaling_iface_proxy_new_for_bus ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GAsyncReadyCallback callback, 1221s # gpointer user_data) 1221s # { 1221s # 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); 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1221s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1221s # GAsyncResult *res, 1221s # GError **error) 1221s # { 1221s # GObject *ret; 1221s # GObject *source_object; 1221s # source_object = g_async_result_get_source_object (res); 1221s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1221s # g_object_unref (source_object); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # /** 1221s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1221s # * @bus_type: A #GBusType. 1221s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1221s # * @name: A bus name (well-known or unique). 1221s # * @object_path: An object path. 1221s # * @cancellable: (nullable): A #GCancellable or %NULL. 1221s # * @error: Return location for error or %NULL 1221s # * 1221s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1221s # * 1221s # * The calling thread is blocked until a reply is received. 1221s # * 1221s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1221s # * 1221s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1221s # */ 1221s # OrgProjectSignalingIface * 1221s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1221s # GBusType bus_type, 1221s # GDBusProxyFlags flags, 1221s # const gchar *name, 1221s # const gchar *object_path, 1221s # GCancellable *cancellable, 1221s # GError **error) 1221s # { 1221s # GInitable *ret; 1221s # 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); 1221s # if (ret != NULL) 1221s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1221s # else 1221s # return NULL; 1221s # } 1221s # 1221s # 1221s # /* ------------------------------------------------------------------------ */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeleton: 1221s # * 1221s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1221s # */ 1221s # 1221s # /** 1221s # * OrgProjectSignalingIfaceSkeletonClass: 1221s # * @parent_class: The parent class. 1221s # * 1221s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1221s # */ 1221s # 1221s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1221s # { 1221s # GValue *properties; 1221s # GList *changed_properties; 1221s # GSource *changed_properties_idle_source; 1221s # GMainContext *context; 1221s # GMutex lock; 1221s # }; 1221s # 1221s # static void 1221s # _org_project_signaling_iface_skeleton_handle_method_call ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name, 1221s # const gchar *method_name, 1221s # GVariant *parameters, 1221s # GDBusMethodInvocation *invocation, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # _ExtendedGDBusMethodInfo *info; 1221s # GVariantIter iter; 1221s # GVariant *child; 1221s # GValue *paramv; 1221s # gsize num_params; 1221s # guint num_extra; 1221s # gsize n; 1221s # guint signal_id; 1221s # GValue return_value = G_VALUE_INIT; 1221s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1221s # g_assert (info != NULL); 1221s # num_params = g_variant_n_children (parameters); 1221s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1221s # n = 0; 1221s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_set_object (¶mv[n++], skeleton); 1221s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1221s # g_value_set_object (¶mv[n++], invocation); 1221s # if (info->pass_fdlist) 1221s # { 1221s # #ifdef G_OS_UNIX 1221s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1221s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1221s # #else 1221s # g_assert_not_reached (); 1221s # #endif 1221s # } 1221s # g_variant_iter_init (&iter, parameters); 1221s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1221s # { 1221s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1221s # if (arg_info->use_gvariant) 1221s # { 1221s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1221s # g_value_set_variant (¶mv[n], child); 1221s # n++; 1221s # } 1221s # else 1221s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1221s # g_variant_unref (child); 1221s # } 1221s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1221s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1221s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1221s # if (!g_value_get_boolean (&return_value)) 1221s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1221s # g_value_unset (&return_value); 1221s # for (n = 0; n < num_params + num_extra; n++) 1221s # g_value_unset (¶mv[n]); 1221s # g_free (paramv); 1221s # } 1221s # 1221s # static GVariant * 1221s # _org_project_signaling_iface_skeleton_handle_get_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # GVariant *ret; 1221s # ret = NULL; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # g_value_init (&value, pspec->value_type); 1221s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1221s # g_value_unset (&value); 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static gboolean 1221s # _org_project_signaling_iface_skeleton_handle_set_property ( 1221s # GDBusConnection *connection G_GNUC_UNUSED, 1221s # const gchar *sender G_GNUC_UNUSED, 1221s # const gchar *object_path G_GNUC_UNUSED, 1221s # const gchar *interface_name G_GNUC_UNUSED, 1221s # const gchar *property_name, 1221s # GVariant *variant, 1221s # GError **error, 1221s # gpointer user_data) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1221s # GValue value = G_VALUE_INIT; 1221s # GParamSpec *pspec; 1221s # _ExtendedGDBusPropertyInfo *info; 1221s # gboolean ret; 1221s # ret = FALSE; 1221s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1221s # g_assert (info != NULL); 1221s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1221s # if (pspec == NULL) 1221s # { 1221s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1221s # } 1221s # else 1221s # { 1221s # if (info->use_gvariant) 1221s # g_value_set_variant (&value, variant); 1221s # else 1221s # g_dbus_gvariant_to_gvalue (variant, &value); 1221s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1221s # g_value_unset (&value); 1221s # ret = TRUE; 1221s # } 1221s # return ret; 1221s # } 1221s # 1221s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1221s # { 1221s # _org_project_signaling_iface_skeleton_handle_method_call, 1221s # _org_project_signaling_iface_skeleton_handle_get_property, 1221s # _org_project_signaling_iface_skeleton_handle_set_property, 1221s # {NULL} 1221s # }; 1221s # 1221s # static GDBusInterfaceInfo * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return org_project_signaling_iface_interface_info (); 1221s # } 1221s # 1221s # static GDBusInterfaceVTable * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1221s # { 1221s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1221s # } 1221s # 1221s # static GVariant * 1221s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1221s # 1221s # GVariantBuilder builder; 1221s # guint n; 1221s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1221s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1221s # goto out; 1221s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1221s # { 1221s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1221s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1221s # { 1221s # GVariant *value; 1221s # 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); 1221s # if (value != NULL) 1221s # { 1221s # g_variant_take_ref (value); 1221s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1221s # g_variant_unref (value); 1221s # } 1221s # } 1221s # } 1221s # out: 1221s # return g_variant_builder_end (&builder); 1221s # } 1221s # 1221s # static void 1221s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1221s # { 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_simple_signal ( 1221s # OrgProjectSignalingIface *object) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void 1221s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1221s # OrgProjectSignalingIface *object, 1221s # gint arg_arg_i) 1221s # { 1221s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1221s # 1221s # GList *connections, *l; 1221s # GVariant *signal_variant; 1221s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1221s # 1221s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1221s # arg_arg_i)); 1221s # for (l = connections; l != NULL; l = l->next) 1221s # { 1221s # GDBusConnection *connection = l->data; 1221s # g_dbus_connection_emit_signal (connection, 1221s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1221s # signal_variant, NULL); 1221s # } 1221s # g_variant_unref (signal_variant); 1221s # g_list_free_full (connections, g_object_unref); 1221s # } 1221s # 1221s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpf2gubd0n.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpf2gubd0n.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_u", 1222s # (gchar *) "u", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalU", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-u" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__UINT (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-u: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_u: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1222s # g_signal_new ("single-arg-signal-u", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_UINT); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_u: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_u: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalU" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_u ( 1222s # OrgProjectSignalingIface *object, 1222s # guint arg_arg_u) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1222s # OrgProjectSignalingIface *object, 1222s # guint arg_arg_u) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1222s # arg_arg_u)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmp92b47p4c.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp92b47p4c.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static void 1222s # _g_dbus_codegen_marshal_VOID__INT64 ( 1222s # GClosure *closure, 1222s # GValue *return_value G_GNUC_UNUSED, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint G_GNUC_UNUSED, 1222s # void *marshal_data) 1222s # { 1222s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1222s # (void *data1, 1222s # gint64 arg_arg_x, 1222s # void *data2); 1222s # _GDbusCodegenMarshalVoid_Int64Func callback; 1222s # GCClosure *cc = (GCClosure*) closure; 1222s # void *data1, *data2; 1222s # 1222s # g_return_if_fail (n_param_values == 2); 1222s # 1222s # if (G_CCLOSURE_SWAP_DATA (closure)) 1222s # { 1222s # data1 = closure->data; 1222s # data2 = g_value_peek_pointer (param_values + 0); 1222s # } 1222s # else 1222s # { 1222s # data1 = g_value_peek_pointer (param_values + 0); 1222s # data2 = closure->data; 1222s # } 1222s # 1222s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1222s # (marshal_data ? marshal_data : cc->callback); 1222s # 1222s # callback (data1, 1222s # g_marshal_value_peek_int64 (param_values + 1), 1222s # data2); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_x", 1222s # (gchar *) "x", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalX", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-x" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-x: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_x: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1222s # g_signal_new ("single-arg-signal-x", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_INT64); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_x: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_x: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalX" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_x ( 1222s # OrgProjectSignalingIface *object, 1222s # gint64 arg_arg_x) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1222s # OrgProjectSignalingIface *object, 1222s # gint64 arg_arg_x) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1222s # arg_arg_x)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpzu4gnhfw.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpzu4gnhfw.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static void 1222s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1222s # GClosure *closure, 1222s # GValue *return_value G_GNUC_UNUSED, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint G_GNUC_UNUSED, 1222s # void *marshal_data) 1222s # { 1222s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1222s # (void *data1, 1222s # guint64 arg_arg_t, 1222s # void *data2); 1222s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1222s # GCClosure *cc = (GCClosure*) closure; 1222s # void *data1, *data2; 1222s # 1222s # g_return_if_fail (n_param_values == 2); 1222s # 1222s # if (G_CCLOSURE_SWAP_DATA (closure)) 1222s # { 1222s # data1 = closure->data; 1222s # data2 = g_value_peek_pointer (param_values + 0); 1222s # } 1222s # else 1222s # { 1222s # data1 = g_value_peek_pointer (param_values + 0); 1222s # data2 = closure->data; 1222s # } 1222s # 1222s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1222s # (marshal_data ? marshal_data : cc->callback); 1222s # 1222s # callback (data1, 1222s # g_marshal_value_peek_uint64 (param_values + 1), 1222s # data2); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_t", 1222s # (gchar *) "t", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalT", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-t" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-t: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_t: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1222s # g_signal_new ("single-arg-signal-t", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_UINT64); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_t: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_t: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalT" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_t ( 1222s # OrgProjectSignalingIface *object, 1222s # guint64 arg_arg_t) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1222s # OrgProjectSignalingIface *object, 1222s # guint64 arg_arg_t) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1222s # arg_arg_t)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpbbigt6dy.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpbbigt6dy.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_d", 1222s # (gchar *) "d", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalD", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-d" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__DOUBLE (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-d: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_d: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1222s # g_signal_new ("single-arg-signal-d", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_DOUBLE); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_d: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_d: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalD" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_d ( 1222s # OrgProjectSignalingIface *object, 1222s # gdouble arg_arg_d) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1222s # OrgProjectSignalingIface *object, 1222s # gdouble arg_arg_d) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1222s # arg_arg_d)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmp6lcchvmp.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp6lcchvmp.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_s", 1222s # (gchar *) "s", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalS", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-s" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__STRING (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-s: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_s: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1222s # g_signal_new ("single-arg-signal-s", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRING); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_s: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_s: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalS" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_s ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_s) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_s) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1222s # arg_arg_s)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmp8wxun47_.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp8wxun47_.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_o", 1222s # (gchar *) "o", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalO", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-o" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__STRING (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-o: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_o: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1222s # g_signal_new ("single-arg-signal-o", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRING); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_o: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_o: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalO" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_o ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_o) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_o) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1222s # arg_arg_o)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmp168nnpms.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmp168nnpms.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_g", 1222s # (gchar *) "g", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalG", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-g" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__STRING (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-g: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_g: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1222s # g_signal_new ("single-arg-signal-g", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRING); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_g: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_g: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalG" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_g ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_g) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_g) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1222s # arg_arg_g)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpp2jci_n9.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpp2jci_n9.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_h", 1222s # (gchar *) "h", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalH", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-h" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VARIANT (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-h: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_h: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1222s # g_signal_new ("single-arg-signal-h", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_VARIANT); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_h: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_h: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalH" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_h ( 1222s # OrgProjectSignalingIface *object, 1222s # GVariant *arg_arg_h) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1222s # OrgProjectSignalingIface *object, 1222s # GVariant *arg_arg_h) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1222s # arg_arg_h)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmph33hh3px.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmph33hh3px.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_ay", 1222s # (gchar *) "ay", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalAy", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-ay" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__STRING (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-ay: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_ay: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1222s # g_signal_new ("single-arg-signal-ay", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRING); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_ay: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalAy" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_ay) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *arg_arg_ay) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1222s # arg_arg_ay)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpmvdkgcde.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpmvdkgcde.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_as", 1222s # (gchar *) "as", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalAs", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-as" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__BOXED (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-as: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_as: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1222s # g_signal_new ("single-arg-signal-as", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRV); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_as: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_as: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalAs" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_as ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_as) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_as) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1222s # arg_arg_as)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpgycy64vy.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpgycy64vy.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_ao", 1222s # (gchar *) "ao", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalAo", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-ao" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__BOXED (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-ao: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_ao: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1222s # g_signal_new ("single-arg-signal-ao", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRV); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_ao: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalAo" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_ao) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_ao) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1222s # arg_arg_ao)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpk5uyxl1m.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpk5uyxl1m.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_aay", 1222s # (gchar *) "aay", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalAay", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-aay" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__BOXED (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-aay: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_aay: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1222s # g_signal_new ("single-arg-signal-aay", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_STRV); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_aay: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalAay" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_aay) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1222s # OrgProjectSignalingIface *object, 1222s # const gchar *const *arg_arg_aay) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1222s # arg_arg_aay)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s # /tmp/tmpdroyyehu/tmpokg7r8z9.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdroyyehu/tmpokg7r8z9.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "arg_asv", 1222s # (gchar *) "a{sv}", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SingleArgSignalAsv", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "single-arg-signal-asv" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VARIANT (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::single-arg-signal-asv: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_asv: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1222s # g_signal_new ("single-arg-signal-asv", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1222s # G_TYPE_NONE, 1222s # 1, G_TYPE_VARIANT); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_arg_asv: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1222s # OrgProjectSignalingIface *object, 1222s # GVariant *arg_arg_asv) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1222s # OrgProjectSignalingIface *object, 1222s # GVariant *arg_arg_asv) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1222s # arg_arg_asv)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1222s # tmpdir: /tmp/tmpfr6rxk9d 1222s # codegen: /usr/bin/gdbus-codegen 1222s # /tmp/tmpfr6rxk9d/tmpmhosb4aq.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfr6rxk9d/tmpmhosb4aq.xml', '--output', '-', '--body'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifdef HAVE_CONFIG_H 1222s # # include "config.h" 1222s # #endif 1222s # 1222s # #include 1222s # #ifdef G_OS_UNIX 1222s # # include 1222s # #endif 1222s # 1222s # #ifdef G_ENABLE_DEBUG 1222s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1222s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1222s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1222s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1222s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1222s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1222s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1222s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1222s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1222s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1222s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1222s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1222s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1222s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1222s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1222s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1222s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1222s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1222s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1222s # #else /* !G_ENABLE_DEBUG */ 1222s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1222s # * Do not access GValues directly in your code. Instead, use the 1222s # * g_value_get_*() functions 1222s # */ 1222s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1222s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1222s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1222s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1222s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1222s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1222s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1222s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1222s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1222s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1222s # #endif /* !G_ENABLE_DEBUG */ 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusArgInfo parent_struct; 1222s # gboolean use_gvariant; 1222s # } _ExtendedGDBusArgInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusMethodInfo parent_struct; 1222s # const gchar *signal_name; 1222s # gboolean pass_fdlist; 1222s # } _ExtendedGDBusMethodInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusSignalInfo parent_struct; 1222s # const gchar *signal_name; 1222s # } _ExtendedGDBusSignalInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusPropertyInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # guint use_gvariant : 1; 1222s # guint emits_changed_signal : 1; 1222s # } _ExtendedGDBusPropertyInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # GDBusInterfaceInfo parent_struct; 1222s # const gchar *hyphen_name; 1222s # } _ExtendedGDBusInterfaceInfo; 1222s # 1222s # typedef struct 1222s # { 1222s # const _ExtendedGDBusPropertyInfo *info; 1222s # guint prop_id; 1222s # GValue orig_value; /* the value before the change */ 1222s # } ChangedProperty; 1222s # 1222s # static void 1222s # _changed_property_free (ChangedProperty *data) 1222s # { 1222s # g_value_unset (&data->orig_value); 1222s # g_free (data); 1222s # } 1222s # 1222s # static gboolean 1222s # _g_strv_equal0 (gchar **a, gchar **b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # guint n; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # if (g_strv_length (a) != g_strv_length (b)) 1222s # goto out; 1222s # for (n = 0; a[n] != NULL; n++) 1222s # if (g_strcmp0 (a[n], b[n]) != 0) 1222s # goto out; 1222s # ret = TRUE; 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _g_variant_equal0 (GVariant *a, GVariant *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # if (a == NULL && b == NULL) 1222s # { 1222s # ret = TRUE; 1222s # goto out; 1222s # } 1222s # if (a == NULL || b == NULL) 1222s # goto out; 1222s # ret = g_variant_equal (a, b); 1222s # out: 1222s # return ret; 1222s # } 1222s # 1222s # G_GNUC_UNUSED static gboolean 1222s # _g_value_equal (const GValue *a, const GValue *b) 1222s # { 1222s # gboolean ret = FALSE; 1222s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1222s # switch (G_VALUE_TYPE (a)) 1222s # { 1222s # case G_TYPE_BOOLEAN: 1222s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1222s # break; 1222s # case G_TYPE_UCHAR: 1222s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1222s # break; 1222s # case G_TYPE_INT: 1222s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1222s # break; 1222s # case G_TYPE_UINT: 1222s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1222s # break; 1222s # case G_TYPE_INT64: 1222s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1222s # break; 1222s # case G_TYPE_UINT64: 1222s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1222s # break; 1222s # case G_TYPE_DOUBLE: 1222s # { 1222s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1222s # gdouble da = g_value_get_double (a); 1222s # gdouble db = g_value_get_double (b); 1222s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1222s # } 1222s # break; 1222s # case G_TYPE_STRING: 1222s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1222s # break; 1222s # case G_TYPE_VARIANT: 1222s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1222s # break; 1222s # default: 1222s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1222s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1222s # else 1222s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1222s # break; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static void 1222s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1222s # GClosure *closure, 1222s # GValue *return_value G_GNUC_UNUSED, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint G_GNUC_UNUSED, 1222s # void *marshal_data) 1222s # { 1222s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1222s # (void *data1, 1222s # gboolean arg_an_b, 1222s # guchar arg_an_y, 1222s # gint16 arg_an_n, 1222s # guint16 arg_an_q, 1222s # gint arg_an_i, 1222s # guint arg_an_u, 1222s # gint64 arg_an_x, 1222s # guint64 arg_an_t, 1222s # gdouble arg_an_d, 1222s # const gchar *arg_an_s, 1222s # const gchar *arg_an_o, 1222s # const gchar *arg_an_g, 1222s # GVariant *arg_an_h, 1222s # const gchar *arg_an_ay, 1222s # const gchar *const *arg_an_as, 1222s # const gchar *const *arg_an_ao, 1222s # const gchar *const *arg_an_aay, 1222s # GVariant *arg_an_asv, 1222s # void *data2); 1222s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1222s # GCClosure *cc = (GCClosure*) closure; 1222s # void *data1, *data2; 1222s # 1222s # g_return_if_fail (n_param_values == 19); 1222s # 1222s # if (G_CCLOSURE_SWAP_DATA (closure)) 1222s # { 1222s # data1 = closure->data; 1222s # data2 = g_value_peek_pointer (param_values + 0); 1222s # } 1222s # else 1222s # { 1222s # data1 = g_value_peek_pointer (param_values + 0); 1222s # data2 = closure->data; 1222s # } 1222s # 1222s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1222s # (marshal_data ? marshal_data : cc->callback); 1222s # 1222s # callback (data1, 1222s # g_marshal_value_peek_boolean (param_values + 1), 1222s # g_marshal_value_peek_uchar (param_values + 2), 1222s # g_marshal_value_peek_int (param_values + 3), 1222s # g_marshal_value_peek_uint (param_values + 4), 1222s # g_marshal_value_peek_int (param_values + 5), 1222s # g_marshal_value_peek_uint (param_values + 6), 1222s # g_marshal_value_peek_int64 (param_values + 7), 1222s # g_marshal_value_peek_uint64 (param_values + 8), 1222s # g_marshal_value_peek_double (param_values + 9), 1222s # g_marshal_value_peek_string (param_values + 10), 1222s # g_marshal_value_peek_string (param_values + 11), 1222s # g_marshal_value_peek_string (param_values + 12), 1222s # g_marshal_value_peek_variant (param_values + 13), 1222s # g_marshal_value_peek_string (param_values + 14), 1222s # g_marshal_value_peek_boxed (param_values + 15), 1222s # g_marshal_value_peek_boxed (param_values + 16), 1222s # g_marshal_value_peek_boxed (param_values + 17), 1222s # g_marshal_value_peek_variant (param_values + 18), 1222s # data2); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ 1222s # * Code for interface org.project.SignalingIface 1222s # * ------------------------------------------------------------------------ 1222s # */ 1222s # 1222s # /** 1222s # * SECTION:OrgProjectSignalingIface 1222s # * @title: OrgProjectSignalingIface 1222s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1222s # * 1222s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1222s # */ 1222s # 1222s # enum 1222s # { 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1222s # }; 1222s # 1222s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1222s # 1222s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SimpleSignal", 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "simple-signal" 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_b", 1222s # (gchar *) "b", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_y", 1222s # (gchar *) "y", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_n", 1222s # (gchar *) "n", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_q", 1222s # (gchar *) "q", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_i", 1222s # (gchar *) "i", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_u", 1222s # (gchar *) "u", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_x", 1222s # (gchar *) "x", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_t", 1222s # (gchar *) "t", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_d", 1222s # (gchar *) "d", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_s", 1222s # (gchar *) "s", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_o", 1222s # (gchar *) "o", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_g", 1222s # (gchar *) "g", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_h", 1222s # (gchar *) "h", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_ay", 1222s # (gchar *) "ay", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_as", 1222s # (gchar *) "as", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_ao", 1222s # (gchar *) "ao", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_aay", 1222s # (gchar *) "aay", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "an_asv", 1222s # (gchar *) "a{sv}", 1222s # NULL 1222s # }, 1222s # FALSE 1222s # }; 1222s # 1222s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "SignalWithManyArgs", 1222s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1222s # NULL 1222s # }, 1222s # "signal-with-many-args" 1222s # }; 1222s # 1222s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1222s # { 1222s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1222s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1222s # NULL 1222s # }; 1222s # 1222s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1222s # { 1222s # { 1222s # -1, 1222s # (gchar *) "org.project.SignalingIface", 1222s # NULL, 1222s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1222s # NULL, 1222s # NULL 1222s # }, 1222s # "org-project-signaling-iface", 1222s # }; 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_interface_info: 1222s # * 1222s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1222s # * 1222s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1222s # */ 1222s # GDBusInterfaceInfo * 1222s # org_project_signaling_iface_interface_info (void) 1222s # { 1222s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_override_properties: 1222s # * @klass: The class structure for a #GObject derived class. 1222s # * @property_id_begin: The property id to assign to the first overridden property. 1222s # * 1222s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1222s # * The properties are overridden in the order they are defined. 1222s # * 1222s # * Returns: The last property id. 1222s # */ 1222s # guint 1222s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1222s # { 1222s # return property_id_begin - 1; 1222s # } 1222s # 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_simple_signal ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # g_cclosure_marshal_VOID__VOID (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # inline static void 1222s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1222s # GClosure *closure, 1222s # GValue *return_value, 1222s # unsigned int n_param_values, 1222s # const GValue *param_values, 1222s # void *invocation_hint, 1222s # void *marshal_data) 1222s # { 1222s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1222s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1222s # } 1222s # 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface: 1222s # * 1222s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceIface: 1222s # * @parent_iface: The parent interface. 1222s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1222s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1222s # * 1222s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1222s # */ 1222s # 1222s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1222s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1222s # 1222s # static void 1222s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # /* GObject signals for received D-Bus signals: */ 1222s # /** 1222s # * OrgProjectSignalingIface::simple-signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1222s # g_signal_new ("simple-signal", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_simple_signal, 1222s # G_TYPE_NONE, 1222s # 0); 1222s # 1222s # /** 1222s # * OrgProjectSignalingIface::signal-with-many-args: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_an_b: Argument. 1222s # * @arg_an_y: Argument. 1222s # * @arg_an_n: Argument. 1222s # * @arg_an_q: Argument. 1222s # * @arg_an_i: Argument. 1222s # * @arg_an_u: Argument. 1222s # * @arg_an_x: Argument. 1222s # * @arg_an_t: Argument. 1222s # * @arg_an_d: Argument. 1222s # * @arg_an_s: Argument. 1222s # * @arg_an_o: Argument. 1222s # * @arg_an_g: Argument. 1222s # * @arg_an_h: Argument. 1222s # * @arg_an_ay: Argument. 1222s # * @arg_an_as: Argument. 1222s # * @arg_an_ao: Argument. 1222s # * @arg_an_aay: Argument. 1222s # * @arg_an_asv: Argument. 1222s # * 1222s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1222s # * 1222s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1222s # */ 1222s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1222s # g_signal_new ("signal-with-many-args", 1222s # G_TYPE_FROM_INTERFACE (iface), 1222s # G_SIGNAL_RUN_LAST, 1222s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1222s # NULL, 1222s # NULL, 1222s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1222s # G_TYPE_NONE, 1222s # 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); 1222s # 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_simple_signal: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * 1222s # * Emits the "SimpleSignal" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_emit_signal_with_many_args: 1222s # * @object: A #OrgProjectSignalingIface. 1222s # * @arg_an_b: Argument to pass with the signal. 1222s # * @arg_an_y: Argument to pass with the signal. 1222s # * @arg_an_n: Argument to pass with the signal. 1222s # * @arg_an_q: Argument to pass with the signal. 1222s # * @arg_an_i: Argument to pass with the signal. 1222s # * @arg_an_u: Argument to pass with the signal. 1222s # * @arg_an_x: Argument to pass with the signal. 1222s # * @arg_an_t: Argument to pass with the signal. 1222s # * @arg_an_d: Argument to pass with the signal. 1222s # * @arg_an_s: Argument to pass with the signal. 1222s # * @arg_an_o: Argument to pass with the signal. 1222s # * @arg_an_g: Argument to pass with the signal. 1222s # * @arg_an_h: Argument to pass with the signal. 1222s # * @arg_an_ay: Argument to pass with the signal. 1222s # * @arg_an_as: Argument to pass with the signal. 1222s # * @arg_an_ao: Argument to pass with the signal. 1222s # * @arg_an_aay: Argument to pass with the signal. 1222s # * @arg_an_asv: Argument to pass with the signal. 1222s # * 1222s # * Emits the "SignalWithManyArgs" D-Bus signal. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_emit_signal_with_many_args ( 1222s # OrgProjectSignalingIface *object, 1222s # gboolean arg_an_b, 1222s # guchar arg_an_y, 1222s # gint16 arg_an_n, 1222s # guint16 arg_an_q, 1222s # gint arg_an_i, 1222s # guint arg_an_u, 1222s # gint64 arg_an_x, 1222s # guint64 arg_an_t, 1222s # gdouble arg_an_d, 1222s # const gchar *arg_an_s, 1222s # const gchar *arg_an_o, 1222s # const gchar *arg_an_g, 1222s # GVariant *arg_an_h, 1222s # const gchar *arg_an_ay, 1222s # const gchar *const *arg_an_as, 1222s # const gchar *const *arg_an_ao, 1222s # const gchar *const *arg_an_aay, 1222s # GVariant *arg_an_asv) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxy: 1222s # * 1222s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceProxyClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceProxy. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceProxyPrivate 1222s # { 1222s # GData *qdata; 1222s # }; 1222s # 1222s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_proxy_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1222s # g_datalist_clear (&proxy->priv->qdata); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1222s # guint prop_id G_GNUC_UNUSED, 1222s # const GValue *value G_GNUC_UNUSED, 1222s # GParamSpec *pspec G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1222s # const gchar *sender_name G_GNUC_UNUSED, 1222s # const gchar *signal_name, 1222s # GVariant *parameters) 1222s # { 1222s # _ExtendedGDBusSignalInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # gsize n; 1222s # guint signal_id; 1222s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1222s # if (info == NULL) 1222s # return; 1222s # num_params = g_variant_n_children (parameters); 1222s # paramv = g_new0 (GValue, num_params + 1); 1222s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[0], proxy); 1222s # g_variant_iter_init (&iter, parameters); 1222s # n = 1; 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_signal_emitv (paramv, signal_id, 0, NULL); 1222s # for (n = 0; n < num_params + 1; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1222s # GVariant *changed_properties, 1222s # const gchar *const *invalidated_properties) 1222s # { 1222s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1222s # guint n; 1222s # const gchar *key; 1222s # GVariantIter *iter; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # g_variant_get (changed_properties, "a{sv}", &iter); 1222s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1222s # g_datalist_remove_data (&proxy->priv->qdata, key); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # g_variant_iter_free (iter); 1222s # for (n = 0; invalidated_properties[n] != NULL; n++) 1222s # { 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1222s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1222s # if (info != NULL) 1222s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1222s # } 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1222s # #else 1222s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1222s # #endif 1222s # 1222s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusProxyClass *proxy_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1222s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1222s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1222s # 1222s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1222s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1222s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_sync: 1222s # * @connection: A #GDBusConnection. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_sync ( 1222s # GDBusConnection *connection, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1222s # * @user_data: User data to pass to @callback. 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1222s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1222s # */ 1222s # void 1222s # org_project_signaling_iface_proxy_new_for_bus ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GAsyncReadyCallback callback, 1222s # gpointer user_data) 1222s # { 1222s # 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); 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1222s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1222s # GAsyncResult *res, 1222s # GError **error) 1222s # { 1222s # GObject *ret; 1222s # GObject *source_object; 1222s # source_object = g_async_result_get_source_object (res); 1222s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1222s # g_object_unref (source_object); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1222s # * @bus_type: A #GBusType. 1222s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1222s # * @name: A bus name (well-known or unique). 1222s # * @object_path: An object path. 1222s # * @cancellable: (nullable): A #GCancellable or %NULL. 1222s # * @error: Return location for error or %NULL 1222s # * 1222s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1222s # * 1222s # * The calling thread is blocked until a reply is received. 1222s # * 1222s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1222s # GBusType bus_type, 1222s # GDBusProxyFlags flags, 1222s # const gchar *name, 1222s # const gchar *object_path, 1222s # GCancellable *cancellable, 1222s # GError **error) 1222s # { 1222s # GInitable *ret; 1222s # 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); 1222s # if (ret != NULL) 1222s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1222s # else 1222s # return NULL; 1222s # } 1222s # 1222s # 1222s # /* ------------------------------------------------------------------------ */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeleton: 1222s # * 1222s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1222s # */ 1222s # 1222s # /** 1222s # * OrgProjectSignalingIfaceSkeletonClass: 1222s # * @parent_class: The parent class. 1222s # * 1222s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1222s # */ 1222s # 1222s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1222s # { 1222s # GValue *properties; 1222s # GList *changed_properties; 1222s # GSource *changed_properties_idle_source; 1222s # GMainContext *context; 1222s # GMutex lock; 1222s # }; 1222s # 1222s # static void 1222s # _org_project_signaling_iface_skeleton_handle_method_call ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name, 1222s # const gchar *method_name, 1222s # GVariant *parameters, 1222s # GDBusMethodInvocation *invocation, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # _ExtendedGDBusMethodInfo *info; 1222s # GVariantIter iter; 1222s # GVariant *child; 1222s # GValue *paramv; 1222s # gsize num_params; 1222s # guint num_extra; 1222s # gsize n; 1222s # guint signal_id; 1222s # GValue return_value = G_VALUE_INIT; 1222s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1222s # g_assert (info != NULL); 1222s # num_params = g_variant_n_children (parameters); 1222s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1222s # n = 0; 1222s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_set_object (¶mv[n++], skeleton); 1222s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1222s # g_value_set_object (¶mv[n++], invocation); 1222s # if (info->pass_fdlist) 1222s # { 1222s # #ifdef G_OS_UNIX 1222s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1222s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1222s # #else 1222s # g_assert_not_reached (); 1222s # #endif 1222s # } 1222s # g_variant_iter_init (&iter, parameters); 1222s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1222s # { 1222s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1222s # if (arg_info->use_gvariant) 1222s # { 1222s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1222s # g_value_set_variant (¶mv[n], child); 1222s # n++; 1222s # } 1222s # else 1222s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1222s # g_variant_unref (child); 1222s # } 1222s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1222s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1222s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1222s # if (!g_value_get_boolean (&return_value)) 1222s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1222s # g_value_unset (&return_value); 1222s # for (n = 0; n < num_params + num_extra; n++) 1222s # g_value_unset (¶mv[n]); 1222s # g_free (paramv); 1222s # } 1222s # 1222s # static GVariant * 1222s # _org_project_signaling_iface_skeleton_handle_get_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # GVariant *ret; 1222s # ret = NULL; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # g_value_init (&value, pspec->value_type); 1222s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1222s # g_value_unset (&value); 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static gboolean 1222s # _org_project_signaling_iface_skeleton_handle_set_property ( 1222s # GDBusConnection *connection G_GNUC_UNUSED, 1222s # const gchar *sender G_GNUC_UNUSED, 1222s # const gchar *object_path G_GNUC_UNUSED, 1222s # const gchar *interface_name G_GNUC_UNUSED, 1222s # const gchar *property_name, 1222s # GVariant *variant, 1222s # GError **error, 1222s # gpointer user_data) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1222s # GValue value = G_VALUE_INIT; 1222s # GParamSpec *pspec; 1222s # _ExtendedGDBusPropertyInfo *info; 1222s # gboolean ret; 1222s # ret = FALSE; 1222s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1222s # g_assert (info != NULL); 1222s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1222s # if (pspec == NULL) 1222s # { 1222s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1222s # } 1222s # else 1222s # { 1222s # if (info->use_gvariant) 1222s # g_value_set_variant (&value, variant); 1222s # else 1222s # g_dbus_gvariant_to_gvalue (variant, &value); 1222s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1222s # g_value_unset (&value); 1222s # ret = TRUE; 1222s # } 1222s # return ret; 1222s # } 1222s # 1222s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1222s # { 1222s # _org_project_signaling_iface_skeleton_handle_method_call, 1222s # _org_project_signaling_iface_skeleton_handle_get_property, 1222s # _org_project_signaling_iface_skeleton_handle_set_property, 1222s # {NULL} 1222s # }; 1222s # 1222s # static GDBusInterfaceInfo * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return org_project_signaling_iface_interface_info (); 1222s # } 1222s # 1222s # static GDBusInterfaceVTable * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1222s # { 1222s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1222s # } 1222s # 1222s # static GVariant * 1222s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1222s # 1222s # GVariantBuilder builder; 1222s # guint n; 1222s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1222s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1222s # goto out; 1222s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1222s # { 1222s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1222s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1222s # { 1222s # GVariant *value; 1222s # 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); 1222s # if (value != NULL) 1222s # { 1222s # g_variant_take_ref (value); 1222s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1222s # g_variant_unref (value); 1222s # } 1222s # } 1222s # } 1222s # out: 1222s # return g_variant_builder_end (&builder); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1222s # { 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_simple_signal ( 1222s # OrgProjectSignalingIface *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void 1222s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1222s # OrgProjectSignalingIface *object, 1222s # gboolean arg_an_b, 1222s # guchar arg_an_y, 1222s # gint16 arg_an_n, 1222s # guint16 arg_an_q, 1222s # gint arg_an_i, 1222s # guint arg_an_u, 1222s # gint64 arg_an_x, 1222s # guint64 arg_an_t, 1222s # gdouble arg_an_d, 1222s # const gchar *arg_an_s, 1222s # const gchar *arg_an_o, 1222s # const gchar *arg_an_g, 1222s # GVariant *arg_an_h, 1222s # const gchar *arg_an_ay, 1222s # const gchar *const *arg_an_as, 1222s # const gchar *const *arg_an_ao, 1222s # const gchar *const *arg_an_aay, 1222s # GVariant *arg_an_asv) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # 1222s # GList *connections, *l; 1222s # GVariant *signal_variant; 1222s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1222s # 1222s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1222s # arg_an_b, 1222s # arg_an_y, 1222s # arg_an_n, 1222s # arg_an_q, 1222s # arg_an_i, 1222s # arg_an_u, 1222s # arg_an_x, 1222s # arg_an_t, 1222s # arg_an_d, 1222s # arg_an_s, 1222s # arg_an_o, 1222s # arg_an_g, 1222s # arg_an_h, 1222s # arg_an_ay, 1222s # arg_an_as, 1222s # arg_an_ao, 1222s # arg_an_aay, 1222s # arg_an_asv)); 1222s # for (l = connections; l != NULL; l = l->next) 1222s # { 1222s # GDBusConnection *connection = l->data; 1222s # g_dbus_connection_emit_signal (connection, 1222s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1222s # signal_variant, NULL); 1222s # } 1222s # g_variant_unref (signal_variant); 1222s # g_list_free_full (connections, g_object_unref); 1222s # } 1222s # 1222s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #else 1222s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1222s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1222s # 1222s # #endif 1222s # static void 1222s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1222s # { 1222s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1222s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1222s # if (skeleton->priv->changed_properties_idle_source != NULL) 1222s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1222s # g_main_context_unref (skeleton->priv->context); 1222s # g_mutex_clear (&skeleton->priv->lock); 1222s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1222s # { 1222s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1222s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1222s # #else 1222s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1222s # #endif 1222s # 1222s # g_mutex_init (&skeleton->priv->lock); 1222s # skeleton->priv->context = g_main_context_ref_thread_default (); 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1222s # { 1222s # GObjectClass *gobject_class; 1222s # GDBusInterfaceSkeletonClass *skeleton_class; 1222s # 1222s # gobject_class = G_OBJECT_CLASS (klass); 1222s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1222s # 1222s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1222s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1222s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1222s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1222s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1222s # 1222s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1222s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1222s # #endif 1222s # } 1222s # 1222s # static void 1222s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1222s # { 1222s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1222s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1222s # } 1222s # 1222s # /** 1222s # * org_project_signaling_iface_skeleton_new: 1222s # * 1222s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1222s # * 1222s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1222s # */ 1222s # OrgProjectSignalingIface * 1222s # org_project_signaling_iface_skeleton_new (void) 1222s # { 1222s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1222s # } 1222s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1222s # tmpdir: /tmp/tmp625b7g93 1222s # codegen: /usr/bin/gdbus-codegen 1222s # /tmp/tmp625b7g93/tmpdmw5oj3r.xml: 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp625b7g93/tmpdmw5oj3r.xml', '--generate-docbook', 'test'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: 1222s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1222s # tmpdir: /tmp/tmp4zfj5pf1 1222s # codegen: /usr/bin/gdbus-codegen 1222s # /tmp/tmp4zfj5pf1/tmpx4xhxwo9.xml: 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4zfj5pf1/tmpx4xhxwo9.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1222s # tmpdir: /tmp/tmph44t4jaz 1222s # codegen: /usr/bin/gdbus-codegen 1222s # /tmp/tmph44t4jaz/tmp_pjprf8h.xml: 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph44t4jaz/tmp_pjprf8h.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1222s # Output: /* 1222s # * This file is generated by gdbus-codegen, do not modify it. 1222s # * 1222s # * The license of this code is the same as for the D-Bus interface description 1222s # * it was derived from. Note that it links to GLib, so must comply with the 1222s # * LGPL linking clauses. 1222s # */ 1222s # 1222s # #ifndef __STDOUT__ 1222s # #define __STDOUT__ 1222s # 1222s # #include 1222s # 1222s # G_BEGIN_DECLS 1222s # 1222s # 1222s # G_END_DECLS 1222s # 1222s # #endif /* __STDOUT__ */ 1222s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1222s # tmpdir: /tmp/tmpahkaems0 1222s # codegen: /usr/bin/gdbus-codegen 1222s # /tmp/tmpahkaems0/tmphf7acvey.xml: 1222s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpahkaems0/tmphf7acvey.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1222s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1223s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1223s # tmpdir: /tmp/tmpsf6gslyg 1223s # codegen: /usr/bin/gdbus-codegen 1223s # /tmp/tmpsf6gslyg/tmp5ww9dssc.xml: 1223s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsf6gslyg/tmp5ww9dssc.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1223s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1223s # Output: /* 1223s # * This file is generated by gdbus-codegen, do not modify it. 1223s # * 1223s # * The license of this code is the same as for the D-Bus interface description 1223s # * it was derived from. Note that it links to GLib, so must comply with the 1223s # * LGPL linking clauses. 1223s # */ 1223s # 1223s # #ifndef __STDOUT__ 1223s # #define __STDOUT__ 1223s # 1223s # #include 1223s # 1223s # G_BEGIN_DECLS 1223s # 1223s # 1223s # G_END_DECLS 1223s # 1223s # #endif /* __STDOUT__ */ 1223s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1223s # tmpdir: /tmp/tmpue8v8fmi 1223s # codegen: /usr/bin/gdbus-codegen 1223s # /tmp/tmpue8v8fmi/tmpi13q9ysi.xml: 1223s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpue8v8fmi/tmpi13q9ysi.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1223s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1223s # Output: /* 1223s # * This file is generated by gdbus-codegen, do not modify it. 1223s # * 1223s # * The license of this code is the same as for the D-Bus interface description 1223s # * it was derived from. Note that it links to GLib, so must comply with the 1223s # * LGPL linking clauses. 1223s # */ 1223s # 1223s # #ifndef __STDOUT__ 1223s # #define __STDOUT__ 1223s # 1223s # #include 1223s # 1223s # G_BEGIN_DECLS 1223s # 1223s # 1223s # G_END_DECLS 1223s # 1223s # #endif /* __STDOUT__ */ 1223s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1223s # tmpdir: /tmp/tmpkk4g_nl7 1223s # codegen: /usr/bin/gdbus-codegen 1223s # /tmp/tmpkk4g_nl7/tmpr0pwswt9.xml: 1223s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkk4g_nl7/tmpr0pwswt9.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1223s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1223s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1223s # tmpdir: /tmp/tmpr9zj2alg 1223s # codegen: /usr/bin/gdbus-codegen 1223s # /tmp/tmpr9zj2alg/tmpz6nmrqph.xml: 1223s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr9zj2alg/tmpz6nmrqph.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1223s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1223s # Output: /* 1223s # * This file is generated by gdbus-codegen, do not modify it. 1223s # * 1223s # * The license of this code is the same as for the D-Bus interface description 1223s # * it was derived from. Note that it links to GLib, so must comply with the 1223s # * LGPL linking clauses. 1223s # */ 1223s # 1223s # #ifndef __STDOUT__ 1223s # #define __STDOUT__ 1223s # 1223s # #include 1223s # 1223s # G_BEGIN_DECLS 1223s # 1223s # 1223s # G_END_DECLS 1223s # 1223s # #endif /* __STDOUT__ */ 1224s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1224s # tmpdir: /tmp/tmpb8nd2wuu 1224s # codegen: /usr/bin/gdbus-codegen 1224s # /tmp/tmpb8nd2wuu/tmpl5oya0iw.xml: 1224s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8nd2wuu/tmpl5oya0iw.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1224s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1224s # tmpdir: /tmp/tmp0lk59eo0 1224s # codegen: /usr/bin/gdbus-codegen 1224s # /tmp/tmp0lk59eo0/tmph6tabyzp.xml: 1224s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0lk59eo0/tmph6tabyzp.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1224s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: /* 1224s # * This file is generated by gdbus-codegen, do not modify it. 1224s # * 1224s # * The license of this code is the same as for the D-Bus interface description 1224s # * it was derived from. Note that it links to GLib, so must comply with the 1224s # * LGPL linking clauses. 1224s # */ 1224s # 1224s # #ifndef __STDOUT__ 1224s # #define __STDOUT__ 1224s # 1224s # #include 1224s # 1224s # G_BEGIN_DECLS 1224s # 1224s # 1224s # G_END_DECLS 1224s # 1224s # #endif /* __STDOUT__ */ 1224s # Executing: glib/codegen.py.test 1224s ok 35 __main__.TestCodegen.test_help 1224s # tmpdir: /tmp/tmpi4uu_y6y 1224s # codegen: /usr/bin/gdbus-codegen 1224s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1224s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1224s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1224s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1224s # [--c-generate-autocleanup {none,objects,all}] 1224s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1224s # [--generate-rst OUTFILES] [--pragma-once] 1224s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1224s # [--glib-min-required VERSION] 1224s # [--glib-max-allowed VERSION] 1224s # [--symbol-decorator SYMBOL_DECORATOR] 1224s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1224s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1224s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1224s # [--output FILE | --output-directory OUTDIR] 1224s # FILE [FILE ...] 1224s # 1224s # D-Bus code and documentation generator 1224s # 1224s # positional arguments: 1224s # FILE D-Bus introspection XML file 1224s # 1224s # options: 1224s # -h, --help show this help message and exit 1224s # --interface-prefix PREFIX 1224s # String to strip from D-Bus interface names for code 1224s # and docs 1224s # --c-namespace NAMESPACE 1224s # The namespace to use for generated C code 1224s # --c-generate-object-manager 1224s # Generate a GDBusObjectManagerClient subclass when 1224s # generating C code 1224s # --c-generate-autocleanup {none,objects,all} 1224s # Generate autocleanup support 1224s # --generate-docbook OUTFILES 1224s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1224s # --generate-md OUTFILES 1224s # Generate Markdown in OUTFILES-org.Project.IFace.md 1224s # --generate-rst OUTFILES 1224s # Generate reStructuredText in OUTFILES- 1224s # org.Project.IFace.rst 1224s # --pragma-once Use "pragma once" as the inclusion guard 1224s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1224s # Add annotation (may be used several times) 1224s # --glib-min-required VERSION 1224s # Minimum version of GLib to be supported by the 1224s # outputted code (default: 2.30) 1224s # --glib-max-allowed VERSION 1224s # Maximum version of GLib to be used by the outputted 1224s # code (default: current GLib version) 1224s # --symbol-decorator SYMBOL_DECORATOR 1224s # Macro used to decorate a symbol in the outputted 1224s # header, possibly to export symbols 1224s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1224s # Additional header required for decorator specified by 1224s # --symbol-decorator 1224s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1224s # Additional define required for decorator specified by 1224s # --symbol-decorator 1224s # --generate-c-code OUTFILES 1224s # Generate C code in OUTFILES.[ch] 1224s # --header Generate C headers 1224s # --body Generate C code 1224s # --interface-info-header 1224s # Generate GDBusInterfaceInfo C header 1224s # --interface-info-body 1224s # Generate GDBusInterfaceInfo C code 1224s # --output FILE Write output into the specified file 1224s # --output-directory OUTDIR 1224s # Location to output generated files 1225s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1225s # tmpdir: /tmp/tmpxbv_uq2e 1225s # codegen: /usr/bin/gdbus-codegen 1225s # /tmp/tmpxbv_uq2e/tmpbv4rx43p.xml: 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxbv_uq2e/tmpbv4rx43p.xml', '--generate-rst', 'test'] 1225s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1225s # Output: 1225s # /tmp/tmpxbv_uq2e/tmpcpl636l_.xml: 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxbv_uq2e/tmpcpl636l_.xml', '--generate-md', 'test'] 1225s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1225s # Output: 1225s # /tmp/tmpxbv_uq2e/tmp0mvrvx_z.xml: 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # 1225s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxbv_uq2e/tmp0mvrvx_z.xml', '--generate-docbook', 'test'] 1225s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1225s # Output: 1225s ok 37 __main__.TestCodegen.test_no_args 1225s # tmpdir: /tmp/tmphi46wj0g 1225s # codegen: /usr/bin/gdbus-codegen 1225s # Running: ['/usr/bin/gdbus-codegen'] 1225s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s ok 38 __main__.TestCodegen.test_reproducible 1226s # tmpdir: /tmp/tmp1yhch9oi 1226s # codegen: /usr/bin/gdbus-codegen 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1yhch9oi/tmpkoe6pjtj1.xml', '/tmp/tmp1yhch9oi/tmp1atfd7402.xml', '--output', '-', '--header'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifndef __STDOUT__ 1226s # #define __STDOUT__ 1226s # 1226s # #include 1226s # 1226s # G_BEGIN_DECLS 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for org.project.Bar.Frobnicator */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1226s # 1226s # struct _OrgProjectBarFrobnicator; 1226s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1226s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1226s # 1226s # struct _OrgProjectBarFrobnicatorIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # gboolean (*handle_random_method) ( 1226s # OrgProjectBarFrobnicator *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1226s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void org_project_bar_frobnicator_complete_random_method ( 1226s # OrgProjectBarFrobnicator *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void org_project_bar_frobnicator_call_random_method ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1226s # 1226s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1226s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1226s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void org_project_bar_frobnicator_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1226s # 1226s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1226s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1226s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for com.acme.Coyote */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1226s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1226s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1226s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1226s # 1226s # struct _ComAcmeCoyote; 1226s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1226s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1226s # 1226s # struct _ComAcmeCoyoteIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # 1226s # 1226s # gboolean (*handle_attack) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # gboolean (*handle_run) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # gboolean (*handle_sleep) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1226s # 1226s # void (*surprised) ( 1226s # ComAcmeCoyote *object); 1226s # 1226s # }; 1226s # 1226s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1226s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void com_acme_coyote_complete_run ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # void com_acme_coyote_complete_sleep ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # void com_acme_coyote_complete_attack ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus signal emissions functions: */ 1226s # void com_acme_coyote_emit_surprised ( 1226s # ComAcmeCoyote *object); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void com_acme_coyote_call_run ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_run_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_run_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_call_sleep ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_sleep_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_sleep_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_call_attack ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_attack_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_attack_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* D-Bus property accessors: */ 1226s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1226s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1226s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1226s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1226s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1226s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1226s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1226s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1226s # 1226s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1226s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1226s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1226s # 1226s # struct _ComAcmeCoyoteProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # ComAcmeCoyoteProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _ComAcmeCoyoteProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void com_acme_coyote_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1226s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1226s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1226s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1226s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1226s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1226s # 1226s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1226s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1226s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1226s # 1226s # struct _ComAcmeCoyoteSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # ComAcmeCoyoteSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _ComAcmeCoyoteSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1226s # 1226s # 1226s # G_END_DECLS 1226s # 1226s # #endif /* __STDOUT__ */ 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1yhch9oi/tmp1atfd7402.xml', '/tmp/tmp1yhch9oi/tmpkoe6pjtj1.xml', '--output', '-', '--header'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifndef __STDOUT__ 1226s # #define __STDOUT__ 1226s # 1226s # #include 1226s # 1226s # G_BEGIN_DECLS 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for org.project.Bar.Frobnicator */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1226s # 1226s # struct _OrgProjectBarFrobnicator; 1226s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1226s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1226s # 1226s # struct _OrgProjectBarFrobnicatorIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # gboolean (*handle_random_method) ( 1226s # OrgProjectBarFrobnicator *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1226s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void org_project_bar_frobnicator_complete_random_method ( 1226s # OrgProjectBarFrobnicator *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void org_project_bar_frobnicator_call_random_method ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1226s # 1226s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1226s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1226s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void org_project_bar_frobnicator_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1226s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1226s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1226s # 1226s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1226s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1226s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for com.acme.Coyote */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1226s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1226s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1226s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1226s # 1226s # struct _ComAcmeCoyote; 1226s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1226s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1226s # 1226s # struct _ComAcmeCoyoteIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # 1226s # 1226s # gboolean (*handle_attack) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # gboolean (*handle_run) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # gboolean (*handle_sleep) ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1226s # 1226s # void (*surprised) ( 1226s # ComAcmeCoyote *object); 1226s # 1226s # }; 1226s # 1226s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1226s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void com_acme_coyote_complete_run ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # void com_acme_coyote_complete_sleep ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # void com_acme_coyote_complete_attack ( 1226s # ComAcmeCoyote *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus signal emissions functions: */ 1226s # void com_acme_coyote_emit_surprised ( 1226s # ComAcmeCoyote *object); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void com_acme_coyote_call_run ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_run_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_run_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_call_sleep ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_sleep_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_sleep_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_call_attack ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean com_acme_coyote_call_attack_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean com_acme_coyote_call_attack_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* D-Bus property accessors: */ 1226s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1226s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1226s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1226s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1226s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1226s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1226s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1226s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1226s # 1226s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1226s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1226s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1226s # 1226s # struct _ComAcmeCoyoteProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # ComAcmeCoyoteProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _ComAcmeCoyoteProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void com_acme_coyote_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void com_acme_coyote_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1226s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1226s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1226s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1226s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1226s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1226s # 1226s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1226s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1226s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1226s # 1226s # struct _ComAcmeCoyoteSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # ComAcmeCoyoteSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _ComAcmeCoyoteSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1226s # 1226s # 1226s # G_END_DECLS 1226s # 1226s # #endif /* __STDOUT__ */ 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1yhch9oi/tmpkoe6pjtj1.xml', '/tmp/tmp1yhch9oi/tmp1atfd7402.xml', '--output', '-', '--body'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifdef HAVE_CONFIG_H 1226s # # include "config.h" 1226s # #endif 1226s # 1226s # #include 1226s # #ifdef G_OS_UNIX 1226s # # include 1226s # #endif 1226s # 1226s # #ifdef G_ENABLE_DEBUG 1226s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1226s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1226s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1226s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1226s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1226s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1226s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1226s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1226s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1226s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1226s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1226s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1226s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1226s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1226s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1226s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1226s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1226s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1226s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1226s # #else /* !G_ENABLE_DEBUG */ 1226s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1226s # * Do not access GValues directly in your code. Instead, use the 1226s # * g_value_get_*() functions 1226s # */ 1226s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1226s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1226s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1226s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1226s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1226s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1226s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1226s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1226s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1226s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1226s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1226s # #endif /* !G_ENABLE_DEBUG */ 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusArgInfo parent_struct; 1226s # gboolean use_gvariant; 1226s # } _ExtendedGDBusArgInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusMethodInfo parent_struct; 1226s # const gchar *signal_name; 1226s # gboolean pass_fdlist; 1226s # } _ExtendedGDBusMethodInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusSignalInfo parent_struct; 1226s # const gchar *signal_name; 1226s # } _ExtendedGDBusSignalInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusPropertyInfo parent_struct; 1226s # const gchar *hyphen_name; 1226s # guint use_gvariant : 1; 1226s # guint emits_changed_signal : 1; 1226s # } _ExtendedGDBusPropertyInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusInterfaceInfo parent_struct; 1226s # const gchar *hyphen_name; 1226s # } _ExtendedGDBusInterfaceInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # guint prop_id; 1226s # GValue orig_value; /* the value before the change */ 1226s # } ChangedProperty; 1226s # 1226s # static void 1226s # _changed_property_free (ChangedProperty *data) 1226s # { 1226s # g_value_unset (&data->orig_value); 1226s # g_free (data); 1226s # } 1226s # 1226s # static gboolean 1226s # _g_strv_equal0 (gchar **a, gchar **b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # guint n; 1226s # if (a == NULL && b == NULL) 1226s # { 1226s # ret = TRUE; 1226s # goto out; 1226s # } 1226s # if (a == NULL || b == NULL) 1226s # goto out; 1226s # if (g_strv_length (a) != g_strv_length (b)) 1226s # goto out; 1226s # for (n = 0; a[n] != NULL; n++) 1226s # if (g_strcmp0 (a[n], b[n]) != 0) 1226s # goto out; 1226s # ret = TRUE; 1226s # out: 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _g_variant_equal0 (GVariant *a, GVariant *b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # if (a == NULL && b == NULL) 1226s # { 1226s # ret = TRUE; 1226s # goto out; 1226s # } 1226s # if (a == NULL || b == NULL) 1226s # goto out; 1226s # ret = g_variant_equal (a, b); 1226s # out: 1226s # return ret; 1226s # } 1226s # 1226s # G_GNUC_UNUSED static gboolean 1226s # _g_value_equal (const GValue *a, const GValue *b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1226s # switch (G_VALUE_TYPE (a)) 1226s # { 1226s # case G_TYPE_BOOLEAN: 1226s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1226s # break; 1226s # case G_TYPE_UCHAR: 1226s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1226s # break; 1226s # case G_TYPE_INT: 1226s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1226s # break; 1226s # case G_TYPE_UINT: 1226s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1226s # break; 1226s # case G_TYPE_INT64: 1226s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1226s # break; 1226s # case G_TYPE_UINT64: 1226s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1226s # break; 1226s # case G_TYPE_DOUBLE: 1226s # { 1226s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1226s # gdouble da = g_value_get_double (a); 1226s # gdouble db = g_value_get_double (b); 1226s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1226s # } 1226s # break; 1226s # case G_TYPE_STRING: 1226s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1226s # break; 1226s # case G_TYPE_VARIANT: 1226s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1226s # break; 1226s # default: 1226s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1226s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1226s # else 1226s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1226s # break; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static void 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint G_GNUC_UNUSED, 1226s # void *marshal_data) 1226s # { 1226s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1226s # (void *data1, 1226s # GDBusMethodInvocation *arg_method_invocation, 1226s # void *data2); 1226s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1226s # GCClosure *cc = (GCClosure*) closure; 1226s # void *data1, *data2; 1226s # gboolean v_return; 1226s # 1226s # g_return_if_fail (return_value != NULL); 1226s # g_return_if_fail (n_param_values == 2); 1226s # 1226s # if (G_CCLOSURE_SWAP_DATA (closure)) 1226s # { 1226s # data1 = closure->data; 1226s # data2 = g_value_peek_pointer (param_values + 0); 1226s # } 1226s # else 1226s # { 1226s # data1 = g_value_peek_pointer (param_values + 0); 1226s # data2 = closure->data; 1226s # } 1226s # 1226s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1226s # (marshal_data ? marshal_data : cc->callback); 1226s # 1226s # v_return = 1226s # callback (data1, 1226s # g_marshal_value_peek_object (param_values + 1), 1226s # data2); 1226s # 1226s # g_value_set_boolean (return_value, v_return); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ 1226s # * Code for interface org.project.Bar.Frobnicator 1226s # * ------------------------------------------------------------------------ 1226s # */ 1226s # 1226s # /** 1226s # * SECTION:OrgProjectBarFrobnicator 1226s # * @title: OrgProjectBarFrobnicator 1226s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1226s # * 1226s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1226s # */ 1226s # 1226s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1226s # 1226s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "RandomMethod", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-random-method", 1226s # FALSE 1226s # }; 1226s # 1226s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1226s # { 1226s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "org.project.Bar.Frobnicator", 1226s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "org-project-bar-frobnicator", 1226s # }; 1226s # 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_interface_info: 1226s # * 1226s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1226s # * 1226s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1226s # */ 1226s # GDBusInterfaceInfo * 1226s # org_project_bar_frobnicator_interface_info (void) 1226s # { 1226s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_override_properties: 1226s # * @klass: The class structure for a #GObject derived class. 1226s # * @property_id_begin: The property id to assign to the first overridden property. 1226s # * 1226s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1226s # * The properties are overridden in the order they are defined. 1226s # * 1226s # * Returns: The last property id. 1226s # */ 1226s # guint 1226s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1226s # { 1226s # return property_id_begin - 1; 1226s # } 1226s # 1226s # 1226s # inline static void 1226s # org_project_bar_frobnicator_method_marshal_random_method ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicator: 1226s # * 1226s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorIface: 1226s # * @parent_iface: The parent interface. 1226s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1226s # * 1226s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1226s # */ 1226s # 1226s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1226s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1226s # { 1226s # /* GObject signals for incoming D-Bus method calls: */ 1226s # /** 1226s # * OrgProjectBarFrobnicator::handle-random-method: 1226s # * @object: A #OrgProjectBarFrobnicator. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-random-method", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # org_project_bar_frobnicator_method_marshal_random_method, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_call_random_method ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "RandomMethod", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method_finish: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # org_project_bar_frobnicator_call_random_method_finish ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method_sync: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # org_project_bar_frobnicator_call_random_method_sync ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "RandomMethod", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_complete_random_method: 1226s # * @object: A #OrgProjectBarFrobnicator. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_complete_random_method ( 1226s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorProxy: 1226s # * 1226s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorProxyClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1226s # */ 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxyPrivate 1226s # { 1226s # GData *qdata; 1226s # }; 1226s # 1226s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1226s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1226s # { 1226s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1226s # g_datalist_clear (&proxy->priv->qdata); 1226s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1226s # guint prop_id G_GNUC_UNUSED, 1226s # GValue *value G_GNUC_UNUSED, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1226s # guint prop_id G_GNUC_UNUSED, 1226s # const GValue *value G_GNUC_UNUSED, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1226s # const gchar *sender_name G_GNUC_UNUSED, 1226s # const gchar *signal_name, 1226s # GVariant *parameters) 1226s # { 1226s # _ExtendedGDBusSignalInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # gsize n; 1226s # guint signal_id; 1226s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1226s # if (info == NULL) 1226s # return; 1226s # num_params = g_variant_n_children (parameters); 1226s # paramv = g_new0 (GValue, num_params + 1); 1226s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_set_object (¶mv[0], proxy); 1226s # g_variant_iter_init (&iter, parameters); 1226s # n = 1; 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_signal_emitv (paramv, signal_id, 0, NULL); 1226s # for (n = 0; n < num_params + 1; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1226s # GVariant *changed_properties, 1226s # const gchar *const *invalidated_properties) 1226s # { 1226s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1226s # guint n; 1226s # const gchar *key; 1226s # GVariantIter *iter; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # g_variant_get (changed_properties, "a{sv}", &iter); 1226s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1226s # g_datalist_remove_data (&proxy->priv->qdata, key); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # g_variant_iter_free (iter); 1226s # for (n = 0; invalidated_properties[n] != NULL; n++) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1226s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1226s # #else 1226s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1226s # #endif 1226s # 1226s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusProxyClass *proxy_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1226s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1226s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1226s # 1226s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1226s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1226s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_sync: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorSkeleton: 1226s # * 1226s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorSkeletonClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1226s # */ 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1226s # { 1226s # GValue *properties; 1226s # GList *changed_properties; 1226s # GSource *changed_properties_idle_source; 1226s # GMainContext *context; 1226s # GMutex lock; 1226s # }; 1226s # 1226s # static void 1226s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name, 1226s # const gchar *method_name, 1226s # GVariant *parameters, 1226s # GDBusMethodInvocation *invocation, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # _ExtendedGDBusMethodInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # guint num_extra; 1226s # gsize n; 1226s # guint signal_id; 1226s # GValue return_value = G_VALUE_INIT; 1226s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1226s # g_assert (info != NULL); 1226s # num_params = g_variant_n_children (parameters); 1226s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1226s # n = 0; 1226s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_set_object (¶mv[n++], skeleton); 1226s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1226s # g_value_set_object (¶mv[n++], invocation); 1226s # if (info->pass_fdlist) 1226s # { 1226s # #ifdef G_OS_UNIX 1226s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1226s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1226s # #else 1226s # g_assert_not_reached (); 1226s # #endif 1226s # } 1226s # g_variant_iter_init (&iter, parameters); 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1226s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1226s # if (!g_value_get_boolean (&return_value)) 1226s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1226s # g_value_unset (&return_value); 1226s # for (n = 0; n < num_params + num_extra; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static GVariant * 1226s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *ret; 1226s # ret = NULL; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # g_value_init (&value, pspec->value_type); 1226s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_value_unset (&value); 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GVariant *variant, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # gboolean ret; 1226s # ret = FALSE; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # if (info->use_gvariant) 1226s # g_value_set_variant (&value, variant); 1226s # else 1226s # g_dbus_gvariant_to_gvalue (variant, &value); 1226s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # g_value_unset (&value); 1226s # ret = TRUE; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1226s # { 1226s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1226s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1226s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1226s # {NULL} 1226s # }; 1226s # 1226s # static GDBusInterfaceInfo * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return org_project_bar_frobnicator_interface_info (); 1226s # } 1226s # 1226s # static GDBusInterfaceVTable * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1226s # } 1226s # 1226s # static GVariant * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1226s # 1226s # GVariantBuilder builder; 1226s # guint n; 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1226s # goto out; 1226s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1226s # { 1226s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1226s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1226s # { 1226s # GVariant *value; 1226s # 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); 1226s # if (value != NULL) 1226s # { 1226s # g_variant_take_ref (value); 1226s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1226s # g_variant_unref (value); 1226s # } 1226s # } 1226s # } 1226s # out: 1226s # return g_variant_builder_end (&builder); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # g_main_context_unref (skeleton->priv->context); 1226s # g_mutex_clear (&skeleton->priv->lock); 1226s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1226s # #else 1226s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1226s # #endif 1226s # 1226s # g_mutex_init (&skeleton->priv->lock); 1226s # skeleton->priv->context = g_main_context_ref_thread_default (); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusInterfaceSkeletonClass *skeleton_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1226s # 1226s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1226s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1226s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1226s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1226s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_skeleton_new: 1226s # * 1226s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_skeleton_new (void) 1226s # { 1226s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ 1226s # * Code for interface com.acme.Coyote 1226s # * ------------------------------------------------------------------------ 1226s # */ 1226s # 1226s # /** 1226s # * SECTION:ComAcmeCoyote 1226s # * @title: ComAcmeCoyote 1226s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1226s # * 1226s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1226s # */ 1226s # 1226s # enum 1226s # { 1226s # _COM_ACME_COYOTE_SURPRISED, 1226s # }; 1226s # 1226s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1226s # 1226s # /* ---- Introspection data for com.acme.Coyote ---- */ 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Run", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-run", 1226s # FALSE 1226s # }; 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Sleep", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-sleep", 1226s # FALSE 1226s # }; 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Attack", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-attack", 1226s # FALSE 1226s # }; 1226s # 1226s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_method_info_run.parent_struct, 1226s # &_com_acme_coyote_method_info_sleep.parent_struct, 1226s # &_com_acme_coyote_method_info_attack.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Surprised", 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "surprised" 1226s # }; 1226s # 1226s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Mood", 1226s # (gchar *) "s", 1226s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1226s # NULL 1226s # }, 1226s # "mood", 1226s # FALSE, 1226s # TRUE 1226s # }; 1226s # 1226s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_property_info_mood.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "com.acme.Coyote", 1226s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1226s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1226s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1226s # NULL 1226s # }, 1226s # "com-acme-coyote", 1226s # }; 1226s # 1226s # 1226s # /** 1226s # * com_acme_coyote_interface_info: 1226s # * 1226s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1226s # * 1226s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1226s # */ 1226s # GDBusInterfaceInfo * 1226s # com_acme_coyote_interface_info (void) 1226s # { 1226s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_override_properties: 1226s # * @klass: The class structure for a #GObject derived class. 1226s # * @property_id_begin: The property id to assign to the first overridden property. 1226s # * 1226s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1226s # * The properties are overridden in the order they are defined. 1226s # * 1226s # * Returns: The last property id. 1226s # */ 1226s # guint 1226s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1226s # { 1226s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1226s # return property_id_begin - 1; 1226s # } 1226s # 1226s # 1226s # inline static void 1226s # com_acme_coyote_signal_marshal_surprised ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # g_cclosure_marshal_VOID__VOID (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_run ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_sleep ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_attack ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # 1226s # /** 1226s # * ComAcmeCoyote: 1226s # * 1226s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteIface: 1226s # * @parent_iface: The parent interface. 1226s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1226s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1226s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1226s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1226s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1226s # * 1226s # * Virtual table for the D-Bus interface com.acme.Coyote. 1226s # */ 1226s # 1226s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1226s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1226s # 1226s # static void 1226s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # /* GObject signals for incoming D-Bus method calls: */ 1226s # /** 1226s # * ComAcmeCoyote::handle-run: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-run", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_run, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /** 1226s # * ComAcmeCoyote::handle-sleep: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-sleep", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_sleep, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /** 1226s # * ComAcmeCoyote::handle-attack: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-attack", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_attack, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /* GObject signals for received D-Bus signals: */ 1226s # /** 1226s # * ComAcmeCoyote::surprised: 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1226s # * 1226s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1226s # */ 1226s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1226s # g_signal_new ("surprised", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1226s # NULL, 1226s # NULL, 1226s # com_acme_coyote_signal_marshal_surprised, 1226s # G_TYPE_NONE, 1226s # 0); 1226s # 1226s # /* GObject properties for D-Bus properties: */ 1226s # /** 1226s # * ComAcmeCoyote:mood: 1226s # * 1226s # * Represents the D-Bus property "Mood". 1226s # * 1226s # * 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. 1226s # */ 1226s # g_object_interface_install_property (iface, 1226s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_get_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Gets the value of the "Mood" D-Bus property. 1226s # * 1226s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # const gchar * 1226s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1226s # 1226s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_dup_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Gets a copy of the "Mood" D-Bus property. 1226s # * 1226s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1226s # * 1226s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1226s # */ 1226s # gchar * 1226s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1226s # { 1226s # gchar *value; 1226s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1226s # return value; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_set_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * @value: The value to set. 1226s # * 1226s # * Sets the "Mood" D-Bus property to @value. 1226s # * 1226s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1226s # */ 1226s # void 1226s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1226s # { 1226s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_emit_surprised: 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Emits the "Surprised" D-Bus signal. 1226s # */ 1226s # void 1226s # com_acme_coyote_emit_surprised ( 1226s # ComAcmeCoyote *object) 1226s # { 1226s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_run ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Run", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_run(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_run_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_run_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Run", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_sleep ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Sleep", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_sleep_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_sleep_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Sleep", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_attack ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Attack", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_attack(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_attack_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_attack_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Attack", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_run: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_run ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_sleep: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_sleep ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_attack: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_attack ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteProxy: 1226s # * 1226s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteProxyClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #ComAcmeCoyoteProxy. 1226s # */ 1226s # 1226s # struct _ComAcmeCoyoteProxyPrivate 1226s # { 1226s # GData *qdata; 1226s # }; 1226s # 1226s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1226s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # com_acme_coyote_proxy_finalize (GObject *object) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1226s # g_datalist_clear (&proxy->priv->qdata); 1226s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_get_property (GObject *object, 1226s # guint prop_id, 1226s # GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *variant; 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1226s # if (info->use_gvariant) 1226s # { 1226s # g_value_set_variant (value, variant); 1226s # } 1226s # else 1226s # { 1226s # if (variant != NULL) 1226s # g_dbus_gvariant_to_gvalue (variant, value); 1226s # } 1226s # if (variant != NULL) 1226s # g_variant_unref (variant); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1226s # GAsyncResult *res, 1226s # gpointer user_data) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info = user_data; 1226s # GError *error; 1226s # GVariant *_ret; 1226s # error = NULL; 1226s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1226s # if (!_ret) 1226s # { 1226s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1226s # info->parent_struct.name, 1226s # error->message, g_quark_to_string (error->domain), error->code); 1226s # g_error_free (error); 1226s # } 1226s # else 1226s # { 1226s # g_variant_unref (_ret); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_set_property (GObject *object, 1226s # guint prop_id, 1226s # const GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *variant; 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1226s # "org.freedesktop.DBus.Properties.Set", 1226s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1226s # g_variant_unref (variant); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1226s # const gchar *sender_name G_GNUC_UNUSED, 1226s # const gchar *signal_name, 1226s # GVariant *parameters) 1226s # { 1226s # _ExtendedGDBusSignalInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # gsize n; 1226s # guint signal_id; 1226s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1226s # if (info == NULL) 1226s # return; 1226s # num_params = g_variant_n_children (parameters); 1226s # paramv = g_new0 (GValue, num_params + 1); 1226s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1226s # g_value_set_object (¶mv[0], proxy); 1226s # g_variant_iter_init (&iter, parameters); 1226s # n = 1; 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1226s # g_signal_emitv (paramv, signal_id, 0, NULL); 1226s # for (n = 0; n < num_params + 1; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1226s # GVariant *changed_properties, 1226s # const gchar *const *invalidated_properties) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1226s # guint n; 1226s # const gchar *key; 1226s # GVariantIter *iter; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # g_variant_get (changed_properties, "a{sv}", &iter); 1226s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1226s # g_datalist_remove_data (&proxy->priv->qdata, key); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # g_variant_iter_free (iter); 1226s # for (n = 0; invalidated_properties[n] != NULL; n++) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1226s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # } 1226s # 1226s # static const gchar * 1226s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1226s # GVariant *variant; 1226s # const gchar *value = NULL; 1226s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1226s # if (variant != NULL) 1226s # { 1226s # value = g_variant_get_string (variant, NULL); 1226s # g_variant_unref (variant); 1226s # } 1226s # return value; 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1226s # #else 1226s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1226s # #endif 1226s # 1226s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusProxyClass *proxy_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1226s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1226s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1226s # 1226s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1226s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1226s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1226s # 1226s # com_acme_coyote_override_properties (gobject_class, 1); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # com_acme_coyote_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_sync: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # com_acme_coyote_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus_sync: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteSkeleton: 1226s # * 1226s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteSkeletonClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #ComAcmeCoyoteSkeleton. 1226s # */ 1226s # 1226s # struct _ComAcmeCoyoteSkeletonPrivate 1226s # { 1226s # GValue *properties; 1226s # GList *changed_properties; 1226s # GSource *changed_properties_idle_source; 1226s # GMainContext *context; 1226s # GMutex lock; 1226s # }; 1226s # 1226s # static void 1226s # _com_acme_coyote_skeleton_handle_method_call ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name, 1226s # const gchar *method_name, 1226s # GVariant *parameters, 1226s # GDBusMethodInvocation *invocation, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # _ExtendedGDBusMethodInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # guint num_extra; 1226s # gsize n; 1226s # guint signal_id; 1226s # GValue return_value = G_VALUE_INIT; 1226s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1226s # g_assert (info != NULL); 1226s # num_params = g_variant_n_children (parameters); 1226s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1226s # n = 0; 1226s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1226s # g_value_set_object (¶mv[n++], skeleton); 1226s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1226s # g_value_set_object (¶mv[n++], invocation); 1226s # if (info->pass_fdlist) 1226s # { 1226s # #ifdef G_OS_UNIX 1226s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1226s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1226s # #else 1226s # g_assert_not_reached (); 1226s # #endif 1226s # } 1226s # g_variant_iter_init (&iter, parameters); 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1226s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1226s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1226s # if (!g_value_get_boolean (&return_value)) 1226s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1226s # g_value_unset (&return_value); 1226s # for (n = 0; n < num_params + num_extra; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static GVariant * 1226s # _com_acme_coyote_skeleton_handle_get_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *ret; 1226s # ret = NULL; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # g_value_init (&value, pspec->value_type); 1226s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_value_unset (&value); 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _com_acme_coyote_skeleton_handle_set_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GVariant *variant, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # gboolean ret; 1226s # ret = FALSE; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # if (info->use_gvariant) 1226s # g_value_set_variant (&value, variant); 1226s # else 1226s # g_dbus_gvariant_to_gvalue (variant, &value); 1226s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # g_value_unset (&value); 1226s # ret = TRUE; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1226s # { 1226s # _com_acme_coyote_skeleton_handle_method_call, 1226s # _com_acme_coyote_skeleton_handle_get_property, 1226s # _com_acme_coyote_skeleton_handle_set_property, 1226s # {NULL} 1226s # }; 1226s # 1226s # static GDBusInterfaceInfo * 1226s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return com_acme_coyote_interface_info (); 1226s # } 1226s # 1226s # static GDBusInterfaceVTable * 1226s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1226s # } 1226s # 1226s # static GVariant * 1226s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1226s # 1226s # GVariantBuilder builder; 1226s # guint n; 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1226s # goto out; 1226s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1226s # { 1226s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1226s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1226s # { 1226s # GVariant *value; 1226s # 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); 1226s # if (value != NULL) 1226s # { 1226s # g_variant_take_ref (value); 1226s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1226s # g_variant_unref (value); 1226s # } 1226s # } 1226s # } 1226s # out: 1226s # return g_variant_builder_end (&builder); 1226s # } 1226s # 1226s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1226s # gboolean emit_changed = FALSE; 1226s # 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # { 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # skeleton->priv->changed_properties_idle_source = NULL; 1226s # emit_changed = TRUE; 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # 1226s # if (emit_changed) 1226s # _com_acme_coyote_emit_changed (skeleton); 1226s # } 1226s # 1226s # static void 1226s # _com_acme_coyote_on_signal_surprised ( 1226s # ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # 1226s # GList *connections, *l; 1226s # GVariant *signal_variant; 1226s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1226s # 1226s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1226s # for (l = connections; l != NULL; l = l->next) 1226s # { 1226s # GDBusConnection *connection = l->data; 1226s # g_dbus_connection_emit_signal (connection, 1226s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1226s # signal_variant, NULL); 1226s # } 1226s # g_variant_unref (signal_variant); 1226s # g_list_free_full (connections, g_object_unref); 1226s # } 1226s # 1226s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # com_acme_coyote_skeleton_finalize (GObject *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # guint n; 1226s # for (n = 0; n < 1; n++) 1226s # g_value_unset (&skeleton->priv->properties[n]); 1226s # g_free (skeleton->priv->properties); 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # g_main_context_unref (skeleton->priv->context); 1226s # g_mutex_clear (&skeleton->priv->lock); 1226s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_get_property (GObject *object, 1226s # guint prop_id, 1226s # GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # } 1226s # 1226s # static gboolean 1226s # _com_acme_coyote_emit_changed (gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GList *l; 1226s # GVariantBuilder builder; 1226s # GVariantBuilder invalidated_builder; 1226s # guint num_changes; 1226s # 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1226s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1226s # { 1226s # ChangedProperty *cp = l->data; 1226s # GVariant *variant; 1226s # const GValue *cur_value; 1226s # 1226s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1226s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1226s # { 1226s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1226s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1226s # g_variant_unref (variant); 1226s # num_changes++; 1226s # } 1226s # } 1226s # if (num_changes > 0) 1226s # { 1226s # GList *connections, *ll; 1226s # GVariant *signal_variant; 1226s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1226s # &builder, &invalidated_builder)); 1226s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1226s # for (ll = connections; ll != NULL; ll = ll->next) 1226s # { 1226s # GDBusConnection *connection = ll->data; 1226s # 1226s # g_dbus_connection_emit_signal (connection, 1226s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1226s # "org.freedesktop.DBus.Properties", 1226s # "PropertiesChanged", 1226s # signal_variant, 1226s # NULL); 1226s # } 1226s # g_variant_unref (signal_variant); 1226s # g_list_free_full (connections, g_object_unref); 1226s # } 1226s # else 1226s # { 1226s # g_variant_builder_clear (&builder); 1226s # g_variant_builder_clear (&invalidated_builder); 1226s # } 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # skeleton->priv->changed_properties = NULL; 1226s # skeleton->priv->changed_properties_idle_source = NULL; 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # return FALSE; 1226s # } 1226s # 1226s # static void 1226s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1226s # { 1226s # ChangedProperty *cp; 1226s # GList *l; 1226s # cp = NULL; 1226s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1226s # { 1226s # ChangedProperty *i_cp = l->data; 1226s # if (i_cp->info == info) 1226s # { 1226s # cp = i_cp; 1226s # break; 1226s # } 1226s # } 1226s # if (cp == NULL) 1226s # { 1226s # cp = g_new0 (ChangedProperty, 1); 1226s # cp->prop_id = prop_id; 1226s # cp->info = info; 1226s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1226s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1226s # g_value_copy (orig_value, &cp->orig_value); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_notify (GObject *object, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # if (skeleton->priv->changed_properties != NULL && 1226s # skeleton->priv->changed_properties_idle_source == NULL) 1226s # { 1226s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1226s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1226s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1226s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1226s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1226s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_set_property (GObject *object, 1226s # guint prop_id, 1226s # const GValue *value, 1226s # GParamSpec *pspec) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_object_freeze_notify (object); 1226s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1226s # { 1226s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1226s # info->emits_changed_signal) 1226s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1226s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1226s # g_object_notify_by_pspec (object, pspec); 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # g_object_thaw_notify (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1226s # #else 1226s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1226s # #endif 1226s # 1226s # g_mutex_init (&skeleton->priv->lock); 1226s # skeleton->priv->context = g_main_context_ref_thread_default (); 1226s # skeleton->priv->properties = g_new0 (GValue, 1); 1226s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1226s # } 1226s # 1226s # static const gchar * 1226s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # const gchar *value; 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # return value; 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusInterfaceSkeletonClass *skeleton_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1226s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1226s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1226s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1226s # 1226s # 1226s # com_acme_coyote_override_properties (gobject_class, 1); 1226s # 1226s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1226s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1226s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1226s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1226s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1226s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_skeleton_new: 1226s # * 1226s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_skeleton_new (void) 1226s # { 1226s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1226s # } 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1yhch9oi/tmp1atfd7402.xml', '/tmp/tmp1yhch9oi/tmpkoe6pjtj1.xml', '--output', '-', '--body'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifdef HAVE_CONFIG_H 1226s # # include "config.h" 1226s # #endif 1226s # 1226s # #include 1226s # #ifdef G_OS_UNIX 1226s # # include 1226s # #endif 1226s # 1226s # #ifdef G_ENABLE_DEBUG 1226s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1226s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1226s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1226s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1226s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1226s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1226s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1226s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1226s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1226s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1226s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1226s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1226s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1226s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1226s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1226s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1226s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1226s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1226s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1226s # #else /* !G_ENABLE_DEBUG */ 1226s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1226s # * Do not access GValues directly in your code. Instead, use the 1226s # * g_value_get_*() functions 1226s # */ 1226s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1226s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1226s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1226s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1226s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1226s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1226s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1226s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1226s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1226s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1226s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1226s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1226s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1226s # #endif /* !G_ENABLE_DEBUG */ 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusArgInfo parent_struct; 1226s # gboolean use_gvariant; 1226s # } _ExtendedGDBusArgInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusMethodInfo parent_struct; 1226s # const gchar *signal_name; 1226s # gboolean pass_fdlist; 1226s # } _ExtendedGDBusMethodInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusSignalInfo parent_struct; 1226s # const gchar *signal_name; 1226s # } _ExtendedGDBusSignalInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusPropertyInfo parent_struct; 1226s # const gchar *hyphen_name; 1226s # guint use_gvariant : 1; 1226s # guint emits_changed_signal : 1; 1226s # } _ExtendedGDBusPropertyInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # GDBusInterfaceInfo parent_struct; 1226s # const gchar *hyphen_name; 1226s # } _ExtendedGDBusInterfaceInfo; 1226s # 1226s # typedef struct 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # guint prop_id; 1226s # GValue orig_value; /* the value before the change */ 1226s # } ChangedProperty; 1226s # 1226s # static void 1226s # _changed_property_free (ChangedProperty *data) 1226s # { 1226s # g_value_unset (&data->orig_value); 1226s # g_free (data); 1226s # } 1226s # 1226s # static gboolean 1226s # _g_strv_equal0 (gchar **a, gchar **b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # guint n; 1226s # if (a == NULL && b == NULL) 1226s # { 1226s # ret = TRUE; 1226s # goto out; 1226s # } 1226s # if (a == NULL || b == NULL) 1226s # goto out; 1226s # if (g_strv_length (a) != g_strv_length (b)) 1226s # goto out; 1226s # for (n = 0; a[n] != NULL; n++) 1226s # if (g_strcmp0 (a[n], b[n]) != 0) 1226s # goto out; 1226s # ret = TRUE; 1226s # out: 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _g_variant_equal0 (GVariant *a, GVariant *b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # if (a == NULL && b == NULL) 1226s # { 1226s # ret = TRUE; 1226s # goto out; 1226s # } 1226s # if (a == NULL || b == NULL) 1226s # goto out; 1226s # ret = g_variant_equal (a, b); 1226s # out: 1226s # return ret; 1226s # } 1226s # 1226s # G_GNUC_UNUSED static gboolean 1226s # _g_value_equal (const GValue *a, const GValue *b) 1226s # { 1226s # gboolean ret = FALSE; 1226s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1226s # switch (G_VALUE_TYPE (a)) 1226s # { 1226s # case G_TYPE_BOOLEAN: 1226s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1226s # break; 1226s # case G_TYPE_UCHAR: 1226s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1226s # break; 1226s # case G_TYPE_INT: 1226s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1226s # break; 1226s # case G_TYPE_UINT: 1226s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1226s # break; 1226s # case G_TYPE_INT64: 1226s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1226s # break; 1226s # case G_TYPE_UINT64: 1226s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1226s # break; 1226s # case G_TYPE_DOUBLE: 1226s # { 1226s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1226s # gdouble da = g_value_get_double (a); 1226s # gdouble db = g_value_get_double (b); 1226s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1226s # } 1226s # break; 1226s # case G_TYPE_STRING: 1226s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1226s # break; 1226s # case G_TYPE_VARIANT: 1226s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1226s # break; 1226s # default: 1226s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1226s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1226s # else 1226s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1226s # break; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static void 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint G_GNUC_UNUSED, 1226s # void *marshal_data) 1226s # { 1226s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1226s # (void *data1, 1226s # GDBusMethodInvocation *arg_method_invocation, 1226s # void *data2); 1226s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1226s # GCClosure *cc = (GCClosure*) closure; 1226s # void *data1, *data2; 1226s # gboolean v_return; 1226s # 1226s # g_return_if_fail (return_value != NULL); 1226s # g_return_if_fail (n_param_values == 2); 1226s # 1226s # if (G_CCLOSURE_SWAP_DATA (closure)) 1226s # { 1226s # data1 = closure->data; 1226s # data2 = g_value_peek_pointer (param_values + 0); 1226s # } 1226s # else 1226s # { 1226s # data1 = g_value_peek_pointer (param_values + 0); 1226s # data2 = closure->data; 1226s # } 1226s # 1226s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1226s # (marshal_data ? marshal_data : cc->callback); 1226s # 1226s # v_return = 1226s # callback (data1, 1226s # g_marshal_value_peek_object (param_values + 1), 1226s # data2); 1226s # 1226s # g_value_set_boolean (return_value, v_return); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ 1226s # * Code for interface org.project.Bar.Frobnicator 1226s # * ------------------------------------------------------------------------ 1226s # */ 1226s # 1226s # /** 1226s # * SECTION:OrgProjectBarFrobnicator 1226s # * @title: OrgProjectBarFrobnicator 1226s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1226s # * 1226s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1226s # */ 1226s # 1226s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1226s # 1226s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "RandomMethod", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-random-method", 1226s # FALSE 1226s # }; 1226s # 1226s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1226s # { 1226s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "org.project.Bar.Frobnicator", 1226s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "org-project-bar-frobnicator", 1226s # }; 1226s # 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_interface_info: 1226s # * 1226s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1226s # * 1226s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1226s # */ 1226s # GDBusInterfaceInfo * 1226s # org_project_bar_frobnicator_interface_info (void) 1226s # { 1226s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_override_properties: 1226s # * @klass: The class structure for a #GObject derived class. 1226s # * @property_id_begin: The property id to assign to the first overridden property. 1226s # * 1226s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1226s # * The properties are overridden in the order they are defined. 1226s # * 1226s # * Returns: The last property id. 1226s # */ 1226s # guint 1226s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1226s # { 1226s # return property_id_begin - 1; 1226s # } 1226s # 1226s # 1226s # inline static void 1226s # org_project_bar_frobnicator_method_marshal_random_method ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicator: 1226s # * 1226s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorIface: 1226s # * @parent_iface: The parent interface. 1226s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1226s # * 1226s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1226s # */ 1226s # 1226s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1226s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1226s # { 1226s # /* GObject signals for incoming D-Bus method calls: */ 1226s # /** 1226s # * OrgProjectBarFrobnicator::handle-random-method: 1226s # * @object: A #OrgProjectBarFrobnicator. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-random-method", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # org_project_bar_frobnicator_method_marshal_random_method, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_call_random_method ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "RandomMethod", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method_finish: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # org_project_bar_frobnicator_call_random_method_finish ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_call_random_method_sync: 1226s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # org_project_bar_frobnicator_call_random_method_sync ( 1226s # OrgProjectBarFrobnicator *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "RandomMethod", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_complete_random_method: 1226s # * @object: A #OrgProjectBarFrobnicator. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_complete_random_method ( 1226s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorProxy: 1226s # * 1226s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorProxyClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1226s # */ 1226s # 1226s # struct _OrgProjectBarFrobnicatorProxyPrivate 1226s # { 1226s # GData *qdata; 1226s # }; 1226s # 1226s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1226s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1226s # { 1226s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1226s # g_datalist_clear (&proxy->priv->qdata); 1226s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1226s # guint prop_id G_GNUC_UNUSED, 1226s # GValue *value G_GNUC_UNUSED, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1226s # guint prop_id G_GNUC_UNUSED, 1226s # const GValue *value G_GNUC_UNUSED, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1226s # const gchar *sender_name G_GNUC_UNUSED, 1226s # const gchar *signal_name, 1226s # GVariant *parameters) 1226s # { 1226s # _ExtendedGDBusSignalInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # gsize n; 1226s # guint signal_id; 1226s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1226s # if (info == NULL) 1226s # return; 1226s # num_params = g_variant_n_children (parameters); 1226s # paramv = g_new0 (GValue, num_params + 1); 1226s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_set_object (¶mv[0], proxy); 1226s # g_variant_iter_init (&iter, parameters); 1226s # n = 1; 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_signal_emitv (paramv, signal_id, 0, NULL); 1226s # for (n = 0; n < num_params + 1; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1226s # GVariant *changed_properties, 1226s # const gchar *const *invalidated_properties) 1226s # { 1226s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1226s # guint n; 1226s # const gchar *key; 1226s # GVariantIter *iter; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # g_variant_get (changed_properties, "a{sv}", &iter); 1226s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1226s # g_datalist_remove_data (&proxy->priv->qdata, key); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # g_variant_iter_free (iter); 1226s # for (n = 0; invalidated_properties[n] != NULL; n++) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1226s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1226s # #else 1226s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1226s # #endif 1226s # 1226s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusProxyClass *proxy_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1226s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1226s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1226s # 1226s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1226s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1226s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_sync: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # org_project_bar_frobnicator_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorSkeleton: 1226s # * 1226s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * OrgProjectBarFrobnicatorSkeletonClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1226s # */ 1226s # 1226s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1226s # { 1226s # GValue *properties; 1226s # GList *changed_properties; 1226s # GSource *changed_properties_idle_source; 1226s # GMainContext *context; 1226s # GMutex lock; 1226s # }; 1226s # 1226s # static void 1226s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name, 1226s # const gchar *method_name, 1226s # GVariant *parameters, 1226s # GDBusMethodInvocation *invocation, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # _ExtendedGDBusMethodInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # guint num_extra; 1226s # gsize n; 1226s # guint signal_id; 1226s # GValue return_value = G_VALUE_INIT; 1226s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1226s # g_assert (info != NULL); 1226s # num_params = g_variant_n_children (parameters); 1226s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1226s # n = 0; 1226s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_set_object (¶mv[n++], skeleton); 1226s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1226s # g_value_set_object (¶mv[n++], invocation); 1226s # if (info->pass_fdlist) 1226s # { 1226s # #ifdef G_OS_UNIX 1226s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1226s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1226s # #else 1226s # g_assert_not_reached (); 1226s # #endif 1226s # } 1226s # g_variant_iter_init (&iter, parameters); 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1226s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1226s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1226s # if (!g_value_get_boolean (&return_value)) 1226s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1226s # g_value_unset (&return_value); 1226s # for (n = 0; n < num_params + num_extra; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static GVariant * 1226s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *ret; 1226s # ret = NULL; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # g_value_init (&value, pspec->value_type); 1226s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_value_unset (&value); 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GVariant *variant, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # gboolean ret; 1226s # ret = FALSE; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # if (info->use_gvariant) 1226s # g_value_set_variant (&value, variant); 1226s # else 1226s # g_dbus_gvariant_to_gvalue (variant, &value); 1226s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # g_value_unset (&value); 1226s # ret = TRUE; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1226s # { 1226s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1226s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1226s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1226s # {NULL} 1226s # }; 1226s # 1226s # static GDBusInterfaceInfo * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return org_project_bar_frobnicator_interface_info (); 1226s # } 1226s # 1226s # static GDBusInterfaceVTable * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1226s # } 1226s # 1226s # static GVariant * 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1226s # 1226s # GVariantBuilder builder; 1226s # guint n; 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1226s # goto out; 1226s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1226s # { 1226s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1226s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1226s # { 1226s # GVariant *value; 1226s # 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); 1226s # if (value != NULL) 1226s # { 1226s # g_variant_take_ref (value); 1226s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1226s # g_variant_unref (value); 1226s # } 1226s # } 1226s # } 1226s # out: 1226s # return g_variant_builder_end (&builder); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1226s # { 1226s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # g_main_context_unref (skeleton->priv->context); 1226s # g_mutex_clear (&skeleton->priv->lock); 1226s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1226s # #else 1226s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1226s # #endif 1226s # 1226s # g_mutex_init (&skeleton->priv->lock); 1226s # skeleton->priv->context = g_main_context_ref_thread_default (); 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusInterfaceSkeletonClass *skeleton_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1226s # 1226s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1226s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1226s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1226s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1226s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1226s # { 1226s # } 1226s # 1226s # /** 1226s # * org_project_bar_frobnicator_skeleton_new: 1226s # * 1226s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1226s # * 1226s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1226s # */ 1226s # OrgProjectBarFrobnicator * 1226s # org_project_bar_frobnicator_skeleton_new (void) 1226s # { 1226s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ 1226s # * Code for interface com.acme.Coyote 1226s # * ------------------------------------------------------------------------ 1226s # */ 1226s # 1226s # /** 1226s # * SECTION:ComAcmeCoyote 1226s # * @title: ComAcmeCoyote 1226s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1226s # * 1226s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1226s # */ 1226s # 1226s # enum 1226s # { 1226s # _COM_ACME_COYOTE_SURPRISED, 1226s # }; 1226s # 1226s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1226s # 1226s # /* ---- Introspection data for com.acme.Coyote ---- */ 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Run", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-run", 1226s # FALSE 1226s # }; 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Sleep", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-sleep", 1226s # FALSE 1226s # }; 1226s # 1226s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Attack", 1226s # NULL, 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "handle-attack", 1226s # FALSE 1226s # }; 1226s # 1226s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_method_info_run.parent_struct, 1226s # &_com_acme_coyote_method_info_sleep.parent_struct, 1226s # &_com_acme_coyote_method_info_attack.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Surprised", 1226s # NULL, 1226s # NULL 1226s # }, 1226s # "surprised" 1226s # }; 1226s # 1226s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "Mood", 1226s # (gchar *) "s", 1226s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1226s # NULL 1226s # }, 1226s # "mood", 1226s # FALSE, 1226s # TRUE 1226s # }; 1226s # 1226s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1226s # { 1226s # &_com_acme_coyote_property_info_mood.parent_struct, 1226s # NULL 1226s # }; 1226s # 1226s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1226s # { 1226s # { 1226s # -1, 1226s # (gchar *) "com.acme.Coyote", 1226s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1226s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1226s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1226s # NULL 1226s # }, 1226s # "com-acme-coyote", 1226s # }; 1226s # 1226s # 1226s # /** 1226s # * com_acme_coyote_interface_info: 1226s # * 1226s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1226s # * 1226s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1226s # */ 1226s # GDBusInterfaceInfo * 1226s # com_acme_coyote_interface_info (void) 1226s # { 1226s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_override_properties: 1226s # * @klass: The class structure for a #GObject derived class. 1226s # * @property_id_begin: The property id to assign to the first overridden property. 1226s # * 1226s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1226s # * The properties are overridden in the order they are defined. 1226s # * 1226s # * Returns: The last property id. 1226s # */ 1226s # guint 1226s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1226s # { 1226s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1226s # return property_id_begin - 1; 1226s # } 1226s # 1226s # 1226s # inline static void 1226s # com_acme_coyote_signal_marshal_surprised ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # g_cclosure_marshal_VOID__VOID (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_run ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_sleep ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # inline static void 1226s # com_acme_coyote_method_marshal_attack ( 1226s # GClosure *closure, 1226s # GValue *return_value, 1226s # unsigned int n_param_values, 1226s # const GValue *param_values, 1226s # void *invocation_hint, 1226s # void *marshal_data) 1226s # { 1226s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1226s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1226s # } 1226s # 1226s # 1226s # /** 1226s # * ComAcmeCoyote: 1226s # * 1226s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteIface: 1226s # * @parent_iface: The parent interface. 1226s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1226s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1226s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1226s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1226s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1226s # * 1226s # * Virtual table for the D-Bus interface com.acme.Coyote. 1226s # */ 1226s # 1226s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1226s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1226s # 1226s # static void 1226s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # /* GObject signals for incoming D-Bus method calls: */ 1226s # /** 1226s # * ComAcmeCoyote::handle-run: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-run", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_run, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /** 1226s # * ComAcmeCoyote::handle-sleep: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-sleep", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_sleep, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /** 1226s # * ComAcmeCoyote::handle-attack: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: A #GDBusMethodInvocation. 1226s # * 1226s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # g_signal_new ("handle-attack", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1226s # g_signal_accumulator_true_handled, 1226s # NULL, 1226s # com_acme_coyote_method_marshal_attack, 1226s # G_TYPE_BOOLEAN, 1226s # 1, 1226s # G_TYPE_DBUS_METHOD_INVOCATION); 1226s # 1226s # /* GObject signals for received D-Bus signals: */ 1226s # /** 1226s # * ComAcmeCoyote::surprised: 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1226s # * 1226s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1226s # */ 1226s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1226s # g_signal_new ("surprised", 1226s # G_TYPE_FROM_INTERFACE (iface), 1226s # G_SIGNAL_RUN_LAST, 1226s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1226s # NULL, 1226s # NULL, 1226s # com_acme_coyote_signal_marshal_surprised, 1226s # G_TYPE_NONE, 1226s # 0); 1226s # 1226s # /* GObject properties for D-Bus properties: */ 1226s # /** 1226s # * ComAcmeCoyote:mood: 1226s # * 1226s # * Represents the D-Bus property "Mood". 1226s # * 1226s # * 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. 1226s # */ 1226s # g_object_interface_install_property (iface, 1226s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_get_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Gets the value of the "Mood" D-Bus property. 1226s # * 1226s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1226s # * 1226s # * 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. 1226s # * 1226s # * 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. 1226s # */ 1226s # const gchar * 1226s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1226s # 1226s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_dup_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Gets a copy of the "Mood" D-Bus property. 1226s # * 1226s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1226s # * 1226s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1226s # */ 1226s # gchar * 1226s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1226s # { 1226s # gchar *value; 1226s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1226s # return value; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_set_mood: (skip) 1226s # * @object: A #ComAcmeCoyote. 1226s # * @value: The value to set. 1226s # * 1226s # * Sets the "Mood" D-Bus property to @value. 1226s # * 1226s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1226s # */ 1226s # void 1226s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1226s # { 1226s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_emit_surprised: 1226s # * @object: A #ComAcmeCoyote. 1226s # * 1226s # * Emits the "Surprised" D-Bus signal. 1226s # */ 1226s # void 1226s # com_acme_coyote_emit_surprised ( 1226s # ComAcmeCoyote *object) 1226s # { 1226s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_run ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Run", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_run(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_run_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_run_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_run_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Run", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_sleep ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Sleep", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_sleep_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_sleep_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_sleep_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Sleep", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1226s # */ 1226s # void 1226s # com_acme_coyote_call_attack ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1226s # "Attack", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # callback, 1226s # user_data); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack_finish: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_call_attack(). 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_attack_finish ( 1226s # ComAcmeCoyote *proxy, 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_call_attack_sync: 1226s # * @proxy: A #ComAcmeCoyoteProxy. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL. 1226s # * 1226s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1226s # * 1226s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1226s # */ 1226s # gboolean 1226s # com_acme_coyote_call_attack_sync ( 1226s # ComAcmeCoyote *proxy, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GVariant *_ret; 1226s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1226s # "Attack", 1226s # g_variant_new ("()"), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # cancellable, 1226s # error); 1226s # if (_ret == NULL) 1226s # goto _out; 1226s # g_variant_get (_ret, 1226s # "()"); 1226s # g_variant_unref (_ret); 1226s # _out: 1226s # return _ret != NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_run: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_run ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_sleep: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_sleep ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_complete_attack: 1226s # * @object: A #ComAcmeCoyote. 1226s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1226s # * 1226s # * 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. 1226s # * 1226s # * This method will free @invocation, you cannot use it afterwards. 1226s # */ 1226s # void 1226s # com_acme_coyote_complete_attack ( 1226s # ComAcmeCoyote *object G_GNUC_UNUSED, 1226s # GDBusMethodInvocation *invocation) 1226s # { 1226s # g_dbus_method_invocation_return_value (invocation, 1226s # g_variant_new ("()")); 1226s # } 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteProxy: 1226s # * 1226s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteProxyClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #ComAcmeCoyoteProxy. 1226s # */ 1226s # 1226s # struct _ComAcmeCoyoteProxyPrivate 1226s # { 1226s # GData *qdata; 1226s # }; 1226s # 1226s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1226s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # com_acme_coyote_proxy_finalize (GObject *object) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1226s # g_datalist_clear (&proxy->priv->qdata); 1226s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_get_property (GObject *object, 1226s # guint prop_id, 1226s # GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *variant; 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1226s # if (info->use_gvariant) 1226s # { 1226s # g_value_set_variant (value, variant); 1226s # } 1226s # else 1226s # { 1226s # if (variant != NULL) 1226s # g_dbus_gvariant_to_gvalue (variant, value); 1226s # } 1226s # if (variant != NULL) 1226s # g_variant_unref (variant); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1226s # GAsyncResult *res, 1226s # gpointer user_data) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info = user_data; 1226s # GError *error; 1226s # GVariant *_ret; 1226s # error = NULL; 1226s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1226s # if (!_ret) 1226s # { 1226s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1226s # info->parent_struct.name, 1226s # error->message, g_quark_to_string (error->domain), error->code); 1226s # g_error_free (error); 1226s # } 1226s # else 1226s # { 1226s # g_variant_unref (_ret); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_set_property (GObject *object, 1226s # guint prop_id, 1226s # const GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *variant; 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1226s # "org.freedesktop.DBus.Properties.Set", 1226s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1226s # G_DBUS_CALL_FLAGS_NONE, 1226s # -1, 1226s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1226s # g_variant_unref (variant); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1226s # const gchar *sender_name G_GNUC_UNUSED, 1226s # const gchar *signal_name, 1226s # GVariant *parameters) 1226s # { 1226s # _ExtendedGDBusSignalInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # gsize n; 1226s # guint signal_id; 1226s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1226s # if (info == NULL) 1226s # return; 1226s # num_params = g_variant_n_children (parameters); 1226s # paramv = g_new0 (GValue, num_params + 1); 1226s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1226s # g_value_set_object (¶mv[0], proxy); 1226s # g_variant_iter_init (&iter, parameters); 1226s # n = 1; 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1226s # g_signal_emitv (paramv, signal_id, 0, NULL); 1226s # for (n = 0; n < num_params + 1; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1226s # GVariant *changed_properties, 1226s # const gchar *const *invalidated_properties) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1226s # guint n; 1226s # const gchar *key; 1226s # GVariantIter *iter; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # g_variant_get (changed_properties, "a{sv}", &iter); 1226s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1226s # g_datalist_remove_data (&proxy->priv->qdata, key); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # g_variant_iter_free (iter); 1226s # for (n = 0; invalidated_properties[n] != NULL; n++) 1226s # { 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1226s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1226s # if (info != NULL) 1226s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1226s # } 1226s # } 1226s # 1226s # static const gchar * 1226s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1226s # GVariant *variant; 1226s # const gchar *value = NULL; 1226s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1226s # if (variant != NULL) 1226s # { 1226s # value = g_variant_get_string (variant, NULL); 1226s # g_variant_unref (variant); 1226s # } 1226s # return value; 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1226s # #else 1226s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1226s # #endif 1226s # 1226s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusProxyClass *proxy_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1226s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1226s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1226s # 1226s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1226s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1226s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1226s # 1226s # com_acme_coyote_override_properties (gobject_class, 1); 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # com_acme_coyote_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_sync: 1226s # * @connection: A #GDBusConnection. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1226s # * @user_data: User data to pass to @callback. 1226s # * 1226s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1226s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1226s # * 1226s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1226s # */ 1226s # void 1226s # com_acme_coyote_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data) 1226s # { 1226s # 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); 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus_finish: 1226s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error) 1226s # { 1226s # GObject *ret; 1226s # GObject *source_object; 1226s # source_object = g_async_result_get_source_object (res); 1226s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1226s # g_object_unref (source_object); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_proxy_new_for_bus_sync: 1226s # * @bus_type: A #GBusType. 1226s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1226s # * @name: A bus name (well-known or unique). 1226s # * @object_path: An object path. 1226s # * @cancellable: (nullable): A #GCancellable or %NULL. 1226s # * @error: Return location for error or %NULL 1226s # * 1226s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1226s # * 1226s # * The calling thread is blocked until a reply is received. 1226s # * 1226s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error) 1226s # { 1226s # GInitable *ret; 1226s # 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); 1226s # if (ret != NULL) 1226s # return COM_ACME_COYOTE (ret); 1226s # else 1226s # return NULL; 1226s # } 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteSkeleton: 1226s # * 1226s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1226s # */ 1226s # 1226s # /** 1226s # * ComAcmeCoyoteSkeletonClass: 1226s # * @parent_class: The parent class. 1226s # * 1226s # * Class structure for #ComAcmeCoyoteSkeleton. 1226s # */ 1226s # 1226s # struct _ComAcmeCoyoteSkeletonPrivate 1226s # { 1226s # GValue *properties; 1226s # GList *changed_properties; 1226s # GSource *changed_properties_idle_source; 1226s # GMainContext *context; 1226s # GMutex lock; 1226s # }; 1226s # 1226s # static void 1226s # _com_acme_coyote_skeleton_handle_method_call ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name, 1226s # const gchar *method_name, 1226s # GVariant *parameters, 1226s # GDBusMethodInvocation *invocation, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # _ExtendedGDBusMethodInfo *info; 1226s # GVariantIter iter; 1226s # GVariant *child; 1226s # GValue *paramv; 1226s # gsize num_params; 1226s # guint num_extra; 1226s # gsize n; 1226s # guint signal_id; 1226s # GValue return_value = G_VALUE_INIT; 1226s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1226s # g_assert (info != NULL); 1226s # num_params = g_variant_n_children (parameters); 1226s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1226s # n = 0; 1226s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1226s # g_value_set_object (¶mv[n++], skeleton); 1226s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1226s # g_value_set_object (¶mv[n++], invocation); 1226s # if (info->pass_fdlist) 1226s # { 1226s # #ifdef G_OS_UNIX 1226s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1226s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1226s # #else 1226s # g_assert_not_reached (); 1226s # #endif 1226s # } 1226s # g_variant_iter_init (&iter, parameters); 1226s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1226s # { 1226s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1226s # if (arg_info->use_gvariant) 1226s # { 1226s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1226s # g_value_set_variant (¶mv[n], child); 1226s # n++; 1226s # } 1226s # else 1226s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1226s # g_variant_unref (child); 1226s # } 1226s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1226s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1226s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1226s # if (!g_value_get_boolean (&return_value)) 1226s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1226s # g_value_unset (&return_value); 1226s # for (n = 0; n < num_params + num_extra; n++) 1226s # g_value_unset (¶mv[n]); 1226s # g_free (paramv); 1226s # } 1226s # 1226s # static GVariant * 1226s # _com_acme_coyote_skeleton_handle_get_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # GVariant *ret; 1226s # ret = NULL; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # g_value_init (&value, pspec->value_type); 1226s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1226s # g_value_unset (&value); 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static gboolean 1226s # _com_acme_coyote_skeleton_handle_set_property ( 1226s # GDBusConnection *connection G_GNUC_UNUSED, 1226s # const gchar *sender G_GNUC_UNUSED, 1226s # const gchar *object_path G_GNUC_UNUSED, 1226s # const gchar *interface_name G_GNUC_UNUSED, 1226s # const gchar *property_name, 1226s # GVariant *variant, 1226s # GError **error, 1226s # gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GValue value = G_VALUE_INIT; 1226s # GParamSpec *pspec; 1226s # _ExtendedGDBusPropertyInfo *info; 1226s # gboolean ret; 1226s # ret = FALSE; 1226s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1226s # g_assert (info != NULL); 1226s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1226s # if (pspec == NULL) 1226s # { 1226s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1226s # } 1226s # else 1226s # { 1226s # if (info->use_gvariant) 1226s # g_value_set_variant (&value, variant); 1226s # else 1226s # g_dbus_gvariant_to_gvalue (variant, &value); 1226s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1226s # g_value_unset (&value); 1226s # ret = TRUE; 1226s # } 1226s # return ret; 1226s # } 1226s # 1226s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1226s # { 1226s # _com_acme_coyote_skeleton_handle_method_call, 1226s # _com_acme_coyote_skeleton_handle_get_property, 1226s # _com_acme_coyote_skeleton_handle_set_property, 1226s # {NULL} 1226s # }; 1226s # 1226s # static GDBusInterfaceInfo * 1226s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return com_acme_coyote_interface_info (); 1226s # } 1226s # 1226s # static GDBusInterfaceVTable * 1226s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1226s # { 1226s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1226s # } 1226s # 1226s # static GVariant * 1226s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1226s # 1226s # GVariantBuilder builder; 1226s # guint n; 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1226s # goto out; 1226s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1226s # { 1226s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1226s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1226s # { 1226s # GVariant *value; 1226s # 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); 1226s # if (value != NULL) 1226s # { 1226s # g_variant_take_ref (value); 1226s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1226s # g_variant_unref (value); 1226s # } 1226s # } 1226s # } 1226s # out: 1226s # return g_variant_builder_end (&builder); 1226s # } 1226s # 1226s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1226s # gboolean emit_changed = FALSE; 1226s # 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # { 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # skeleton->priv->changed_properties_idle_source = NULL; 1226s # emit_changed = TRUE; 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # 1226s # if (emit_changed) 1226s # _com_acme_coyote_emit_changed (skeleton); 1226s # } 1226s # 1226s # static void 1226s # _com_acme_coyote_on_signal_surprised ( 1226s # ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # 1226s # GList *connections, *l; 1226s # GVariant *signal_variant; 1226s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1226s # 1226s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1226s # for (l = connections; l != NULL; l = l->next) 1226s # { 1226s # GDBusConnection *connection = l->data; 1226s # g_dbus_connection_emit_signal (connection, 1226s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1226s # signal_variant, NULL); 1226s # } 1226s # g_variant_unref (signal_variant); 1226s # g_list_free_full (connections, g_object_unref); 1226s # } 1226s # 1226s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1226s # 1226s # #else 1226s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1226s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1226s # 1226s # #endif 1226s # static void 1226s # com_acme_coyote_skeleton_finalize (GObject *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # guint n; 1226s # for (n = 0; n < 1; n++) 1226s # g_value_unset (&skeleton->priv->properties[n]); 1226s # g_free (skeleton->priv->properties); 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # if (skeleton->priv->changed_properties_idle_source != NULL) 1226s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1226s # g_main_context_unref (skeleton->priv->context); 1226s # g_mutex_clear (&skeleton->priv->lock); 1226s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_get_property (GObject *object, 1226s # guint prop_id, 1226s # GValue *value, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # } 1226s # 1226s # static gboolean 1226s # _com_acme_coyote_emit_changed (gpointer user_data) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1226s # GList *l; 1226s # GVariantBuilder builder; 1226s # GVariantBuilder invalidated_builder; 1226s # guint num_changes; 1226s # 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1226s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1226s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1226s # { 1226s # ChangedProperty *cp = l->data; 1226s # GVariant *variant; 1226s # const GValue *cur_value; 1226s # 1226s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1226s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1226s # { 1226s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1226s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1226s # g_variant_unref (variant); 1226s # num_changes++; 1226s # } 1226s # } 1226s # if (num_changes > 0) 1226s # { 1226s # GList *connections, *ll; 1226s # GVariant *signal_variant; 1226s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1226s # &builder, &invalidated_builder)); 1226s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1226s # for (ll = connections; ll != NULL; ll = ll->next) 1226s # { 1226s # GDBusConnection *connection = ll->data; 1226s # 1226s # g_dbus_connection_emit_signal (connection, 1226s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1226s # "org.freedesktop.DBus.Properties", 1226s # "PropertiesChanged", 1226s # signal_variant, 1226s # NULL); 1226s # } 1226s # g_variant_unref (signal_variant); 1226s # g_list_free_full (connections, g_object_unref); 1226s # } 1226s # else 1226s # { 1226s # g_variant_builder_clear (&builder); 1226s # g_variant_builder_clear (&invalidated_builder); 1226s # } 1226s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1226s # skeleton->priv->changed_properties = NULL; 1226s # skeleton->priv->changed_properties_idle_source = NULL; 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # return FALSE; 1226s # } 1226s # 1226s # static void 1226s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1226s # { 1226s # ChangedProperty *cp; 1226s # GList *l; 1226s # cp = NULL; 1226s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1226s # { 1226s # ChangedProperty *i_cp = l->data; 1226s # if (i_cp->info == info) 1226s # { 1226s # cp = i_cp; 1226s # break; 1226s # } 1226s # } 1226s # if (cp == NULL) 1226s # { 1226s # cp = g_new0 (ChangedProperty, 1); 1226s # cp->prop_id = prop_id; 1226s # cp->info = info; 1226s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1226s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1226s # g_value_copy (orig_value, &cp->orig_value); 1226s # } 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_notify (GObject *object, 1226s # GParamSpec *pspec G_GNUC_UNUSED) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # if (skeleton->priv->changed_properties != NULL && 1226s # skeleton->priv->changed_properties_idle_source == NULL) 1226s # { 1226s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1226s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1226s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1226s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1226s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1226s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_set_property (GObject *object, 1226s # guint prop_id, 1226s # const GValue *value, 1226s # GParamSpec *pspec) 1226s # { 1226s # const _ExtendedGDBusPropertyInfo *info; 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1226s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # g_object_freeze_notify (object); 1226s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1226s # { 1226s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1226s # info->emits_changed_signal) 1226s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1226s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1226s # g_object_notify_by_pspec (object, pspec); 1226s # } 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # g_object_thaw_notify (object); 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1226s # { 1226s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1226s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1226s # #else 1226s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1226s # #endif 1226s # 1226s # g_mutex_init (&skeleton->priv->lock); 1226s # skeleton->priv->context = g_main_context_ref_thread_default (); 1226s # skeleton->priv->properties = g_new0 (GValue, 1); 1226s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1226s # } 1226s # 1226s # static const gchar * 1226s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1226s # { 1226s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1226s # const gchar *value; 1226s # g_mutex_lock (&skeleton->priv->lock); 1226s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1226s # g_mutex_unlock (&skeleton->priv->lock); 1226s # return value; 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1226s # { 1226s # GObjectClass *gobject_class; 1226s # GDBusInterfaceSkeletonClass *skeleton_class; 1226s # 1226s # gobject_class = G_OBJECT_CLASS (klass); 1226s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1226s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1226s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1226s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1226s # 1226s # 1226s # com_acme_coyote_override_properties (gobject_class, 1); 1226s # 1226s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1226s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1226s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1226s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1226s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1226s # 1226s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1226s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1226s # #endif 1226s # } 1226s # 1226s # static void 1226s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1226s # { 1226s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1226s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1226s # } 1226s # 1226s # /** 1226s # * com_acme_coyote_skeleton_new: 1226s # * 1226s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1226s # * 1226s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1226s # */ 1226s # ComAcmeCoyote * 1226s # com_acme_coyote_skeleton_new (void) 1226s # { 1226s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1226s # } 1226s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1226s # tmpdir: /tmp/tmpxy1g3we0 1226s # codegen: /usr/bin/gdbus-codegen 1226s # /tmp/tmpxy1g3we0/tmp2y_1c6sb.xml: 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxy1g3we0/tmp2y_1c6sb.xml', '--output', '-', '--header'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifndef __STDOUT__ 1226s # #define __STDOUT__ 1226s # 1226s # #include 1226s # 1226s # G_BEGIN_DECLS 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for FDPassing */ 1226s # 1226s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1226s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1226s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1226s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1226s # 1226s # struct _FDPassing; 1226s # typedef struct _FDPassing FDPassing; 1226s # typedef struct _FDPassingIface FDPassingIface; 1226s # 1226s # struct _FDPassingIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # gboolean (*handle_hello_fd) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *arg_greeting); 1226s # 1226s # gboolean (*handle_no_annotation) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale); 1226s # 1226s # gboolean (*handle_no_annotation_nested) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *arg_files); 1226s # 1226s # }; 1226s # 1226s # GType fdpassing_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1226s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void fdpassing_complete_hello_fd ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *response); 1226s # 1226s # void fdpassing_complete_no_annotation ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *response, 1226s # const gchar *response_locale); 1226s # 1226s # void fdpassing_complete_no_annotation_nested ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void fdpassing_call_hello_fd ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GUnixFDList *fd_list, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_hello_fd_finish ( 1226s # FDPassing *proxy, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_hello_fd_sync ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GUnixFDList *fd_list, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_finish ( 1226s # FDPassing *proxy, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation_nested ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_finish ( 1226s # FDPassing *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1226s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1226s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1226s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1226s # 1226s # typedef struct _FDPassingProxy FDPassingProxy; 1226s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1226s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1226s # 1226s # struct _FDPassingProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # FDPassingProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void fdpassing_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1226s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1226s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1226s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1226s # 1226s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1226s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1226s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1226s # 1226s # struct _FDPassingSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # FDPassingSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # FDPassing *fdpassing_skeleton_new (void); 1226s # 1226s # 1226s # G_END_DECLS 1226s # 1226s # #endif /* __STDOUT__ */ 1226s # /tmp/tmpxy1g3we0/tmp_yjs4uix.xml: 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxy1g3we0/tmp_yjs4uix.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifndef __STDOUT__ 1226s # #define __STDOUT__ 1226s # 1226s # #include 1226s # 1226s # G_BEGIN_DECLS 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for FDPassing */ 1226s # 1226s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1226s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1226s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1226s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1226s # 1226s # struct _FDPassing; 1226s # typedef struct _FDPassing FDPassing; 1226s # typedef struct _FDPassingIface FDPassingIface; 1226s # 1226s # struct _FDPassingIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # gboolean (*handle_hello_fd) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *arg_greeting); 1226s # 1226s # gboolean (*handle_no_annotation) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale); 1226s # 1226s # gboolean (*handle_no_annotation_nested) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *arg_files); 1226s # 1226s # }; 1226s # 1226s # GType fdpassing_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1226s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void fdpassing_complete_hello_fd ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *response); 1226s # 1226s # void fdpassing_complete_no_annotation ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GVariant *response, 1226s # const gchar *response_locale); 1226s # 1226s # void fdpassing_complete_no_annotation_nested ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void fdpassing_call_hello_fd ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GUnixFDList *fd_list, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_hello_fd_finish ( 1226s # FDPassing *proxy, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_hello_fd_sync ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GUnixFDList *fd_list, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_finish ( 1226s # FDPassing *proxy, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation_nested ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_finish ( 1226s # FDPassing *proxy, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1226s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1226s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1226s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1226s # 1226s # typedef struct _FDPassingProxy FDPassingProxy; 1226s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1226s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1226s # 1226s # struct _FDPassingProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # FDPassingProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void fdpassing_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1226s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1226s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1226s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1226s # 1226s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1226s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1226s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1226s # 1226s # struct _FDPassingSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # FDPassingSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # FDPassing *fdpassing_skeleton_new (void); 1226s # 1226s # 1226s # G_END_DECLS 1226s # 1226s # #endif /* __STDOUT__ */ 1226s # /tmp/tmpxy1g3we0/tmpjvl3u0bo.xml: 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # 1226s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxy1g3we0/tmpjvl3u0bo.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1226s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1226s # Output: /* 1226s # * This file is generated by gdbus-codegen, do not modify it. 1226s # * 1226s # * The license of this code is the same as for the D-Bus interface description 1226s # * it was derived from. Note that it links to GLib, so must comply with the 1226s # * LGPL linking clauses. 1226s # */ 1226s # 1226s # #ifndef __STDOUT__ 1226s # #define __STDOUT__ 1226s # 1226s # #include 1226s # 1226s # G_BEGIN_DECLS 1226s # 1226s # 1226s # /* ------------------------------------------------------------------------ */ 1226s # /* Declarations for FDPassing */ 1226s # 1226s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1226s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1226s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1226s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1226s # 1226s # struct _FDPassing; 1226s # typedef struct _FDPassing FDPassing; 1226s # typedef struct _FDPassingIface FDPassingIface; 1226s # 1226s # struct _FDPassingIface 1226s # { 1226s # GTypeInterface parent_iface; 1226s # 1226s # gboolean (*handle_hello_fd) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *arg_greeting); 1226s # 1226s # gboolean (*handle_no_annotation) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale); 1226s # 1226s # gboolean (*handle_no_annotation_nested) ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # GVariant *arg_files); 1226s # 1226s # }; 1226s # 1226s # GType fdpassing_get_type (void) G_GNUC_CONST; 1226s # 1226s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1226s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1226s # 1226s # 1226s # /* D-Bus method call completion functions: */ 1226s # void fdpassing_complete_hello_fd ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # const gchar *response); 1226s # 1226s # void fdpassing_complete_no_annotation ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list, 1226s # GVariant *response, 1226s # const gchar *response_locale); 1226s # 1226s # void fdpassing_complete_no_annotation_nested ( 1226s # FDPassing *object, 1226s # GDBusMethodInvocation *invocation, 1226s # GUnixFDList *fd_list); 1226s # 1226s # 1226s # 1226s # /* D-Bus method calls: */ 1226s # void fdpassing_call_hello_fd ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_hello_fd_finish ( 1226s # FDPassing *proxy, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_hello_fd_sync ( 1226s # FDPassing *proxy, 1226s # const gchar *arg_greeting, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # gchar **out_response, 1226s # GUnixFDList **out_fd_list, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_finish ( 1226s # FDPassing *proxy, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GUnixFDList **out_fd_list, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_greeting, 1226s # const gchar *arg_greeting_locale, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # GVariant **out_response, 1226s # gchar **out_response_locale, 1226s # GUnixFDList **out_fd_list, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_call_no_annotation_nested ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_finish ( 1226s # FDPassing *proxy, 1226s # GUnixFDList **out_fd_list, 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # 1226s # gboolean fdpassing_call_no_annotation_nested_sync ( 1226s # FDPassing *proxy, 1226s # GVariant *arg_files, 1226s # GDBusCallFlags call_flags, 1226s # gint timeout_msec, 1226s # GUnixFDList *fd_list, 1226s # GUnixFDList **out_fd_list, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1226s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1226s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1226s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1226s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1226s # 1226s # typedef struct _FDPassingProxy FDPassingProxy; 1226s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1226s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1226s # 1226s # struct _FDPassingProxy 1226s # { 1226s # /*< private >*/ 1226s # GDBusProxy parent_instance; 1226s # FDPassingProxyPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingProxyClass 1226s # { 1226s # GDBusProxyClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1226s # #endif 1226s # 1226s # void fdpassing_proxy_new ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_sync ( 1226s # GDBusConnection *connection, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # void fdpassing_proxy_new_for_bus ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GAsyncReadyCallback callback, 1226s # gpointer user_data); 1226s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1226s # GAsyncResult *res, 1226s # GError **error); 1226s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1226s # GBusType bus_type, 1226s # GDBusProxyFlags flags, 1226s # const gchar *name, 1226s # const gchar *object_path, 1226s # GCancellable *cancellable, 1226s # GError **error); 1226s # 1226s # 1226s # /* ---- */ 1226s # 1226s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1226s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1226s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1226s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1226s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1226s # 1226s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1226s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1226s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1226s # 1226s # struct _FDPassingSkeleton 1226s # { 1226s # /*< private >*/ 1226s # GDBusInterfaceSkeleton parent_instance; 1226s # FDPassingSkeletonPrivate *priv; 1226s # }; 1226s # 1226s # struct _FDPassingSkeletonClass 1226s # { 1226s # GDBusInterfaceSkeletonClass parent_class; 1226s # }; 1226s # 1226s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1226s # 1226s # #if GLIB_CHECK_VERSION(2, 44, 0) 1226s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1226s # #endif 1226s # 1226s # FDPassing *fdpassing_skeleton_new (void); 1226s # 1226s # 1226s # G_END_DECLS 1226s # 1226s # #endif /* __STDOUT__ */ 1226s 1..39 1226s ok - glib/codegen.py.test 1226s # Running test: glib/memory-monitor.test 1226s TAP version 13 1226s # random seed: R02S454ce16bc50373b56cff0fb1f3751e21 1226s 1..1 1226s # Start of memory-monitor tests 1226s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1226s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1226s ok 1 /memory-monitor/default 1226s # End of memory-monitor tests 1226s ok - glib/memory-monitor.test 1226s # Running test: glib/basics-gobject.test 1226s TAP version 13 1226s # random seed: R02S9df9ac09d869aa12ce9ddc739eb83bb9 1226s 1..1 1226s # Start of gobject tests 1226s # private data during initialization: 54321 == 54321 1226s # MAIN: emit test-signal: 1226s # ::test_signal default_handler called 1226s # ::test_signal default_handler called 1226s # ::test_signal default_handler called 1226s # signal return: "" 1226s # MAIN: call iface print-string on test and derived object: 1226s # Iface-FOO: "iface-string-from-test-type" from 0x1834c48 1226s # Iface-BAR: "iface-string-from-derived-type" from 0x1834aa0 1226s # chaining: 1226s # Iface-FOO: "iface-string-from-derived-type" from 0x1834aa0 1226s # private data after initialization: 54321 == 54321 1226s ok 1 /gobject/basics 1226s # End of gobject tests 1226s ok - glib/basics-gobject.test 1226s # Running test: glib/environment.test 1226s TAP version 13 1226s # random seed: R02S82558eb73f858e1af1b6cd5b927320b6 1226s 1..6 1226s # Start of environ tests 1226s # /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. 1226s ok 1 /environ/listenv 1226s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1226s ok 2 /environ/getenv 1226s ok 3 /environ/setenv 1226s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1226s ok 4 /environ/array 1226s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1226s ok 5 /environ/null 1226s # /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. 1226s ok 6 /environ/case 1226s # End of environ tests 1226s ok - glib/environment.test 1226s # Running test: glib/utils-c-11.test 1226s TAP version 13 1226s # random seed: R02S484c88534e7662e1bb3ba602d01ad73f 1226s 1..40 1226s # Start of utils tests 1226s ok 1 /utils/language-names 1226s ok 2 /utils/locale-variants 1226s ok 3 /utils/version 1226s ok 4 /utils/appname 1226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1226s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1226s ok 5 /utils/prgname-thread-safety 1226s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1226s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1226s ok 6 /utils/tmpdir 1226s ok 7 /utils/basic_bits 1226s ok 8 /utils/bits 1226s ok 9 /utils/swap 1226s ok 10 /utils/find-program 1226s ok 11 /utils/find-program-for-path 1226s ok 12 /utils/debug 1226s ok 13 /utils/codeset 1226s ok 14 /utils/codeset2 1226s ok 15 /utils/console-charset 1226s ok 16 /utils/gettext 1226s ok 17 /utils/username 1226s ok 18 /utils/realname 1226s ok 19 /utils/hostname 1226s ok 20 /utils/xdgdirs 1226s ok 21 /utils/specialdir 1226s # NAME: Ubuntu 1226s ok 22 /utils/os-info 1226s ok 23 /utils/clear-pointer 1226s ok 24 /utils/clear-pointer-cast 1226s ok 25 /utils/take-pointer 1226s ok 26 /utils/clear-source 1226s ok 27 /utils/misc-mem 1226s # /utils/aligned-mem summary: Aligned memory allocator 1226s # Alignment must not be zero 1226s # Alignment must be a power of two 1226s # Alignment must be a multiple of sizeof(void*) 1227s ok 28 /utils/aligned-mem 1227s # /utils/free-sized summary: Check that g_free_sized() works 1227s ok 29 /utils/free-sized 1227s ok 30 /utils/nullify 1227s ok 31 /utils/atexit 1227s ok 32 /utils/check-setuid 1227s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1227s ok 33 /utils/int-limits 1227s ok 34 /utils/clear-list 1227s ok 35 /utils/clear-slist 1227s # Start of specialdir tests 1227s ok 36 /utils/specialdir/desktop 1227s # End of specialdir tests 1227s # Start of clear-pointer tests 1227s ok 37 /utils/clear-pointer/side-effects 1227s # End of clear-pointer tests 1227s # Start of aligned-mem tests 1227s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1227s ok 38 /utils/aligned-mem/alignment 1227s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1227s ok 39 /utils/aligned-mem/zeroed 1227s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1227s ok 40 /utils/aligned-mem/free-sized 1227s # Start of subprocess tests 1227s # End of subprocess tests 1227s # End of aligned-mem tests 1227s # End of utils tests 1227s ok - glib/utils-c-11.test 1227s # Running test: glib/dbus-appinfo.test 1227s TAP version 13 1227s # random seed: R02Sc40a18dca7c7fa428b1484987ccffe2d 1227s 1..3 1227s # Start of appinfo tests 1227s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1227s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1227s ok 1 /appinfo/dbusappinfo 1227s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1227s dbus-daemon[1495]: [session uid=1000 pid=1495] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=1494 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1227s # Acquired a message bus connection 1227s dbus-daemon[1495]: [session uid=1000 pid=1495] Successfully activated service 'org.freedesktop.portal.Documents' 1227s # Acquired the name org.freedesktop.portal.Documents 1227s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1227s ok 2 /appinfo/flatpak-doc-export 1227s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1227s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1227s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1227s ok 3 /appinfo/flatpak-missing-doc-export 1227s # End of appinfo tests 1227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1227s # Lost the name org.freedesktop.portal.Documents 1227s ok - glib/dbus-appinfo.test 1227s # Running test: glib/refcount-macro.test 1227s TAP version 13 1227s # random seed: R02S72a702e5e8408c8846e746f51592e1db 1227s 1..4 1227s # Start of refcount tests 1227s ok 1 /refcount/grefcount 1227s ok 2 /refcount/gatomicrefcount 1227s # Start of grefcount tests 1227s ok 3 /refcount/grefcount/saturation 1227s # End of grefcount tests 1227s # Start of gatomicrefcount tests 1227s ok 4 /refcount/gatomicrefcount/saturation 1227s # End of gatomicrefcount tests 1227s # End of refcount tests 1227s ok - glib/refcount-macro.test 1227s # Running test: glib/bindinggroup.test 1227s TAP version 13 1227s # random seed: R02S4c32128e307448dbb9ff55a1466976f8 1227s 1..11 1227s # Start of GObject tests 1227s # Start of BindingGroup tests 1227s ok 1 /GObject/BindingGroup/invalid 1227s ok 2 /GObject/BindingGroup/default 1227s ok 3 /GObject/BindingGroup/bidirectional 1227s ok 4 /GObject/BindingGroup/transform 1227s ok 5 /GObject/BindingGroup/transform-closures 1227s ok 6 /GObject/BindingGroup/same-object 1227s ok 7 /GObject/BindingGroup/weak-ref-source 1227s ok 8 /GObject/BindingGroup/weak-ref-target 1227s ok 9 /GObject/BindingGroup/properties 1227s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1227s ok 11 /GObject/BindingGroup/empty-closures 1227s # End of BindingGroup tests 1227s # End of GObject tests 1227s ok - glib/bindinggroup.test 1227s # Running test: glib/socket-service.test 1227s TAP version 13 1227s # random seed: R02Sc6884dd82582ba001e764fba3265032e 1227s 1..4 1227s # Start of socket-service tests 1227s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1227s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64ae30 and GSocketClientAsyncConnectData 0x6465d0 1227s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1227s ok 1 /socket-service/start-stop 1227s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64bf88 and GSocketClientAsyncConnectData 0x64be00 1227s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1227s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1227s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64c358 for GSocketClientAsyncConnectData 0x6465d0 1227s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1227s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1227s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1227s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1227s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1227s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64b378 for GSocketClientAsyncConnectData 0x64be00 1227s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1227s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1227s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1227s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1227s ok 2 /socket-service/read_write_async 1227s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64e418 and GSocketClientAsyncConnectData 0x64e3d0 1227s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1227s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1227s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64e498 for GSocketClientAsyncConnectData 0x64e3d0 1227s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1227s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1227s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1227s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1227s ok 3 /socket-service/read_writev_async 1227s # Start of threaded tests 1227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1227s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64e200 and GSocketClientAsyncConnectData 0x64ce30 1227s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1227s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1227s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64f2d8 for GSocketClientAsyncConnectData 0x64ce30 1227s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1227s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1227s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1227s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1227s ok 4 /socket-service/threaded/712570 1227s # End of threaded tests 1227s # End of socket-service tests 1227s ok - glib/socket-service.test 1227s # Running test: glib/markup-escape.test 1227s TAP version 13 1227s # random seed: R02S847a34fdddb8c4c08fa21857537d8ccd 1227s 1..41 1227s # Start of markup tests 1227s ok 1 /markup/format 1227s # Start of escape-text tests 1227s ok 2 /markup/escape-text/0 1227s ok 3 /markup/escape-text/1 1227s ok 4 /markup/escape-text/2 1227s ok 5 /markup/escape-text/3 1227s ok 6 /markup/escape-text/4 1227s ok 7 /markup/escape-text/5 1227s ok 8 /markup/escape-text/6 1227s ok 9 /markup/escape-text/7 1227s ok 10 /markup/escape-text/8 1227s ok 11 /markup/escape-text/9 1227s ok 12 /markup/escape-text/10 1227s ok 13 /markup/escape-text/11 1227s ok 14 /markup/escape-text/12 1227s ok 15 /markup/escape-text/13 1227s ok 16 /markup/escape-text/14 1227s ok 17 /markup/escape-text/15 1227s ok 18 /markup/escape-text/16 1227s ok 19 /markup/escape-text/17 1227s ok 20 /markup/escape-text/18 1227s ok 21 /markup/escape-text/19 1227s ok 22 /markup/escape-text/20 1227s ok 23 /markup/escape-text/21 1227s ok 24 /markup/escape-text/22 1227s # End of escape-text tests 1227s # Start of escape-unichar tests 1227s ok 25 /markup/escape-unichar/0 1227s ok 26 /markup/escape-unichar/1 1227s ok 27 /markup/escape-unichar/2 1227s ok 28 /markup/escape-unichar/3 1227s ok 29 /markup/escape-unichar/4 1227s ok 30 /markup/escape-unichar/5 1227s ok 31 /markup/escape-unichar/6 1227s ok 32 /markup/escape-unichar/7 1227s ok 33 /markup/escape-unichar/8 1227s ok 34 /markup/escape-unichar/9 1227s ok 35 /markup/escape-unichar/10 1227s ok 36 /markup/escape-unichar/11 1227s ok 37 /markup/escape-unichar/12 1227s ok 38 /markup/escape-unichar/13 1227s ok 39 /markup/escape-unichar/14 1227s ok 40 /markup/escape-unichar/15 1227s ok 41 /markup/escape-unichar/16 1227s # End of escape-unichar tests 1227s # End of markup tests 1227s ok - glib/markup-escape.test 1227s # Running test: glib/strvbuilder.test 1227s TAP version 13 1227s # random seed: R02Scf30b5e744e2a56afa987761d82c577d 1227s 1..6 1227s # Start of strvbuilder tests 1227s ok 1 /strvbuilder/empty 1227s ok 2 /strvbuilder/add 1227s ok 3 /strvbuilder/addv 1227s ok 4 /strvbuilder/add_many 1227s ok 5 /strvbuilder/take 1227s ok 6 /strvbuilder/ref 1227s # End of strvbuilder tests 1227s ok - glib/strvbuilder.test 1227s # Running test: glib/mapping.test 1227s TAP version 13 1227s # random seed: R02Sa295ebacf5c85e756fb44f8c56af5d98 1227s 1..3 1227s # Start of mapping tests 1227s # test_mapping: ok 1227s ok 1 /mapping/flags 1227s ok 2 /mapping/private 1227s # Subtest: /usr/libexec/installed-tests/glib/mapping 1227s # # random seed: R02Sf83601ae5cb18646d2f5eb395e6b8a0d 1227s # test_child_private: child spawned 1227s # test_child_private: received first child signal 1227s # # test_child_private: received parent signal 1227s # test_child_private: received second child signal 1227s ok 3 /mapping/private-child 1227s # End of mapping tests 1227s ok - glib/mapping.test 1227s # Running test: glib/mem-overflow.test 1227s TAP version 13 1227s # random seed: R02Sebf1abc7ca6c421580786cf13a7a6e54 1227s 1..2 1227s # Start of mem tests 1227s ok 1 /mem/overflow 1227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1227s ok 2 /mem/empty-alloc 1227s # Start of overflow tests 1227s # Start of subprocess tests 1227s # End of subprocess tests 1227s # End of overflow tests 1227s # Start of empty-alloc tests 1227s # End of empty-alloc tests 1227s # End of mem tests 1227s ok - glib/mem-overflow.test 1227s # Running test: glib/spawn-multithreaded.test 1227s TAP version 13 1227s # random seed: R02S7e5a9b7bc09dc85ae1880148f02ab31f 1227s 1..4 1227s # Start of gthread tests 1228s # Child 1558 (ttl 1) exited, status 0 1229s # Executing: glib/spawn-multithreaded.test 1229s # Child 1559 (ttl 2) exited, status 0 1229s ok 1 /gthread/spawn-childs 1229s # slow test /gthread/spawn-childs executed in 2.04 secs 1229s # Created pid: 1564 (ttl 2) 1229s # Created pid: 1563 (ttl 1) 1230s # Child 1563 (ttl 1) exited, status 0 1231s # Child 1564 (ttl 2) exited, status 0 1231s ok 2 /gthread/spawn-childs-threads 1231s # slow test /gthread/spawn-childs-threads executed in 2.02 secs 1231s ok 3 /gthread/spawn-sync 1231s ok 4 /gthread/spawn-async 1231s # End of gthread tests 1231s ok - glib/spawn-multithreaded.test 1231s # Running test: glib/union-info.test 1231s TAP version 13 1231s # random seed: R02Sa30cc22bec4ea99a0addb0a5e1c064b4 1231s 1..2 1231s # Start of union-info tests 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_PA1YK2/union-info/basic/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_PA1YK2/union-info/basic/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PA1YK2/union-info/basic/.dirs/runtime 1231s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1231s # /union-info/basic summary: Test basic properties of GIUnionInfo 1231s ok 1 /union-info/basic 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_PA1YK2/union-info/methods/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_PA1YK2/union-info/methods/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PA1YK2/union-info/methods/.dirs/runtime 1231s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1231s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1231s ok 2 /union-info/methods 1231s # End of union-info tests 1231s ok - glib/union-info.test 1231s # Running test: glib/network-monitor.test 1231s TAP version 13 1231s # random seed: R02Se434a7f6ceefdacd2112a2c2cde6099d 1231s 1..4 1231s # Start of network-monitor tests 1231s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1231s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1231s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1231s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1231s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1231s ok 1 /network-monitor/default 1231s ok 2 /network-monitor/remove_default 1231s ok 3 /network-monitor/add_networks 1232s ok 4 /network-monitor/remove_networks 1232s # End of network-monitor tests 1232s ok - glib/network-monitor.test 1232s # Running test: glib/once.test 1232s TAP version 13 1232s # random seed: R02S1bbb00c9f66c9bbe43067dcbeb576b2b 1232s 1..5 1232s # Start of once tests 1232s # /once/single-threaded summary: Test g_once() usage from a single thread 1232s ok 1 /once/single-threaded 1232s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1232s ok 2 /once/multi-threaded 1232s # End of once tests 1232s # Start of once-init tests 1232s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1232s ok 3 /once-init/single-threaded 1232s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1232s ok 4 /once-init/multi-threaded 1232s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1232s ok 5 /once-init/string 1232s # End of once-init tests 1232s ok - glib/once.test 1232s # Running test: glib/uri.test 1232s TAP version 13 1232s # random seed: R02S85ade81d2f0ea9a7acf645d723bb22e7 1232s 1..24 1232s # Start of uri tests 1232s ok 1 /uri/file-to-uri 1232s ok 2 /uri/file-from-uri 1232s ok 3 /uri/file-roundtrip 1232s ok 4 /uri/list 1232s # Test 0: %2Babc %4F 1232s # Test 1: %2Babc %4F 1232s # Test 2: %00abc %4F 1232s # Test 3: /cursors/none.png 1232s # Test 4: /cursors%2fbad-subdir/none.png 1232s # Test 5: %0 1232s # Test 6: %ra 1232s # Test 7: %2r 1232s # Test 8: Timm B?der 1232s # Test 9: (null) 1232s ok 5 /uri/unescape-string 1232s ok 6 /uri/unescape-segment 1232s # Test 0: abcdefgABCDEFG._~ 1232s # Test 1: :+ \\?# 1232s # Test 2: a+b:c 1232s # Test 3: a+b:c\303\234 1232s # Test 4: \374;\322 1232s # Test 5: \303\261\303( 1232s ok 7 /uri/escape-string 1232s ok 8 /uri/escape-bytes 1232s ok 9 /uri/scheme 1232s ok 10 /uri/build 1232s ok 11 /uri/split 1232s ok 12 /uri/is_valid 1232s ok 13 /uri/to-string 1232s ok 14 /uri/join 1232s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1232s # Combination 0 1232s # Combination 1 1232s # Combination 2 1232s # Combination 3 1232s # Combination 4 1232s # Combination 5 1232s # Combination 6 1232s # Combination 7 1232s # Combination 8 1232s # Combination 9 1232s # Combination 10 1232s # Combination 11 1232s # Combination 12 1232s # Combination 13 1232s # Combination 14 1232s # Combination 15 1232s # Combination 16 1232s # Combination 17 1232s # Combination 18 1232s # Combination 19 1232s # Combination 20 1232s # Combination 21 1232s # Combination 22 1232s # Combination 23 1232s # Combination 24 1232s # Combination 25 1232s # Combination 26 1232s # Combination 27 1232s # Combination 28 1232s # Combination 29 1232s # Combination 30 1232s # Combination 31 1232s # Combination 32 1232s # Combination 33 1232s # Combination 34 1232s # Combination 35 1232s # Combination 36 1232s # Combination 37 1232s # Combination 38 1232s # Combination 39 1232s # Combination 40 1232s # Combination 41 1232s # Combination 42 1232s # Combination 43 1232s # Combination 44 1232s # Combination 45 1232s # Combination 46 1232s # Combination 47 1232s # Combination 48 1232s # Combination 49 1232s # Combination 50 1232s # Combination 51 1232s # Combination 52 1232s # Combination 53 1232s # Combination 54 1232s # Combination 55 1232s # Combination 56 1232s # Combination 57 1232s # Combination 58 1232s # Combination 59 1232s # Combination 60 1232s # Combination 61 1232s # Combination 62 1232s # Combination 63 1232s # Combination 64 1232s # Combination 65 1232s # Combination 66 1232s # Combination 67 1232s # Combination 68 1232s # Combination 69 1232s # Combination 70 1232s # Combination 71 1232s # Combination 72 1232s # Combination 73 1232s # Combination 74 1232s # Combination 75 1232s # Combination 76 1232s # Combination 77 1232s # Combination 78 1232s # Combination 79 1232s # Combination 80 1232s # Combination 81 1232s # Combination 82 1232s # Combination 83 1232s # Combination 84 1232s # Combination 85 1232s # Combination 86 1232s # Combination 87 1232s # Combination 88 1232s # Combination 89 1232s # Combination 90 1232s # Combination 91 1232s # Combination 92 1232s # Combination 93 1232s # Combination 94 1232s # Combination 95 1232s # Combination 96 1232s # Combination 97 1232s # Combination 98 1232s # Combination 99 1232s # Combination 100 1232s # Combination 101 1232s # Combination 102 1232s # Combination 103 1232s # Combination 104 1232s # Combination 105 1232s # Combination 106 1232s # Combination 107 1232s # Combination 108 1232s # Combination 109 1232s # Combination 110 1232s # Combination 111 1232s # Combination 112 1232s # Combination 113 1232s # Combination 114 1232s # Combination 115 1232s # Combination 116 1232s # Combination 117 1232s # Combination 118 1232s # Combination 119 1232s # Combination 120 1232s # Combination 121 1232s # Combination 122 1232s # Combination 123 1232s # Combination 124 1232s # Combination 125 1232s # Combination 126 1232s # Combination 127 1232s # Combination 128 1232s # Combination 129 1232s # Combination 130 1232s # Combination 131 1232s # Combination 132 1232s # Combination 133 1232s # Combination 134 1232s # Combination 135 1232s # Combination 136 1232s # Combination 137 1232s # Combination 138 1232s # Combination 139 1232s # Combination 140 1232s # Combination 141 1232s # Combination 142 1232s # Combination 143 1232s # Combination 144 1232s # Combination 145 1232s # Combination 146 1232s # Combination 147 1232s # Combination 148 1232s # Combination 149 1232s # Combination 150 1232s # Combination 151 1232s # Combination 152 1232s # Combination 153 1232s # Combination 154 1232s # Combination 155 1232s # Combination 156 1232s # Combination 157 1232s # Combination 158 1232s # Combination 159 1232s # Combination 160 1232s # Combination 161 1232s # Combination 162 1232s # Combination 163 1232s # Combination 164 1232s # Combination 165 1232s # Combination 166 1232s # Combination 167 1232s # Combination 168 1232s # Combination 169 1232s # Combination 170 1232s # Combination 171 1232s # Combination 172 1232s # Combination 173 1232s # Combination 174 1232s # Combination 175 1232s # Combination 176 1232s # Combination 177 1232s # Combination 178 1232s # Combination 179 1232s # Combination 180 1232s # Combination 181 1232s # Combination 182 1232s # Combination 183 1232s # Combination 184 1232s # Combination 185 1232s # Combination 186 1232s # Combination 187 1232s # Combination 188 1232s # Combination 189 1232s # Combination 190 1232s # Combination 191 1232s # Combination 192 1232s # Combination 193 1232s # Combination 194 1232s # Combination 195 1232s # Combination 196 1232s # Combination 197 1232s # Combination 198 1232s # Combination 199 1232s # Combination 200 1232s # Combination 201 1232s # Combination 202 1232s # Combination 203 1232s # Combination 204 1232s # Combination 205 1232s # Combination 206 1232s # Combination 207 1232s # Combination 208 1232s # Combination 209 1232s # Combination 210 1232s # Combination 211 1232s # Combination 212 1232s # Combination 213 1232s # Combination 214 1232s # Combination 215 1232s # Combination 216 1232s # Combination 217 1232s # Combination 218 1232s # Combination 219 1232s # Combination 220 1232s # Combination 221 1232s # Combination 222 1232s # Combination 223 1232s # Combination 224 1232s # Combination 225 1232s # Combination 226 1232s # Combination 227 1232s # Combination 228 1232s # Combination 229 1232s # Combination 230 1232s # Combination 231 1232s # Combination 232 1232s # Combination 233 1232s # Combination 234 1232s # Combination 235 1232s # Combination 236 1232s # Combination 237 1232s # Combination 238 1232s # Combination 239 1232s # Combination 240 1232s # Combination 241 1232s # Combination 242 1232s # Combination 243 1232s # Combination 244 1232s # Combination 245 1232s # Combination 246 1232s # Combination 247 1232s # Combination 248 1232s # Combination 249 1232s # Combination 250 1232s # Combination 251 1232s # Combination 252 1232s # Combination 253 1232s # Combination 254 1232s # Combination 255 1232s ok 15 /uri/join-split-round-trip 1232s ok 16 /uri/normalize 1232s # Start of unescape-bytes tests 1232s # Test 0: %00%00 1232s # Test 1: /cursors/none.png 1232s # Test 2: /cursors%2fbad-subdir/none.png 1232s # Test 3: %% 1232s # Test 4: % 1232s ok 17 /uri/unescape-bytes/nul-terminated 1232s # Test 0: %00%00 1232s # Test 1: /cursors/none.png 1232s # Test 2: /cursors%2fbad-subdir/none.png 1232s # Test 3: %% 1232s # Test 4: % 1232s ok 18 /uri/unescape-bytes/length 1232s # End of unescape-bytes tests 1232s # Start of parsing tests 1232s # Test 0: foo: 1232s # Test 1: file:/dev/null 1232s # Test 2: file:///dev/null 1232s # Test 3: ftp://user@host/path 1232s # Test 4: ftp://user@host:9999/path 1232s # Test 5: ftp://user:password@host/path 1232s # Test 6: ftp://user:password@host:9999/path 1232s # Test 7: ftp://user:password@host 1232s # Test 8: http://us%65r@host 1232s # Test 9: http://us%40r@host 1232s # Test 10: http://us%3ar@host 1232s # Test 11: http://us%2fr@host 1232s # Test 12: http://us%3fr@host 1232s # Test 13: http://host?query 1232s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1232s # 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 1232s # Test 16: http://space/%20 1232s # Test 17: http://delims/%3C%3E%23%25%22 1232s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1232s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1232s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1232s # Test 21: http://[3ffe:2a00:100:7031::1] 1232s # Test 22: http://[1080::8:800:200C:417A]/foo 1232s # Test 23: http://[::192.9.5.5]/ipng 1232s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1232s # Test 25: http://[2010:836B:4179::836B:4179] 1232s # Test 26: http://host/path with spaces 1232s # Test 27: http://host/path 1232s # Test 28: http://host/path 1232s # Test 29: http://host 1232s # Test 30: http://host:999 1232s # Test 31: http://host/pa 1232s # th 1232s # Test 32: http: 1232s # //host/path 1232s # Test 33: http:// host/path 1232s # Test 34: http://host/path? 1232s # Test 35: http://host/path# 1232s # Test 36: http://host/path% 1232s # Test 37: http://h%ost/path 1232s # Test 38: http://host/path%% 1232s # Test 39: http://host/path%%% 1232s # Test 40: http://host/path%/x/ 1232s # Test 41: http://host/path%0x/ 1232s # Test 42: http://host/path%ax 1232s # Test 43: http://host/p?th/ 1232s # Test 44: HTTP://////////////// 1232s # Test 45: http://@host 1232s # Test 46: http://:@host 1232s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1232s # Test 48: http://example.com/.. 1232s # Test 49: foo0://host/path 1232s # Test 50: f0.o://host/path 1232s # Test 51: http++://host/path 1232s # Test 52: http-ish://host/path 1232s # Test 53: http://[fe80::dead:beef%]/ 1232s # Test 54: http://[fe80::dead:beef%em1]/ 1232s # Test 55: http://[fe80::dead:beef%em1]/ 1232s # Test 56: http://[fe80::dead:beef%25em1]/ 1232s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1232s # Test 58: http://[fe80::dead:beef%25em%31]/ 1232s # Test 59: http://[fe80::dead:beef%10]/ 1232s # Test 60: http://[fe80::dead:beef%10]/ 1232s # Test 61: http://[fe80::dead:beef%25]/ 1232s # Test 62: http://[fe80::dead:beef%25]/ 1232s # Test 63: http://[192.168.0.1%25em1]/ 1232s # Test 64: http://[fe80::dead:beef%2em1]/ 1232s # Test 65: http://[fe80::dead:beef%2em1]/ 1232s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1232s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1232s # Test 68: http://xn--mixed-?p/ 1232s ok 19 /uri/parsing/absolute 1232s ok 20 /uri/parsing/relative 1232s # End of parsing tests 1232s # Start of iter-params tests 1232s # URI 0: p1=foo&p2=bar;p3=baz 1232s # URI 1: p1=foo&p2=bar 1232s # URI 2: p1=foo&&P1=bar 1232s # URI 3: %00=foo 1232s # URI 4: p1=%00 1232s # URI 5: p1=foo&p1=bar 1232s # URI 6: p1=foo&P1=bar 1232s # URI 7: =% 1232s # URI 8: = 1232s # URI 9: foo 1232s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1232s ok 21 /uri/iter-params/nul-terminated 1232s # URI 0: p1=foo&p2=bar;p3=baz 1232s # URI 1: p1=foo&p2=bar 1232s # URI 2: p1=foo&&P1=bar 1232s # URI 3: %00=foo 1232s # URI 4: p1=%00 1232s # URI 5: p1=foo&p1=bar 1232s # URI 6: p1=foo&P1=bar 1232s # URI 7: =% 1232s # URI 8: = 1232s # URI 9: foo 1232s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1232s ok 22 /uri/iter-params/length 1232s # End of iter-params tests 1232s # Start of parse-params tests 1232s # URI 0: p1=foo&p2=bar;p3=baz 1232s # URI 1: p1=foo&p2=bar 1232s # URI 2: p1=foo&&P1=bar 1232s # URI 3: %00=foo 1232s # URI 4: p1=%00 1232s # URI 5: p1=foo&p1=bar 1232s # URI 6: p1=foo&P1=bar 1232s # URI 7: =% 1232s # URI 8: = 1232s # URI 9: foo 1232s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1232s ok 23 /uri/parse-params/nul-terminated 1232s # URI 0: p1=foo&p2=bar;p3=baz 1232s # URI 1: p1=foo&p2=bar 1232s # URI 2: p1=foo&&P1=bar 1232s # URI 3: %00=foo 1232s # URI 4: p1=%00 1232s # URI 5: p1=foo&p1=bar 1232s # URI 6: p1=foo&P1=bar 1232s # URI 7: =% 1232s # URI 8: = 1232s # URI 9: foo 1232s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1232s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1232s ok 24 /uri/parse-params/length 1232s # End of parse-params tests 1232s # End of uri tests 1232s ok - glib/uri.test 1232s # Running test: glib/macros-c-99.test 1232s TAP version 13 1232s # random seed: R02S26e37558dfb09643e06b6a8a76865afb 1232s 1..4 1232s # Start of C tests 1232s ok 1 /C/standard-99 1232s # End of C tests 1232s # Start of alignof tests 1232s ok 2 /alignof/fallback 1232s # End of alignof tests 1232s # Start of assert tests 1232s ok 3 /assert/static 1232s # End of assert tests 1232s # Start of struct tests 1232s ok 4 /struct/sizeof_member 1232s # End of struct tests 1232s ok - glib/macros-c-99.test 1232s # Running test: glib/utf8-pointer.test 1232s TAP version 13 1232s # random seed: R02S8984885b9067fbe1292becbad9a64900 1232s 1..3 1232s # Start of utf8 tests 1233s ok 1 /utf8/offsets 1233s # slow test /utf8/offsets executed in 1.60 secs 1233s ok 2 /utf8/lengths 1233s ok 3 /utf8/find 1233s # End of utf8 tests 1233s ok - glib/utf8-pointer.test 1233s # Running test: glib/cxx-2b.test 1233s TAP version 13 1233s # random seed: R02Sa6d73c117b6f736437c348f7a9028406 1233s 1..2 1233s # Start of gtask tests 1233s # 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. 1233s ok 1 /gtask/name 1233s # Start of name tests 1233s # 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. 1233s ok 2 /gtask/name/macro-wrapper 1233s # End of name tests 1233s # End of gtask tests 1233s ok - glib/cxx-2b.test 1233s # Running test: glib/fileattributematcher.test 1233s TAP version 13 1233s # random seed: R02S99736dfc6217c98e013f0d57503a24ac 1233s 1..3 1233s # Start of fileattributematcher tests 1233s ok 1 /fileattributematcher/exact 1233s ok 2 /fileattributematcher/equality 1233s ok 3 /fileattributematcher/subtract 1233s # End of fileattributematcher tests 1233s ok - glib/fileattributematcher.test 1233s # Running test: glib/gobject-private.test 1233s TAP version 13 1233s # random seed: R02S66661eddefb8b56ff4ea383e816eada4 1233s 1..3 1233s # Start of private tests 1234s ok 1 /private/instance 1234s ok 2 /private/derived-instance 1234s ok 3 /private/mixed-derived-instance 1234s # End of private tests 1234s ok - glib/gobject-private.test 1234s # Running test: glib/binding.test 1234s TAP version 13 1234s # random seed: R02Sf5dba66d2283bb0862646b36c4ef7840 1234s 1..19 1234s # Start of binding tests 1234s ok 1 /binding/default 1234s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1234s ok 2 /binding/canonicalisation 1234s ok 3 /binding/bidirectional 1234s ok 4 /binding/transform 1234s ok 5 /binding/transform-default 1234s ok 6 /binding/transform-closure 1234s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1234s ok 7 /binding/chain 1234s ok 8 /binding/sync-create 1234s ok 9 /binding/invert-boolean 1234s ok 10 /binding/same-object 1234s ok 11 /binding/unbind 1234s ok 12 /binding/unbind-weak 1234s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1234s ok 13 /binding/unbind-multiple 1234s ok 14 /binding/fail 1234s ok 15 /binding/interface 1234s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1234s # Executing: glib/binding.test 1235s ok 16 /binding/concurrent-unbind 1235s # slow test /binding/concurrent-unbind executed in 1.08 secs 1235s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1235s ok 17 /binding/concurrent-finalizing 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1235s ok 18 /binding/dispose-source 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1235s ok 19 /binding/dispose-target 1235s # End of binding tests 1235s ok - glib/binding.test 1235s # Running test: glib/markup-subparser.test 1235s TAP version 13 1235s # random seed: R02Scaed8c318f27aa052800af99d50a7d24 1235s 1..14 1235s # Start of glib tests 1235s # Start of markup tests 1235s # Start of subparser tests 1235s # Start of success tests 1235s ok 1 /glib/markup/subparser/success/0 1235s ok 2 /glib/markup/subparser/success/1 1235s ok 3 /glib/markup/subparser/success/2 1235s ok 4 /glib/markup/subparser/success/3 1235s ok 5 /glib/markup/subparser/success/4 1235s ok 6 /glib/markup/subparser/success/5 1235s ok 7 /glib/markup/subparser/success/6 1235s # End of success tests 1235s # Start of failure tests 1235s ok 8 /glib/markup/subparser/failure/0 1235s ok 9 /glib/markup/subparser/failure/1 1235s ok 10 /glib/markup/subparser/failure/2 1235s ok 11 /glib/markup/subparser/failure/3 1235s ok 12 /glib/markup/subparser/failure/4 1235s ok 13 /glib/markup/subparser/failure/5 1235s ok 14 /glib/markup/subparser/failure/6 1235s # End of failure tests 1235s # End of subparser tests 1235s # End of markup tests 1235s # End of glib tests 1235s ok - glib/markup-subparser.test 1235s # Running test: glib/glistmodel.test 1235s TAP version 13 1235s # random seed: R02S9dba3b72677d3d3ac90a2f7cb69b601b 1235s 1..18 1235s # Start of glistmodel tests 1235s # Start of store tests 1235s ok 1 /glistmodel/store/properties 1235s ok 2 /glistmodel/store/non-gobjects 1235s ok 3 /glistmodel/store/boundaries 1235s ok 4 /glistmodel/store/refcounts 1235s ok 5 /glistmodel/store/sorted 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1235s ok 6 /glistmodel/store/splice-replace-middle 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1235s ok 7 /glistmodel/store/splice-replace-all 1235s ok 8 /glistmodel/store/splice-noop 1235s ok 9 /glistmodel/store/splice-remove-multiple 1235s ok 10 /glistmodel/store/splice-add-multiple 1235s ok 11 /glistmodel/store/splice-wrong-type 1235s ok 12 /glistmodel/store/item-type 1235s ok 13 /glistmodel/store/remove-all 1235s ok 14 /glistmodel/store/sort 1235s ok 15 /glistmodel/store/get-item-cache 1235s ok 16 /glistmodel/store/items-changed 1235s ok 17 /glistmodel/store/past-end 1235s ok 18 /glistmodel/store/find 1235s # End of store tests 1235s # End of glistmodel tests 1235s ok - glib/glistmodel.test 1235s # Running test: glib/properties-refcount3.test 1235s TAP version 13 1235s # random seed: R02S15c7ddff9fe19e76412a73895c4c7752 1235s 1..1 1235s # Start of gobject tests 1235s # Start of refcount tests 1239s # Executing: glib/properties-refcount3.test 1244s # Executing: glib/properties-refcount3.test 1249s # Executing: glib/properties-refcount3.test 1254s # Executing: glib/properties-refcount3.test 1259s # Executing: glib/properties-refcount3.test 1264s # Executing: glib/properties-refcount3.test 1265s # 1265s # stopping 1265s # 1265s # stopped 1265s # 1265s # 9966357 492020 1265s # 1265s ok 1 /gobject/refcount/properties-3 1265s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1265s # End of refcount tests 1265s # End of gobject tests 1265s ok - glib/properties-refcount3.test 1265s # Running test: glib/filter-streams.test 1265s TAP version 13 1265s # random seed: R02S4663d934df49885ad5087b6df927ca97 1265s 1..4 1265s # Start of filter-stream tests 1265s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1265s ok 1 /filter-stream/input 1265s ok 2 /filter-stream/output 1265s ok 3 /filter-stream/async-input 1265s ok 4 /filter-stream/async-output 1265s # End of filter-stream tests 1265s ok - glib/filter-streams.test 1265s # Running test: glib/spawn-singlethread.test 1265s TAP version 13 1265s # random seed: R02S6e352879aee554cad4422a9c9f957da7 1265s 1..9 1265s # Start of gthread tests 1265s ok 1 /gthread/spawn-single-sync 1265s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1265s ok 2 /gthread/spawn-stderr-socket 1265s ok 3 /gthread/spawn-single-async 1265s # thread 1 1265s # thread 1 1265s ok 4 /gthread/spawn-single-async-with-fds 1265s ok 5 /gthread/spawn-async-with-invalid-fds 1265s ok 6 /gthread/spawn-script 1265s ok 7 /gthread/spawn-posix-spawn 1265s # Start of spawn tests 1265s ok 8 /gthread/spawn/nonexistent 1265s # FD map: 1265s # • 5 → 15 1265s # • 6 → 16 1265s # • 7 → 17 1265s # • 8 → 18 1265s # • 9 → 19 1265s # • 10 → 20 1265s # • 11 → 21 1265s # • 12 → 22 1265s # • 13 → 23 1265s # • 3 → 13 1265s ok 9 /gthread/spawn/fd-assignment-clash 1265s # End of spawn tests 1265s # End of gthread tests 1265s ok - glib/spawn-singlethread.test 1265s # Running test: glib/refstring.test 1265s TAP version 13 1265s # random seed: R02Sf1535dd1c8f8599cd591a48eddc4684e 1265s 1..5 1265s # Start of refstring tests 1265s # s = 'hello, world' (0xb6beb0) 1265s ok 1 /refstring/base 1265s ok 2 /refstring/length 1265s ok 3 /refstring/length-auto 1265s ok 4 /refstring/length-nuls 1265s # s = 'hello, world' (0xb63fb0) 1265s # p = s = 'hello, world' (0xb63fb0) 1265s # releasing p[0xb63fb0] ('hello, world') 1265s # p = 'goodbye, world' (0xb63fd8) 1265s # releasing p[0xb63fd8] ('goodbye, world') 1265s # releasing s[0xb63fb0] ('hello, world') 1265s ok 5 /refstring/intern 1265s # End of refstring tests 1265s ok - glib/refstring.test 1265s # Running test: glib/fdo-notification-backend.test 1265s TAP version 13 1265s # random seed: R02S0be4c83fa2e273b5315e8aa05baf3732 1265s 1..2 1265s # Start of fdo-notification-backend tests 1265s # Test constructing a GFdoNotificationBackend 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s ok 1 /fdo-notification-backend/construction 1265s # Start of dbus tests 1265s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1265s ok 2 /fdo-notification-backend/dbus/activate-action 1265s # End of dbus tests 1265s # End of fdo-notification-backend tests 1265s ok - glib/fdo-notification-backend.test 1265s cleaning up pid 2498 1265s # Running test: glib/cxx.test 1266s TAP version 13 1266s # random seed: R02Sa75020528b917eb7799a7706a1a8f40e 1266s 1..2 1266s # Start of gtask tests 1266s # 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. 1266s ok 1 /gtask/name 1266s # Start of name tests 1266s # 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. 1266s ok 2 /gtask/name/macro-wrapper 1266s # End of name tests 1266s # End of gtask tests 1266s ok - glib/cxx.test 1266s # Running test: glib/data-input-stream.test 1266s TAP version 13 1266s # random seed: R02S516134b51808c021700b549492130558 1266s 1..10 1266s # Start of data-input-stream tests 1266s ok 1 /data-input-stream/basic 1266s ok 2 /data-input-stream/read-lines-LF 1266s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1266s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1266s ok 5 /data-input-stream/read-lines-CR 1266s ok 6 /data-input-stream/read-lines-CR-LF 1266s ok 7 /data-input-stream/read-lines-any 1266s ok 8 /data-input-stream/read-until 1266s ok 9 /data-input-stream/read-upto 1266s ok 10 /data-input-stream/read-int 1266s # End of data-input-stream tests 1266s ok - glib/data-input-stream.test 1266s # Running test: glib/enums.test 1266s TAP version 13 1266s # random seed: R02S8ec95998218912f9ca94d63159b521de 1266s 1..4 1266s # Start of enum tests 1266s ok 1 /enum/basic 1266s ok 2 /enum/define-type 1266s # End of enum tests 1266s # Start of flags tests 1266s ok 3 /flags/basic 1266s ok 4 /flags/define-type 1266s # End of flags tests 1266s ok - glib/enums.test 1266s # Running test: glib/atomic-c-99.test 1266s TAP version 13 1266s # random seed: R02Seabf1f4682b7a4fae1f919c8a0c88205 1266s 1..2 1266s # Start of atomic tests 1266s ok 1 /atomic/types 1266s ok 2 /atomic/threaded 1266s # End of atomic tests 1266s ok - glib/atomic-c-99.test 1266s # Running test: glib/error.test 1266s TAP version 13 1266s # random seed: R02S0160182ef9214b4fddb7105c729c8cd4 1266s 1..3 1266s # Start of error tests 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PA7YK2/error/from-errno/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PA7YK2/error/from-errno/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PA7YK2/error/from-errno/.dirs/system-config1:/tmp/test_error_PA7YK2/error/from-errno/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PA7YK2/error/from-errno/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PA7YK2/error/from-errno/.dirs/system-data1:/tmp/test_error_PA7YK2/error/from-errno/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PA7YK2/error/from-errno/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PA7YK2/error/from-errno/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PA7YK2/error/from-errno/.dirs/runtime 1266s ok 1 /error/from-errno 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_PA7YK2/error/from-file-error/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_PA7YK2/error/from-file-error/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PA7YK2/error/from-file-error/.dirs/runtime 1266s ok 2 /error/from-file-error 1266s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/home 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/cache 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_PA7YK2/error/from-win32-error/.dirs/system-config2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/config 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_PA7YK2/error/from-win32-error/.dirs/system-data2 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/data 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/state 1266s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_PA7YK2/error/from-win32-error/.dirs/runtime 1266s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1266s # End of error tests 1266s ok - glib/error.test 1266s # Running test: glib/array-test.test 1266s TAP version 13 1266s # random seed: R02S92a62b8190a098d1f983a420e7ef8389 1266s 1..113 1266s # Start of array tests 1266s ok 1 /array/ref-count 1266s ok 2 /array/steal 1266s ok 3 /array/clear-func 1266s ok 4 /array/binary-search 1266s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1266s ok 5 /array/copy-sized 1266s ok 6 /array/overflow-append-vals 1266s ok 7 /array/overflow-set-size 1266s # Start of new tests 1266s ok 8 /array/new/zero-terminated 1266s ok 9 /array/new/take 1266s ok 10 /array/new/take-zero-terminated 1266s # Start of take tests 1266s ok 11 /array/new/take/empty 1266s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1266s # End of take tests 1266s # End of new tests 1266s # Start of set-size tests 1266s ok 13 /array/set-size/non-zero-terminated-no-clear 1266s ok 14 /array/set-size/non-zero-terminated-clear 1266s ok 15 /array/set-size/zero-terminated-no-clear 1266s ok 16 /array/set-size/zero-terminated-clear 1266s # Start of sized tests 1266s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1266s ok 18 /array/set-size/sized/non-zero-terminated-clear 1266s ok 19 /array/set-size/sized/zero-terminated-no-clear 1266s ok 20 /array/set-size/sized/zero-terminated-clear 1266s # End of sized tests 1266s # End of set-size tests 1266s # Start of append-val tests 1266s ok 21 /array/append-val/non-zero-terminated-no-clear 1266s ok 22 /array/append-val/non-zero-terminated-clear 1266s ok 23 /array/append-val/zero-terminated-no-clear 1266s ok 24 /array/append-val/zero-terminated-clear 1266s # End of append-val tests 1266s # Start of prepend-val tests 1266s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1266s ok 26 /array/prepend-val/non-zero-terminated-clear 1266s ok 27 /array/prepend-val/zero-terminated-no-clear 1266s ok 28 /array/prepend-val/zero-terminated-clear 1266s # End of prepend-val tests 1266s # Start of prepend-vals tests 1266s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1266s ok 30 /array/prepend-vals/non-zero-terminated-clear 1266s ok 31 /array/prepend-vals/zero-terminated-no-clear 1266s ok 32 /array/prepend-vals/zero-terminated-clear 1266s # End of prepend-vals tests 1266s # Start of insert-vals tests 1266s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1266s ok 34 /array/insert-vals/non-zero-terminated-clear 1266s ok 35 /array/insert-vals/zero-terminated-no-clear 1266s ok 36 /array/insert-vals/zero-terminated-clear 1266s # End of insert-vals tests 1266s # Start of remove-index tests 1266s ok 37 /array/remove-index/non-zero-terminated-no-clear 1266s ok 38 /array/remove-index/non-zero-terminated-clear 1266s ok 39 /array/remove-index/zero-terminated-no-clear 1266s ok 40 /array/remove-index/zero-terminated-clear 1266s # End of remove-index tests 1266s # Start of remove-index-fast tests 1266s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1266s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1266s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1266s ok 44 /array/remove-index-fast/zero-terminated-clear 1266s # End of remove-index-fast tests 1266s # Start of remove-range tests 1266s ok 45 /array/remove-range/non-zero-terminated-no-clear 1266s ok 46 /array/remove-range/non-zero-terminated-clear 1266s ok 47 /array/remove-range/zero-terminated-no-clear 1266s ok 48 /array/remove-range/zero-terminated-clear 1266s # End of remove-range tests 1266s # Start of copy tests 1266s ok 49 /array/copy/non-zero-terminated-no-clear 1266s ok 50 /array/copy/non-zero-terminated-clear 1266s ok 51 /array/copy/zero-terminated-no-clear 1266s ok 52 /array/copy/zero-terminated-clear 1266s # End of copy tests 1266s # Start of sort tests 1266s ok 53 /array/sort/non-zero-terminated-no-clear 1266s ok 54 /array/sort/non-zero-terminated-clear 1266s ok 55 /array/sort/zero-terminated-no-clear 1266s ok 56 /array/sort/zero-terminated-clear 1266s # End of sort tests 1266s # Start of sort-with-data tests 1266s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1266s ok 58 /array/sort-with-data/non-zero-terminated-clear 1266s ok 59 /array/sort-with-data/zero-terminated-no-clear 1266s ok 60 /array/sort-with-data/zero-terminated-clear 1266s # End of sort-with-data tests 1266s # End of array tests 1266s # Start of pointerarray tests 1266s ok 61 /pointerarray/add 1267s ok 62 /pointerarray/insert 1267s ok 63 /pointerarray/new-take 1267s ok 64 /pointerarray/new-take-null-terminated 1267s ok 65 /pointerarray/new-from-array 1267s ok 66 /pointerarray/new-from-null-terminated-array 1267s ok 67 /pointerarray/free-func 1267s ok 68 /pointerarray/array_extend_and_steal 1267s ok 69 /pointerarray/sort 1267s ok 70 /pointerarray/sort-with-data 1267s ok 71 /pointerarray/sort-values 1267s ok 72 /pointerarray/sort-values-with-data 1267s ok 73 /pointerarray/remove-range 1267s ok 74 /pointerarray/steal 1267s # Start of free tests 1267s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1267s ok 75 /pointerarray/free/null-terminated 1267s # End of free tests 1267s # Start of new-take tests 1267s ok 76 /pointerarray/new-take/empty 1267s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1267s ok 78 /pointerarray/new-take/with-free-func 1267s # End of new-take tests 1267s # Start of new-take-null-terminated tests 1267s ok 79 /pointerarray/new-take-null-terminated/empty 1267s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1267s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1267s # End of new-take-null-terminated tests 1267s # Start of new-from-array tests 1267s ok 82 /pointerarray/new-from-array/empty 1267s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1267s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1267s # End of new-from-array tests 1267s # Start of new-from-null-terminated-array tests 1267s ok 85 /pointerarray/new-from-null-terminated-array/empty 1267s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1267s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1267s # End of new-from-null-terminated-array tests 1267s # Start of ref-count tests 1267s ok 88 /pointerarray/ref-count/not-null-terminated 1267s ok 89 /pointerarray/ref-count/null-terminated 1267s # End of ref-count tests 1267s # Start of array_copy tests 1267s # /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 1267s ok 90 /pointerarray/array_copy/not-null-terminated 1267s # /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 1267s ok 91 /pointerarray/array_copy/null-terminated 1267s # End of array_copy tests 1267s # Start of array_extend tests 1267s ok 92 /pointerarray/array_extend/not-null-terminated 1267s ok 93 /pointerarray/array_extend/null-terminated 1267s # End of array_extend tests 1267s # Start of sort tests 1267s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1267s ok 94 /pointerarray/sort/example 1267s # End of sort tests 1267s # Start of sort-with-data tests 1267s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1267s ok 95 /pointerarray/sort-with-data/example 1267s # End of sort-with-data tests 1267s # Start of sort-values tests 1267s ok 96 /pointerarray/sort-values/example 1267s # End of sort-values tests 1267s # Start of sort-values-with-data tests 1267s ok 97 /pointerarray/sort-values-with-data/example 1267s # End of sort-values-with-data tests 1267s # Start of find tests 1267s ok 98 /pointerarray/find/empty 1267s ok 99 /pointerarray/find/non-empty 1267s # End of find tests 1267s # Start of steal_index tests 1267s ok 100 /pointerarray/steal_index/not-null-terminated 1267s ok 101 /pointerarray/steal_index/null-terminated 1267s # End of steal_index tests 1267s # End of pointerarray tests 1267s # Start of bytearray tests 1267s ok 102 /bytearray/steal 1267s ok 103 /bytearray/append 1267s ok 104 /bytearray/prepend 1267s ok 105 /bytearray/remove 1267s ok 106 /bytearray/remove-fast 1267s ok 107 /bytearray/remove-range 1267s ok 108 /bytearray/ref-count 1267s ok 109 /bytearray/sort 1267s ok 110 /bytearray/sort-with-data 1267s ok 111 /bytearray/new-take 1267s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1267s ok 113 /bytearray/free-to-bytes 1267s # End of bytearray tests 1267s ok - glib/array-test.test 1267s # Running test: glib/testing.test 1267s TAP version 13 1267s # random seed: R02Se2406e760fe80b97b7b410e5005d9d21 1267s 1..1 1267s # Start of assert tests 1267s ok 1 /assert/finalize_object 1267s # Start of finalize_object tests 1267s # Start of subprocess tests 1267s # End of subprocess tests 1267s # End of finalize_object tests 1267s # End of assert tests 1267s ok - glib/testing.test 1267s # Running test: glib/unix-fd.test 1267s TAP version 13 1267s # random seed: R02S7a0c639ddd9e54c6920dd8fda0c3c278 1267s 1..2 1267s # Start of unix-fd tests 1267s ok 1 /unix-fd/fd-list 1267s ok 2 /unix-fd/scm 1267s # End of unix-fd tests 1267s ok - glib/unix-fd.test 1267s # Running test: glib/simple-async-result.test 1267s TAP version 13 1267s # random seed: R02S2d60acba5f70ad46a1652165b5e872b7 1267s 1..2 1267s # Start of gio tests 1267s # Start of simple-async-result tests 1267s ok 1 /gio/simple-async-result/test 1267s # GLib-GIO-DEBUG: GTask 0x9931e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1267s ok 2 /gio/simple-async-result/valid 1267s # End of simple-async-result tests 1267s # End of gio tests 1267s ok - glib/simple-async-result.test 1267s # Running test: glib/unicode.test 1267s TAP version 13 1267s # random seed: R02S76f2ef7e10f299c6a16e6b9d96230dff 1267s 1..39 1267s # Start of unicode tests 1267s ok 1 /unicode/alnum 1267s ok 2 /unicode/alpha 1267s ok 3 /unicode/break-type 1267s ok 4 /unicode/canonical-decomposition 1267s ok 5 /unicode/casefold 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s # Cannot set locale to lt_LT, skipping 1267s ok 6 /unicode/casemap_and_casefold 1267s ok 7 /unicode/cases 1267s ok 8 /unicode/character-type 1267s ok 9 /unicode/cntrl 1267s ok 10 /unicode/combining-class 1267s ok 11 /unicode/compose 1267s ok 12 /unicode/decompose 1267s ok 13 /unicode/decompose-tail 1267s ok 14 /unicode/defined 1267s ok 15 /unicode/digit 1267s ok 16 /unicode/digit-value 1267s ok 17 /unicode/fully-decompose-canonical 1267s ok 18 /unicode/fully-decompose-len 1267s ok 19 /unicode/normalization 1267s ok 20 /unicode/graph 1267s # Testing script Zyyy (code 1517910393) 1267s # Testing script Zinh (code 1516858984) 1267s # Testing script Zmth (code 1517122664) 1267s # Testing script Arab (code 1098015074) 1267s # Testing script Armn (code 1098018158) 1267s # Testing script Beng (code 1113943655) 1267s # Testing script Bopo (code 1114599535) 1267s # Testing script Cher (code 1130915186) 1267s # Testing script Copt (code 1131376756) 1267s # Testing script Cyrl (code 1132032620) 1267s # Testing script Dsrt (code 1148416628) 1267s # Testing script Deva (code 1147500129) 1267s # Testing script Ethi (code 1165256809) 1267s # Testing script Geor (code 1197830002) 1267s # Testing script Goth (code 1198486632) 1267s # Testing script Grek (code 1198679403) 1267s # Testing script Gujr (code 1198877298) 1267s # Testing script Guru (code 1198879349) 1267s # Testing script Hani (code 1214344809) 1267s # Testing script Hang (code 1214344807) 1267s # Testing script Hebr (code 1214603890) 1267s # Testing script Hira (code 1214870113) 1267s # Testing script Knda (code 1265525857) 1267s # Testing script Kana (code 1264676449) 1267s # Testing script Khmr (code 1265134962) 1267s # Testing script Laoo (code 1281453935) 1267s # Testing script Latn (code 1281455214) 1267s # Testing script Mlym (code 1298954605) 1267s # Testing script Mong (code 1299148391) 1267s # Testing script Mymr (code 1299803506) 1267s # Testing script Ogam (code 1332175213) 1267s # Testing script Ital (code 1232363884) 1267s # Testing script Orya (code 1332902241) 1267s # Testing script Runr (code 1383427698) 1267s # Testing script Sinh (code 1399418472) 1267s # Testing script Syrc (code 1400468067) 1267s # Testing script Taml (code 1415671148) 1267s # Testing script Telu (code 1415933045) 1267s # Testing script Thaa (code 1416126817) 1267s # Testing script Thai (code 1416126825) 1267s # Testing script Tibt (code 1416192628) 1267s # Testing script Cans (code 1130458739) 1267s # Testing script Yiii (code 1500080489) 1267s # Testing script Tglg (code 1416064103) 1267s # Testing script Hano (code 1214344815) 1267s # Testing script Buhd (code 1114990692) 1267s # Testing script Tagb (code 1415669602) 1267s # Testing script Brai (code 1114792297) 1267s # Testing script Cprt (code 1131442804) 1267s # Testing script Limb (code 1281977698) 1267s # Testing script Osma (code 1332964705) 1267s # Testing script Shaw (code 1399349623) 1267s # Testing script Linb (code 1281977954) 1267s # Testing script Tale (code 1415670885) 1267s # Testing script Ugar (code 1432838514) 1267s # Testing script Talu (code 1415670901) 1267s # Testing script Bugi (code 1114990441) 1267s # Testing script Glag (code 1198285159) 1267s # Testing script Tfng (code 1415999079) 1267s # Testing script Sylo (code 1400466543) 1267s # Testing script Xpeo (code 1483761007) 1267s # Testing script Khar (code 1265131890) 1267s # Testing script Zzzz (code 1517976186) 1267s # Testing script Bali (code 1113681001) 1267s # Testing script Xsux (code 1483961720) 1267s # Testing script Phnx (code 1349021304) 1267s # Testing script Phag (code 1349017959) 1267s # Testing script Nkoo (code 1315663727) 1267s # Testing script Kali (code 1264675945) 1267s # Testing script Lepc (code 1281716323) 1267s # Testing script Rjng (code 1382706791) 1267s # Testing script Sund (code 1400204900) 1267s # Testing script Saur (code 1398895986) 1267s # Testing script Cham (code 1130914157) 1267s # Testing script Olck (code 1332503403) 1267s # Testing script Vaii (code 1449224553) 1267s # Testing script Cari (code 1130459753) 1267s # Testing script Lyci (code 1283023721) 1267s # Testing script Lydi (code 1283023977) 1267s # Testing script Avst (code 1098281844) 1267s # Testing script Bamu (code 1113681269) 1267s # Testing script Egyp (code 1164409200) 1267s # Testing script Armi (code 1098018153) 1267s # Testing script Phli (code 1349020777) 1267s # Testing script Prti (code 1349678185) 1267s # Testing script Java (code 1247901281) 1267s # Testing script Kthi (code 1265920105) 1267s # Testing script Lisu (code 1281979253) 1267s # Testing script Mtei (code 1299473769) 1267s # Testing script Sarb (code 1398895202) 1267s # Testing script Orkh (code 1332898664) 1267s # Testing script Samr (code 1398893938) 1267s # Testing script Lana (code 1281453665) 1267s # Testing script Tavt (code 1415673460) 1267s # Testing script Batk (code 1113683051) 1267s # Testing script Brah (code 1114792296) 1267s # Testing script Mand (code 1298230884) 1267s # Testing script Cakm (code 1130457965) 1267s # Testing script Merc (code 1298494051) 1267s # Testing script Mero (code 1298494063) 1267s # Testing script Plrd (code 1349284452) 1267s # Testing script Shrd (code 1399353956) 1267s # Testing script Sora (code 1399812705) 1267s # Testing script Takr (code 1415670642) 1267s # Testing script Bass (code 1113682803) 1267s # Testing script Aghb (code 1097295970) 1267s # Testing script Dupl (code 1148547180) 1267s # Testing script Elba (code 1164730977) 1267s # Testing script Gran (code 1198678382) 1267s # Testing script Khoj (code 1265135466) 1267s # Testing script Sind (code 1399418468) 1267s # Testing script Lina (code 1281977953) 1267s # Testing script Mahj (code 1298229354) 1267s # Testing script Mani (code 1298230889) 1267s # Testing script Mend (code 1298493028) 1267s # Testing script Modi (code 1299145833) 1267s # Testing script Mroo (code 1299345263) 1267s # Testing script Nbat (code 1315070324) 1267s # Testing script Narb (code 1315009122) 1267s # Testing script Perm (code 1348825709) 1267s # Testing script Hmng (code 1215131239) 1267s # Testing script Palm (code 1348562029) 1267s # Testing script Pauc (code 1348564323) 1267s # Testing script Phlp (code 1349020784) 1267s # Testing script Sidd (code 1399415908) 1267s # Testing script Tirh (code 1416196712) 1267s # Testing script Wara (code 1466004065) 1267s # Testing script Ahom (code 1097363309) 1267s # Testing script Hluw (code 1215067511) 1267s # Testing script Hatr (code 1214346354) 1267s # Testing script Mult (code 1299541108) 1267s # Testing script Hung (code 1215655527) 1267s # Testing script Sgnw (code 1399287415) 1267s # Testing script Adlm (code 1097100397) 1267s # Testing script Bhks (code 1114139507) 1267s # Testing script Marc (code 1298231907) 1267s # Testing script Newa (code 1315272545) 1267s # Testing script Osge (code 1332963173) 1267s # Testing script Tang (code 1415671399) 1267s # Testing script Gonm (code 1198485101) 1267s # Testing script Nshu (code 1316186229) 1267s # Testing script Soyo (code 1399814511) 1267s # Testing script Zanb (code 1516334690) 1267s # Testing script Dogr (code 1148151666) 1267s # Testing script Gong (code 1198485095) 1267s # Testing script Rohg (code 1383032935) 1267s # Testing script Maka (code 1298230113) 1267s # Testing script Medf (code 1298490470) 1267s # Testing script Sogo (code 1399809903) 1267s # Testing script Sogd (code 1399809892) 1267s # Testing script Elym (code 1164736877) 1267s # Testing script Nand (code 1315008100) 1267s # Testing script Hmnp (code 1215131248) 1267s # Testing script Wcho (code 1466132591) 1267s # Testing script Chrs (code 1130918515) 1267s # Testing script Diak (code 1147756907) 1267s # Testing script Kits (code 1265202291) 1267s # Testing script Yezi (code 1499822697) 1267s # Testing script Cpmn (code 1131441518) 1267s # Testing script Ougr (code 1333094258) 1267s # Testing script Tnsa (code 1416524641) 1267s # Testing script Toto (code 1416590447) 1267s # Testing script Vith (code 1449751656) 1267s # Testing script Kawi (code 1264678761) 1267s # Testing script Nagm (code 1315006317) 1267s ok 21 /unicode/iso15924 1267s ok 22 /unicode/lower 1267s ok 23 /unicode/mark 1267s ok 24 /unicode/mirror 1267s ok 25 /unicode/print 1267s ok 26 /unicode/punctuation 1267s ok 27 /unicode/script 1267s ok 28 /unicode/space 1267s ok 29 /unicode/strdown 1267s ok 30 /unicode/strup 1267s ok 31 /unicode/turkish-strupdown 1267s ok 32 /unicode/title 1267s ok 33 /unicode/upper 1267s ok 34 /unicode/validate 1267s ok 35 /unicode/wide 1267s ok 36 /unicode/xdigit 1267s ok 37 /unicode/xdigit-value 1267s ok 38 /unicode/zero-width 1267s ok 39 /unicode/normalize 1267s # End of unicode tests 1267s ok - glib/unicode.test 1267s # Running test: glib/rand.test 1267s TAP version 13 1267s # random seed: R02Scc66c4c8b2f2738b89335ae60046361f 1267s 1..2 1267s # Start of rand tests 1267s ok 1 /rand/test-rand 1267s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1267s ok 2 /rand/double-range 1267s # End of rand tests 1267s ok - glib/rand.test 1267s # Running test: glib/references.test 1267s TAP version 13 1267s # random seed: R02S6e1fa962e9ea1552c44a0af49dbe9e7b 1267s 1..1 1267s # Start of gobject tests 1267s ok 1 /gobject/references 1267s # End of gobject tests 1267s ok - glib/references.test 1267s # Running test: glib/testfilemonitor.test 1267s TAP version 13 1267s # random seed: R02Sd1f9bb52364846d777ef3c0eecf32b0b 1267s 1..8 1267s # Start of monitor tests 1267s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1267s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1267s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s # Start of file tests 1267s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1267s # End of file tests 1267s # End of monitor tests 1267s ok - glib/testfilemonitor.test 1267s # Running test: glib/properties-refcount1.test 1267s TAP version 13 1267s # random seed: R02Sd36f7555a83db1065b0a0c9ecb05a6be 1267s 1..1 1267s # Start of gobject tests 1267s # Start of refcount tests 1267s # .e 1267s # .f 1267s # .c 1267s # .d 1267s # .b 1268s # .d 1268s # .e 1268s # .f 1268s # .b 1268s # .c 1268s # .d 1268s # .f 1268s # .e 1268s # .b 1268s # .c 1268s # .f 1268s # .e 1268s # .d 1268s # .b 1268s # .c 1268s # .d 1268s # .f 1268s # .e 1268s # .b 1268s # .c 1268s # .f 1268s # .e 1268s # .d 1268s # .c 1268s # .b 1269s # .f 1269s # .d 1269s # .e 1269s # .c 1269s # .b 1269s # Executing: glib/properties-refcount1.test 1269s # .f 1269s # .d 1269s # .c 1269s # .e 1269s # .d 1269s # .b 1269s # .f 1269s # .c 1269s # .e 1269s # .d 1269s # .f 1269s # .b 1269s # .c 1269s # .e 1269s # .d 1270s # .f 1270s # .d 1270s # .e 1270s # .c 1270s # .b 1270s # .e 1270s # .c 1270s # .d 1270s # .b 1270s # .f 1270s # .b 1270s # .c 1270s # .e 1270s ok 1 /gobject/refcount/properties-1 1270s # slow test /gobject/refcount/properties-1 executed in 3.02 secs 1270s # End of refcount tests 1270s # End of gobject tests 1270s ok - glib/properties-refcount1.test 1270s # Running test: glib/list.test 1270s TAP version 13 1270s # random seed: R02S862202d88ed16af17ef44d5f30c004e6 1270s 1..20 1270s # Start of list tests 1270s ok 1 /list/sort 1270s ok 2 /list/sort-with-data 1270s ok 3 /list/insert-before-link 1270s ok 4 /list/insert-sorted 1270s ok 5 /list/insert-sorted-with-data 1270s ok 6 /list/reverse 1270s ok 7 /list/nth 1270s ok 8 /list/concat 1270s ok 9 /list/remove 1270s ok 10 /list/remove-all 1270s ok 11 /list/first-last 1270s ok 12 /list/insert 1270s ok 13 /list/free-full 1270s ok 14 /list/copy 1270s ok 15 /list/copy-deep 1270s ok 16 /list/delete-link 1270s ok 17 /list/prepend 1270s ok 18 /list/position 1270s ok 19 /list/double-free 1270s # Start of sort tests 1270s ok 20 /list/sort/stable 1270s # End of sort tests 1270s # End of list tests 1270s ok - glib/list.test 1270s # Running test: glib/properties-refcount2.test 1270s TAP version 13 1270s # random seed: R02S29dc72c4de21bff3b48c7036e6829138 1270s 1..1 1270s # Start of gobject tests 1270s # Start of refcount tests 1270s # init 0x1479230 1270s # 1270s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # Executing: glib/properties-refcount2.test 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1278s # . 1278s # dispose 0x1479230! 1278s # 1278s ok 1 /gobject/refcount/properties-2 1278s # slow test /gobject/refcount/properties-2 executed in 7.30 secs 1278s # End of refcount tests 1278s # End of gobject tests 1278s ok - glib/properties-refcount2.test 1278s # Running test: glib/gsubprocess.test 1278s TAP version 13 1278s # random seed: R02Sdebca5305456f0c55cd86ec71c62a0a3 1278s 1..83 1278s # Start of gsubprocess tests 1278s ok 1 /gsubprocess/noop 1278s ok 2 /gsubprocess/noop-all-to-null 1278s ok 3 /gsubprocess/noop-no-wait 1278s ok 4 /gsubprocess/noop-stdin-inherit 1278s ok 5 /gsubprocess/search-path 1278s ok 6 /gsubprocess/search-path-from-envp 1279s # Executing: glib/gsubprocess.test 1281s ok 7 /gsubprocess/signal 1281s # slow test /gsubprocess/signal executed in 3.12 secs 1281s ok 8 /gsubprocess/exit1 1281s ok 9 /gsubprocess/echo1 1281s ok 10 /gsubprocess/echo-merged 1281s ok 11 /gsubprocess/cat-utf8 1282s ok 12 /gsubprocess/cat-eof 1282s # slow test /gsubprocess/cat-eof executed in 1.01 secs 1284s # Executing: glib/gsubprocess.test 1285s ok 13 /gsubprocess/multi1 1285s # slow test /gsubprocess/multi1 executed in 3.08 secs 1285s ok 14 /gsubprocess/communicate 1288s ok 15 /gsubprocess/terminate 1288s # slow test /gsubprocess/terminate executed in 2.82 secs 1288s ok 16 /gsubprocess/env 1288s ok 17 /gsubprocess/cwd 1288s ok 18 /gsubprocess/launcher-close 1288s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1288s ok 19 /gsubprocess/stdout-file 1288s ok 20 /gsubprocess/stdout-fd 1288s ok 21 /gsubprocess/child-setup 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s ok 22 /gsubprocess/launcher-environment 1288s # Start of exit1 tests 1288s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1288s ok 23 /gsubprocess/exit1/cancel 1288s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1288s ok 24 /gsubprocess/exit1/cancel_in_cb 1288s # End of exit1 tests 1288s # Start of communicate tests 1288s ok 25 /gsubprocess/communicate/cancelled 1288s ok 26 /gsubprocess/communicate/async 1288s ok 27 /gsubprocess/communicate/utf8 1288s # hello world 1288s ok 28 /gsubprocess/communicate/no-pipes 1288s ok 29 /gsubprocess/communicate/separate-stderr 1288s ok 30 /gsubprocess/communicate/stdout-only 1288s # hello world 1288s ok 31 /gsubprocess/communicate/stderr-only 1288s ok 32 /gsubprocess/communicate/stdout-silence 1288s ok 33 /gsubprocess/communicate/nothing 1288s # Start of async tests 1288s ok 34 /gsubprocess/communicate/async/cancelled 1288s # hello world 1288s ok 35 /gsubprocess/communicate/async/no-pipes 1288s ok 36 /gsubprocess/communicate/async/separate-stderr 1288s ok 37 /gsubprocess/communicate/async/stdout-only 1288s # hello world 1288s ok 38 /gsubprocess/communicate/async/stderr-only 1288s ok 39 /gsubprocess/communicate/async/stdout-silence 1288s # Start of cancelled tests 1288s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1288s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1288s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1288s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1288s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1288s # End of cancelled tests 1288s # End of async tests 1288s # Start of utf8 tests 1288s ok 45 /gsubprocess/communicate/utf8/cancelled 1288s ok 46 /gsubprocess/communicate/utf8/async 1288s # hello world 1288s ok 47 /gsubprocess/communicate/utf8/no-pipes 1288s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1288s ok 49 /gsubprocess/communicate/utf8/stdout-only 1288s # hello world 1288s ok 50 /gsubprocess/communicate/utf8/stderr-only 1288s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1288s ok 52 /gsubprocess/communicate/utf8/invalid 1288s # Start of async tests 1288s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1288s # hello world 1288s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1288s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1288s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1288s # hello world 1288s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1289s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1289s ok 59 /gsubprocess/communicate/utf8/async/invalid 1289s # Start of cancelled tests 1289s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1289s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1289s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1289s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1289s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1289s # End of cancelled tests 1289s # End of async tests 1289s # Start of cancelled tests 1289s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1289s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1289s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1289s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1289s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1289s # End of cancelled tests 1289s # End of utf8 tests 1289s # Start of cancelled tests 1289s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1289s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1289s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1289s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1289s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1289s # End of cancelled tests 1289s # End of communicate tests 1289s # Start of env tests 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s ok 75 /gsubprocess/env/inherit 1289s # End of env tests 1289s # Start of pass-fd tests 1289s ok 76 /gsubprocess/pass-fd/basic 1289s ok 77 /gsubprocess/pass-fd/empty-child-setup 1289s ok 78 /gsubprocess/pass-fd/inherit-fds 1289s # End of pass-fd tests 1289s # Start of fd-conflation tests 1289s ok 79 /gsubprocess/fd-conflation/basic 1289s # Executing: glib/gsubprocess.test 1289s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1289s ok 81 /gsubprocess/fd-conflation/inherit-fds 1289s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1289s # End of fd-conflation tests 1289s # Start of exit-status tests 1289s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1289s ok 83 /gsubprocess/exit-status/trapped 1289s # End of exit-status tests 1289s # End of gsubprocess tests 1289s ok - glib/gsubprocess.test 1289s # Running test: glib/reference.test 1289s TAP version 13 1289s # random seed: R02Sc9803a1cef5386567498f02a3e547ce5 1289s 1..29 1289s # Start of type tests 1289s ok 1 /type/fundamentals 1289s ok 2 /type/qdata 1289s ok 3 /type/query 1289s ok 4 /type/class-private 1289s # End of type tests 1289s # Start of object tests 1289s ok 5 /object/clear 1289s ok 6 /object/clear-function 1289s ok 7 /object/set 1289s ok 8 /object/set-function 1289s ok 9 /object/value 1289s ok 10 /object/initially-unowned 1289s ok 11 /object/weak-pointer 1289s ok 12 /object/weak-ref 1289s ok 13 /object/toggle-ref 1289s ok 14 /object/qdata 1289s ok 15 /object/qdata2 1289s # Start of set tests 1289s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1289s ok 16 /object/set/derived-type 1289s # End of set tests 1289s # Start of weak-pointer tests 1289s ok 17 /object/weak-pointer/clear 1289s ok 18 /object/weak-pointer/clear-function 1289s ok 19 /object/weak-pointer/set 1289s ok 20 /object/weak-pointer/set-function 1289s # End of weak-pointer tests 1289s # Start of weak-ref tests 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1289s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1289s ok 21 /object/weak-ref/on-dispose 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1289s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1289s ok 22 /object/weak-ref/on-run-dispose 1289s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1289s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1289s ok 23 /object/weak-ref/on-toggle-notify 1289s ok 24 /object/weak-ref/in-toggle-notify 1289s ok 25 /object/weak-ref/many 1289s # Start of concurrent tests 1289s ok 26 /object/weak-ref/concurrent/0 1289s ok 27 /object/weak-ref/concurrent/1 1289s # End of concurrent tests 1289s # End of weak-ref tests 1289s # Start of toggle-ref tests 1289s ok 28 /object/toggle-ref/ref-on-dispose 1289s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1289s # End of toggle-ref tests 1289s # End of object tests 1289s ok - glib/reference.test 1289s # Running test: glib/spawn-path-search.test 1289s TAP version 13 1289s # random seed: R02Sa157130239b59d3d088ed0a7c8deb6c5 1289s 1..7 1289s # Start of spawn tests 1289s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1289s # 1289s # this is spawn-test-helper from glib/tests 1289s # 1289s ok 1 /spawn/do-not-search 1289s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1289s # 1289s # this is spawn-test-helper from path-test-subdir 1289s # 1289s ok 2 /spawn/search-path 1289s # /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. 1289s # 1289s # this is spawn-test-helper from path-test-subdir 1289s # 1289s ok 3 /spawn/search-path-from-envp 1289s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1289s # 1289s # this is spawn-test-helper from path-test-subdir 1289s # 1289s ok 4 /spawn/search-path-ambiguous 1289s # 1289s # this is spawn-test-helper from path-test-subdir 1289s # 1289s ok 5 /spawn/search-path-heap-allocation 1289s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1289s # 1289s # this is spawn-test-helper from glib/tests 1289s # 1289s ok 6 /spawn/search-path-fallback-in-environ 1289s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1289s # 1289s # this is spawn-test-helper from glib/tests 1289s # 1289s ok 7 /spawn/search-path-fallback-in-envp 1289s # End of spawn tests 1289s ok - glib/spawn-path-search.test 1289s # Running test: glib/object.test 1289s TAP version 13 1289s # random seed: R02Sec4cce08e036d3d99fe494b13ae154f4 1289s 1..2 1289s # Start of object tests 1289s # Start of constructor tests 1289s ok 1 /object/constructor/singleton 1289s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1289s # End of constructor tests 1289s # End of object tests 1289s ok - glib/object.test 1289s # Running test: glib/thread-pool-slow.test 1289s TAP version 13 1289s # random seed: R02S89982869f371201ffc69ec71081ec5d3 1289s 1..7 1289s # Start of threadpool tests 1289s ok 1 /threadpool/functions 1290s ok 2 /threadpool/stop-unused 1290s # slow test /threadpool/stop-unused executed in 0.61 secs 1290s ok 3 /threadpool/pools 1290s # [unsorted] ===> pushed new thread with id:18, number of threads:1, unprocessed:1 1290s # [unsorted] ===> pushed new thread with id:38, number of threads:2, unprocessed:2 1290s # [unsorted] ===> pushed new thread with id:6, number of threads:3, unprocessed:3 1290s # [unsorted] ===> pushed new thread with id:78, number of threads:4, unprocessed:4 1290s # [unsorted] ===> pushed new thread with id:10, number of threads:5, unprocessed:4 1290s # [unsorted] ===> pushed new thread with id:21, number of threads:6, unprocessed:5 1290s # [unsorted] ===> pushed new thread with id:95, number of threads:7, unprocessed:6 1290s # [unsorted] ===> pushed new thread with id:35, number of threads:8, unprocessed:6 1290s # [unsorted] ===> pushed new thread with id:49, number of threads:9, unprocessed:6 1290s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:7 1290s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:8 1290s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:9 1290s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:11 1290s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:12 1290s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:13 1290s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:14 1290s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:10 1290s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:11 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:12 1290s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:13 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:14 1290s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:15 1290s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:16 1290s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:17 1290s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:18 1290s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:19 1290s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:20 1290s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:21 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:22 1290s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:23 1290s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:24 1290s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:25 1290s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:26 1290s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:27 1290s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:28 1290s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:29 1290s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:30 1290s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:31 1290s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:32 1290s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:33 1290s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:34 1290s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:35 1290s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:36 1290s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:37 1290s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:38 1290s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:39 1290s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:40 1290s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:41 1290s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:42 1290s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:43 1290s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:44 1290s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:45 1290s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:46 1290s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:47 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:48 1290s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:49 1290s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:50 1290s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:51 1290s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:52 1290s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:53 1290s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:54 1290s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:55 1290s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:56 1290s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:57 1290s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:58 1290s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:59 1290s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:60 1290s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:61 1290s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:62 1290s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:63 1290s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:64 1290s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:65 1290s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:66 1290s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:67 1290s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:68 1290s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:69 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:70 1290s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:71 1290s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:72 1290s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:73 1290s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:74 1290s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:75 1290s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:76 1290s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:77 1290s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:78 1290s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:79 1290s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:80 1290s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:81 1290s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:82 1290s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:83 1290s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:84 1290s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:85 1290s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:86 1290s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:87 1290s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:88 1290s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:89 1290s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:90 1290s ok 4 /threadpool/no-sort 1290s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:1 1290s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:2 1290s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:3 1290s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:4 1290s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:5 1290s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:6 1290s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:7 1290s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:8 1290s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:9 1290s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:10 1290s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:11 1290s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:12 1290s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:13 1290s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:14 1290s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:15 1290s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:16 1290s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:17 1290s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:18 1290s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:19 1290s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:20 1290s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:21 1290s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:22 1290s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:23 1290s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:24 1290s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:25 1290s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:26 1290s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:27 1290s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:28 1290s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:29 1290s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:30 1290s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:31 1290s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:32 1290s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:33 1290s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:34 1290s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:35 1290s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:36 1290s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:37 1290s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:38 1290s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:39 1290s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:40 1290s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:41 1290s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:42 1290s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:43 1290s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:44 1290s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:45 1290s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:46 1290s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:47 1290s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:48 1290s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 1290s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:50 1290s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:51 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:52 1290s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:53 1290s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:54 1290s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:55 1290s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:56 1290s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:57 1290s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:58 1290s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:59 1290s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:60 1290s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:61 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:62 1290s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:63 1290s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:64 1290s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:65 1290s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:66 1290s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:67 1290s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:68 1290s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 1290s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:70 1290s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:71 1290s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:72 1290s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:73 1290s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:74 1290s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:75 1290s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:76 1290s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:77 1290s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:78 1290s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:79 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:80 1290s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:81 1290s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:82 1290s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83 1290s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 1290s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:85 1290s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:86 1290s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:87 1290s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:88 1290s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:89 1290s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:90 1290s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:91 1290s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:92 1290s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:93 1290s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:94 1290s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:95 1290s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:96 1290s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:97 1290s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:98 1290s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:99 1290s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 1290s # Starting thread pool processing 1290s ok 5 /threadpool/sort 1291s ok 6 /threadpool/stop-unused-multiple 1291s # slow test /threadpool/stop-unused-multiple executed in 0.74 secs 1291s # Pool idle thread count: 0, unprocessed jobs: 48 1292s # Pool idle thread count: 0, unprocessed jobs: 0 1292s # Pool idle thread count: 0, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Executing: glib/thread-pool-slow.test 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Executing: glib/thread-pool-slow.test 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 0 1300s # Pool idle thread count: 10, unprocessed jobs: 2 1300s # Pool idle thread count: 10, unprocessed jobs: 2 1300s # Pool idle thread count: 8, unprocessed jobs: 0 1300s # Pool idle thread count: 8, unprocessed jobs: 0 1301s # Pool idle thread count: 10, unprocessed jobs: 0 1301s # Pool idle thread count: 10, unprocessed jobs: 0 1301s # Pool idle thread count: 10, unprocessed jobs: 0 1301s # Pool idle thread count: 10, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Executing: glib/thread-pool-slow.test 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1308s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Executing: glib/thread-pool-slow.test 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1309s # Pool idle thread count: 2, unprocessed jobs: 0 1310s # Pool idle thread count: 2, unprocessed jobs: 0 1310s # Pool idle thread count: 2, unprocessed jobs: 0 1310s # Pool idle thread count: 2, unprocessed jobs: 0 1310s # Pool idle thread count: 2, unprocessed jobs: 0 1311s ok 7 /threadpool/idle-time 1311s # slow test /threadpool/idle-time executed in 19.67 secs 1311s # End of threadpool tests 1311s ok - glib/thread-pool-slow.test 1311s # Running test: glib/keyfile.test 1311s TAP version 13 1311s # random seed: R02S3cb52d1229ffef43f246ef01981b9f49 1311s 1..36 1311s # Start of keyfile tests 1311s ok 1 /keyfile/line-ends 1311s ok 2 /keyfile/whitespace 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1311s ok 3 /keyfile/comments 1311s ok 4 /keyfile/listing 1311s ok 5 /keyfile/string 1311s ok 6 /keyfile/boolean 1311s ok 7 /keyfile/number 1311s ok 8 /keyfile/locale-string 1311s ok 9 /keyfile/lists 1311s ok 10 /keyfile/lists-set-get 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1311s ok 11 /keyfile/group-remove 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1311s ok 12 /keyfile/key-remove 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1311s ok 13 /keyfile/groups 1311s ok 14 /keyfile/duplicate-keys 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1311s ok 15 /keyfile/duplicate-groups 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1311s ok 16 /keyfile/duplicate-groups2 1311s ok 17 /keyfile/group-names 1311s ok 18 /keyfile/key-names 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1311s ok 19 /keyfile/reload 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1311s ok 20 /keyfile/int64 1311s ok 21 /keyfile/load 1311s ok 22 /keyfile/save 1311s ok 23 /keyfile/load-fail 1311s ok 24 /keyfile/non-utf8 1311s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1311s ok 25 /keyfile/page-boundary 1311s ok 26 /keyfile/ref 1311s ok 27 /keyfile/replace-value 1311s ok 28 /keyfile/list-separator 1311s ok 29 /keyfile/empty-string 1311s ok 30 /keyfile/limbo 1311s # Testing invalid encoding ?non-UTF-8? 1311s # Testing invalid encoding ?UTF? 1311s # Testing invalid encoding ?UTF-9? 1311s ok 31 /keyfile/utf8 1311s ok 32 /keyfile/roundtrip 1311s ok 33 /keyfile/bytes 1311s ok 34 /keyfile/get-locale 1311s ok 35 /keyfile/free-when-not-last-ref 1311s # Start of locale-string tests 1311s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1311s ok 36 /keyfile/locale-string/multiple-loads 1311s # End of locale-string tests 1311s # End of keyfile tests 1311s ok - glib/keyfile.test 1311s # Running test: glib/atomic-c-90.test 1311s TAP version 13 1311s # random seed: R02S86a794f2d863a08e00b9caf766784a8e 1311s 1..2 1311s # Start of atomic tests 1311s ok 1 /atomic/types 1311s ok 2 /atomic/threaded 1311s # End of atomic tests 1311s ok - glib/atomic-c-90.test 1311s # Running test: glib/notify-init.test 1311s TAP version 13 1311s # random seed: R02S0e12b3d3375b2fad2d54f27048df859e 1311s 1..1 1311s # Start of properties tests 1311s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1311s ok 1 /properties/notify-in-init 1311s # End of properties tests 1311s ok - glib/notify-init.test 1311s # Running test: glib/properties-introspection.test 1311s TAP version 13 1311s # random seed: R02S800da85e3a2fee70a11d207ee50c7177 1311s 1..2 1311s # Start of properties tests 1311s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1311s ok 1 /properties/introspection 1311s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1311s ok 2 /properties/collision 1311s # End of properties tests 1311s ok - glib/properties-introspection.test 1311s # Running test: glib/memory-settings-backend.test 1311s TAP version 13 1311s # random seed: R02S61beed618180949d760aebc82139318b 1311s 1..1 1311s # Start of memory-settings-backend tests 1311s ok 1 /memory-settings-backend/extension-point-registered 1311s # End of memory-settings-backend tests 1311s ok - glib/memory-settings-backend.test 1311s # Running test: glib/gdbus-addresses.test 1311s TAP version 13 1311s # random seed: R02S594bdc1658f109e487d07a441aaa658b 1311s 1..9 1311s # Start of gdbus tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/empty-address/.dirs/runtime 1311s ok 1 /gdbus/empty-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unsupported-address/.dirs/runtime 1311s ok 2 /gdbus/unsupported-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/address-parsing/.dirs/runtime 1311s ok 3 /gdbus/address-parsing 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/unix-address/.dirs/runtime 1311s ok 4 /gdbus/unix-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/nonce-tcp-address/.dirs/runtime 1311s ok 5 /gdbus/nonce-tcp-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/tcp-address/.dirs/runtime 1311s ok 6 /gdbus/tcp-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/autolaunch-address/.dirs/runtime 1311s ok 7 /gdbus/autolaunch-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/mixed-address/.dirs/runtime 1311s ok 8 /gdbus/mixed-address 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O8T2K2/gdbus/escape-address/.dirs/runtime 1311s ok 9 /gdbus/escape-address 1311s # End of gdbus tests 1311s ok - glib/gdbus-addresses.test 1311s # Running test: glib/gdbus-error.test 1311s TAP version 13 1311s # random seed: R02Se07eb6a17b4890e3415ab0b6e239e549 1311s 1..4 1311s # Start of gdbus tests 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3AV1K2/gdbus/registered-errors/.dirs/runtime 1311s ok 1 /gdbus/registered-errors 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3AV1K2/gdbus/unregistered-errors/.dirs/runtime 1311s ok 2 /gdbus/unregistered-errors 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3AV1K2/gdbus/transparent-gerror/.dirs/runtime 1311s ok 3 /gdbus/transparent-gerror 1311s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/home 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/cache 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/system-config2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/config 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/system-data2 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/data 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/state 1311s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_3AV1K2/gdbus/register-error/.dirs/runtime 1311s ok 4 /gdbus/register-error 1311s # End of gdbus tests 1311s ok - glib/gdbus-error.test 1311s # Running test: glib/gdatetime.test 1311s TAP version 13 1311s # random seed: R02S1f77d5120534e759c0e74faa2cc1ef4f 1311s 1..68 1311s # Start of GDateTime tests 1311s # Bug Reference: http://bugzilla.gnome.org/702674 1311s ok 1 /GDateTime/invalid 1311s ok 2 /GDateTime/add_days 1311s ok 3 /GDateTime/add_full 1311s ok 4 /GDateTime/add_hours 1311s ok 5 /GDateTime/add_minutes 1311s ok 6 /GDateTime/add_months 1311s ok 7 /GDateTime/add_seconds 1311s ok 8 /GDateTime/add_weeks 1311s ok 9 /GDateTime/add_years 1311s ok 10 /GDateTime/compare 1311s ok 11 /GDateTime/diff 1311s ok 12 /GDateTime/equal 1311s ok 13 /GDateTime/get_day_of_week 1311s ok 14 /GDateTime/get_day_of_month 1311s ok 15 /GDateTime/get_day_of_year 1311s ok 16 /GDateTime/get_hour 1311s ok 17 /GDateTime/get_microsecond 1311s ok 18 /GDateTime/get_minute 1311s ok 19 /GDateTime/get_month 1311s ok 20 /GDateTime/get_second 1311s ok 21 /GDateTime/get_utc_offset 1311s ok 22 /GDateTime/get_year 1311s ok 23 /GDateTime/hash 1311s ok 24 /GDateTime/new_from_unix 1311s ok 25 /GDateTime/new_from_unix_utc 1311s ok 26 /GDateTime/new_from_timeval 1311s ok 27 /GDateTime/new_from_timeval_utc 1311s ok 28 /GDateTime/new_from_iso8601 1311s ok 29 /GDateTime/new_full 1311s ok 30 /GDateTime/now 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1311s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1311s # %a -> expected: Sat 1311s # %a -> actual: Sat 1311s # %A -> expected: Saturday 1311s # %A -> actual: Saturday 1311s # %b -> expected: Oct 1311s # %b -> actual: Oct 1311s # %B -> expected: October 1311s # %B -> actual: October 1311s # %d -> expected: 24 1311s # %d -> actual: 24 1311s # %d -> expected: 01 1311s # %d -> actual: 01 1311s # %e -> expected: 24 1311s # %e -> actual: 24 1311s # %e -> expected:  1 1311s # %e -> actual:  1 1311s # %f -> expected: 001000 1311s # %f -> actual: 001000 1311s # %h -> expected: Oct 1311s # %h -> actual: Oct 1311s # %H -> expected: 00 1311s # %H -> actual: 00 1311s # %H -> expected: 15 1311s # %H -> actual: 15 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %I -> expected: 03 1311s # %I -> actual: 03 1311s # %j -> expected: 297 1311s # %j -> actual: 297 1311s # %k -> expected:  0 1311s # %k -> actual:  0 1311s # %k -> expected: 13 1311s # %k -> actual: 13 1311s # %l -> expected: 12 1311s # %l -> actual: 12 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %l -> expected:  1 1311s # %l -> actual:  1 1311s # %l -> expected: 10 1311s # %l -> actual: 10 1311s # %m -> expected: 10 1311s # %m -> actual: 10 1311s # %M -> expected: 00 1311s # %M -> actual: 00 1311s # %p -> expected: AM 1311s # %p -> actual: AM 1311s # %p -> expected: PM 1311s # %p -> actual: PM 1311s # %P -> expected: am 1311s # %P -> actual: am 1311s # %P -> expected: pm 1311s # %P -> actual: pm 1311s # %r -> expected: 12:00:00 AM 1311s # %r -> actual: 12:00:00 AM 1311s # %r -> expected: 01:13:13 PM 1311s # %r -> actual: 01:13:13 PM 1311s # %R -> expected: 00:00 1311s # %R -> actual: 00:00 1311s # %R -> expected: 13:13 1311s # %R -> actual: 13:13 1311s # %S -> expected: 00 1311s # %S -> actual: 00 1311s # %t -> expected: 1311s # %t -> actual: 1311s # %u -> expected: 6 1311s # %u -> actual: 6 1311s # %x -> expected: 10/24/09 1311s # %x -> actual: 10/24/09 1311s # %X -> expected: 00:00:00 1311s # %X -> actual: 00:00:00 1311s # %X -> expected: 13:14:15 1311s # %X -> actual: 13:14:15 1311s # %y -> expected: 09 1311s # %y -> actual: 09 1311s # %Y -> expected: 2009 1311s # %Y -> actual: 2009 1311s # %% -> expected: % 1311s # %% -> actual: % 1311s # % -> expected: 1311s # % -> actual: 1311s # %9 -> expected: (null) 1311s # %9 -> actual: (null) 1311s # %Z -> expected: UTC 1311s # %Z -> actual: UTC 1311s ok 32 /GDateTime/printf 1311s # %a -> expected: 1311s # %a -> actual: 1311s # %A -> expected: 1311s # %A -> actual: 1311s # %b -> expected: 10 1311s # %b -> actual: 10 1311s # %B -> expected: 10 1311s # %B -> actual: 10 1311s # %c -> expected: 2009ǯ1024 0000ʬ00 1311s # %c -> actual: 2009ǯ1024 0000ʬ00 1311s # %C -> expected: 20 1311s # %C -> actual: 20 1311s # %d -> expected: 24 1311s # %d -> actual: 24 1311s # %d -> expected: 01 1311s # %d -> actual: 01 1311s # %e -> expected: 24 1311s # %e -> actual: 24 1311s # %h -> expected: 10 1311s # %h -> actual: 10 1311s # %H -> expected: 00 1311s # %H -> actual: 00 1311s # %H -> expected: 15 1311s # %H -> actual: 15 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %I -> expected: 03 1311s # %I -> actual: 03 1311s # %j -> expected: 297 1311s # %j -> actual: 297 1311s # %k -> expected: ?0 1311s # %k -> actual: ?0 1311s # %k -> expected: 13 1311s # %k -> actual: 13 1311s # %l -> expected: 12 1311s # %l -> actual: 12 1311s # %I -> expected: 12 1311s # %I -> actual: 12 1311s # %l -> expected: ?1 1311s # %l -> actual: ?1 1311s # %l -> expected: 10 1311s # %l -> actual: 10 1311s # %m -> expected: 10 1311s # %m -> actual: 10 1311s # %M -> expected: 00 1311s # %M -> actual: 00 1311s # %p -> expected: 1311s # %p -> actual: 1311s # %p -> expected: 1311s # %p -> actual: 1311s # %P -> expected: 1311s # %P -> actual: 1311s # %P -> expected: 1311s # %P -> actual: 1311s # %r -> expected: 1200ʬ00 1311s # %r -> actual: 1200ʬ00 1311s # %r -> expected: 0113ʬ13 1311s # %r -> actual: 0113ʬ13 1311s # %R -> expected: 00:00 1311s # %R -> actual: 00:00 1311s # %R -> expected: 13:13 1311s # %R -> actual: 13:13 1311s # %S -> expected: 00 1311s # %S -> actual: 00 1311s # %t -> expected: 1311s # %t -> actual: 1311s # %u -> expected: 6 1311s # %u -> actual: 6 1311s # %x -> expected: 2009ǯ1024 1311s # %x -> actual: 2009ǯ1024 1311s # %X -> expected: 0000ʬ00 1311s # %X -> actual: 0000ʬ00 1311s # %X -> expected: 1314ʬ15 1311s # %X -> actual: 1314ʬ15 1311s # %y -> expected: 09 1311s # %y -> actual: 09 1311s # %Y -> expected: 2009 1311s # %Y -> actual: 2009 1311s # %% -> expected: % 1311s # %% -> actual: % 1311s # % -> expected: 1311s # % -> actual: 1311s # %9 -> expected: (null) 1311s # %9 -> actual: (null) 1311s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1311s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1311s # %EC -> expected: ʿ 1311s # %EC -> actual: ʿ 1311s # %Ex -> expected: ʿ21ǯ1024 1311s # %Ex -> actual: ʿ21ǯ1024 1311s # %EX -> expected: 0000ʬ00 1311s # %EX -> actual: 0000ʬ00 1311s # %Ey -> expected: 21 1311s # %Ey -> actual: 21 1311s # %EY -> expected: ʿ21ǯ 1311s # %EY -> actual: ʿ21ǯ 1311s ok 33 /GDateTime/non_utf8_printf 1311s # ???? -> expected: ???? 1311s # ???? -> actual: ???? 1311s # %H?%M -> expected: 23?15 1311s # %H?%M -> actual: 23?15 1311s # %H?%M -> expected: 23?15 1311s # %H?%M -> actual: 23?15 1311s ok 34 /GDateTime/format_unrepresentable 1311s ok 35 /GDateTime/format_iso8601 1313s ok 36 /GDateTime/strftime 1313s # slow test /GDateTime/strftime executed in 1.23 secs 1313s # %d -> expected: 01 1313s # %d -> actual: 01 1313s # %_d -> expected: 1 1313s # %_d -> actual: 1 1313s # %-d -> expected: 1 1313s # %-d -> actual: 1 1313s # %0d -> expected: 01 1313s # %0d -> actual: 01 1313s # %d -> expected: 21 1313s # %d -> actual: 21 1313s # %_d -> expected: 21 1313s # %_d -> actual: 21 1313s # %-d -> expected: 21 1313s # %-d -> actual: 21 1313s # %0d -> expected: 21 1313s # %0d -> actual: 21 1313s # %e -> expected:  1 1313s # %e -> actual:  1 1313s # %_e -> expected: 1 1313s # %_e -> actual: 1 1313s # %-e -> expected: 1 1313s # %-e -> actual: 1 1313s # %0e -> expected: 01 1313s # %0e -> actual: 01 1313s # %e -> expected: 21 1313s # %e -> actual: 21 1313s # %_e -> expected: 21 1313s # %_e -> actual: 21 1313s # %-e -> expected: 21 1313s # %-e -> actual: 21 1313s # %0e -> expected: 21 1313s # %0e -> actual: 21 1313s # %a -> expected: Thu 1313s # %a -> actual: Thu 1313s # %^a -> expected: THU 1313s # %^a -> actual: THU 1313s # %#a -> expected: THU 1313s # %#a -> actual: THU 1313s # %A -> expected: Thursday 1313s # %A -> actual: Thursday 1313s # %^A -> expected: THURSDAY 1313s # %^A -> actual: THURSDAY 1313s # %#A -> expected: THURSDAY 1313s # %#A -> actual: THURSDAY 1313s # %b -> expected: Jan 1313s # %b -> actual: Jan 1313s # %^b -> expected: JAN 1313s # %^b -> actual: JAN 1313s # %#b -> expected: JAN 1313s # %#b -> actual: JAN 1313s # %B -> expected: January 1313s # %B -> actual: January 1313s # %^B -> expected: JANUARY 1313s # %^B -> actual: JANUARY 1313s # %#B -> expected: JANUARY 1313s # %#B -> actual: JANUARY 1313s # %h -> expected: Jan 1313s # %h -> actual: Jan 1313s # %^h -> expected: JAN 1313s # %^h -> actual: JAN 1313s # %#h -> expected: JAN 1313s # %#h -> actual: JAN 1313s # %Z -> expected: UTC 1313s # %Z -> actual: UTC 1313s # %^Z -> expected: UTC 1313s # %^Z -> actual: UTC 1313s # %#Z -> expected: utc 1313s # %#Z -> actual: utc 1313s # %H -> expected: 01 1313s # %H -> actual: 01 1313s # %_H -> expected: 1 1313s # %_H -> actual: 1 1313s # %-H -> expected: 1 1313s # %-H -> actual: 1 1313s # %0H -> expected: 01 1313s # %0H -> actual: 01 1313s # %H -> expected: 21 1313s # %H -> actual: 21 1313s # %_H -> expected: 21 1313s # %_H -> actual: 21 1313s # %-H -> expected: 21 1313s # %-H -> actual: 21 1313s # %0H -> expected: 21 1313s # %0H -> actual: 21 1313s # %I -> expected: 01 1313s # %I -> actual: 01 1313s # %_I -> expected: 1 1313s # %_I -> actual: 1 1313s # %-I -> expected: 1 1313s # %-I -> actual: 1 1313s # %0I -> expected: 01 1313s # %0I -> actual: 01 1313s # %I -> expected: 11 1313s # %I -> actual: 11 1313s # %_I -> expected: 11 1313s # %_I -> actual: 11 1313s # %-I -> expected: 11 1313s # %-I -> actual: 11 1313s # %0I -> expected: 11 1313s # %0I -> actual: 11 1313s # %k -> expected:  1 1313s # %k -> actual:  1 1313s # %_k -> expected: 1 1313s # %_k -> actual: 1 1313s # %-k -> expected: 1 1313s # %-k -> actual: 1 1313s # %0k -> expected: 01 1313s # %0k -> actual: 01 1313s # %l -> expected:  1 1313s # %l -> actual:  1 1313s # %_l -> expected: 1 1313s # %_l -> actual: 1 1313s # %-l -> expected: 1 1313s # %-l -> actual: 1 1313s # %0l -> expected: 01 1313s # %0l -> actual: 01 1313s # %l -> expected: 11 1313s # %l -> actual: 11 1313s # %_l -> expected: 11 1313s # %_l -> actual: 11 1313s # %-l -> expected: 11 1313s # %-l -> actual: 11 1313s # %0l -> expected: 11 1313s # %0l -> actual: 11 1313s # %p -> expected: AM 1313s # %p -> actual: AM 1313s # %^p -> expected: AM 1313s # %^p -> actual: AM 1313s # %#p -> expected: am 1313s # %#p -> actual: am 1313s # %P -> expected: am 1313s # %P -> actual: am 1313s # %^P -> expected: AM 1313s # %^P -> actual: AM 1313s # %#P -> expected: am 1313s # %#P -> actual: am 1313s # %OH -> expected: ۲۳ 1313s # %OH -> actual: ۲۳ 1313s # %OI -> expected: ۱۱ 1313s # %OI -> actual: ۱۱ 1313s # %OM -> expected: ۰۰ 1313s # %OM -> actual: ۰۰ 1313s # %Om -> expected: ۰۷ 1313s # %Om -> actual: ۰۷ 1313s # %0Om -> expected: ۰۷ 1313s # %0Om -> actual: ۰۷ 1313s # %-Om -> expected: ۷ 1313s # %-Om -> actual: ۷ 1313s # %_Om -> expected: ۷ 1313s # %_Om -> actual: ۷ 1313s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1313s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1313s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1313s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1313s # %C -> expected: 20 1313s # %C -> actual: 20 1313s # %EC -> expected: 20 1313s # %EC -> actual: 20 1313s # %x -> expected: 02/01/09 1313s # %x -> actual: 02/01/09 1313s # %Ex -> expected: 02/01/09 1313s # %Ex -> actual: 02/01/09 1313s # %X -> expected: 01:02:03 1313s # %X -> actual: 01:02:03 1313s # %EX -> expected: 01:02:03 1313s # %EX -> actual: 01:02:03 1313s # %y -> expected: 09 1313s # %y -> actual: 09 1313s # %Ey -> expected: 09 1313s # %Ey -> actual: 09 1313s # %Y -> expected: 2009 1313s # %Y -> actual: 2009 1313s # %EY -> expected: 2009 1313s # %EY -> actual: 2009 1313s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1313s # Bug Reference: http://bugzilla.gnome.org/749206 1313s # %B -> expected: January 1313s # %B -> actual: January 1313s # %OB -> expected: February 1313s # %OB -> actual: February 1313s # %b -> expected: Mar 1313s # %b -> actual: Mar 1313s # %Ob -> expected: Apr 1313s # %Ob -> actual: Apr 1313s # %h -> expected: May 1313s # %h -> actual: May 1313s # %Oh -> expected: Jun 1313s # %Oh -> actual: Jun 1313s # %B -> expected: Juli 1313s # %B -> actual: Juli 1313s # %OB -> expected: August 1313s # %OB -> actual: August 1313s # %b -> expected: Sep 1313s # %b -> actual: Sep 1313s # %Ob -> expected: Okt 1313s # %Ob -> actual: Okt 1313s # %h -> expected: Nov 1313s # %h -> actual: Nov 1313s # %Oh -> expected: Dez 1313s # %Oh -> actual: Dez 1313s # %B -> expected: enero 1313s # %B -> actual: enero 1313s # %OB -> expected: febrero 1313s # %OB -> actual: febrero 1313s # %b -> expected: mar 1313s # %b -> actual: mar 1313s # %Ob -> expected: abr 1313s # %Ob -> actual: abr 1313s # %h -> expected: may 1313s # %h -> actual: may 1313s # %Oh -> expected: jun 1313s # %Oh -> actual: jun 1313s # %B -> expected: juillet 1313s # %B -> actual: juillet 1313s # %OB -> expected: août 1313s # %OB -> actual: août 1313s # %b -> expected: sept. 1313s # %b -> actual: sept. 1313s # %Ob -> expected: oct. 1313s # %Ob -> actual: oct. 1313s # %h -> expected: nov. 1313s # %h -> actual: nov. 1313s # %Oh -> expected: déc. 1313s # %Oh -> actual: déc. 1313s # %B -> expected: Ιανουαρίου 1313s # %B -> actual: Ιανουαρίου 1313s # %B -> expected: Φεβρουαρίου 1313s # %B -> actual: Φεβρουαρίου 1313s # %B -> expected: Μαρτίου 1313s # %B -> actual: Μαρτίου 1313s # %OB -> expected: Απρίλιος 1313s # %OB -> actual: Απρίλιος 1313s # %OB -> expected: Μάιος 1313s # %OB -> actual: Μάιος 1313s # %OB -> expected: Ιούνιος 1313s # %OB -> actual: Ιούνιος 1313s # %b -> expected: Ιουλ 1313s # %b -> actual: Ιουλ 1313s # %Ob -> expected: Αύγ 1313s # %Ob -> actual: Αύγ 1313s # %B -> expected: svibnja 1313s # %B -> actual: svibnja 1313s # %B -> expected: lipnja 1313s # %B -> actual: lipnja 1313s # %B -> expected: srpnja 1313s # %B -> actual: srpnja 1313s # %OB -> expected: Kolovoz 1313s # %OB -> actual: kolovoz 1313s # %OB -> expected: Rujan 1313s # %OB -> actual: rujan 1313s # %OB -> expected: Listopad 1313s # %OB -> actual: listopad 1313s # %b -> expected: Stu 1313s # %b -> actual: stu 1313s # %Ob -> expected: Pro 1313s # %Ob -> actual: pro 1313s # %B -> expected: sausio 1313s # %B -> actual: sausio 1313s # %B -> expected: vasario 1313s # %B -> actual: vasario 1313s # %B -> expected: kovo 1313s # %B -> actual: kovo 1313s # %OB -> expected: balandis 1313s # %OB -> actual: balandis 1313s # %OB -> expected: gegužė 1313s # %OB -> actual: gegužė 1313s # %OB -> expected: birželis 1313s # %OB -> actual: birželis 1313s # %b -> expected: liep. 1313s # %b -> actual: liep. 1313s # %Ob -> expected: rugp. 1313s # %Ob -> actual: rugp. 1313s # %B -> expected: maja 1313s # %B -> actual: maja 1313s # %B -> expected: czerwca 1313s # %B -> actual: czerwca 1313s # %B -> expected: lipca 1313s # %B -> actual: lipca 1313s # %OB -> expected: sierpień 1313s # %OB -> actual: sierpień 1313s # %OB -> expected: wrzesień 1313s # %OB -> actual: wrzesień 1313s # %OB -> expected: październik 1313s # %OB -> actual: październik 1313s # %b -> expected: lis 1313s # %b -> actual: lis 1313s # %Ob -> expected: gru 1313s # %Ob -> actual: gru 1313s # %B -> expected: января 1313s # %B -> actual: января 1313s # %B -> expected: февраля 1313s # %B -> actual: февраля 1313s # %B -> expected: марта 1313s # %B -> actual: марта 1313s # %OB -> expected: Апрель 1313s # %OB -> actual: Апрель 1313s # %OB -> expected: Май 1313s # %OB -> actual: Май 1313s # %OB -> expected: Июнь 1313s # %OB -> actual: Июнь 1313s # %b -> expected: июл 1313s # %b -> actual: июл 1313s # %Ob -> expected: авг 1313s # %Ob -> actual: авг 1313s # %b -> expected: мая 1313s # %b -> actual: мая 1313s # %Ob -> expected: май 1313s # %Ob -> actual: май 1313s ok 38 /GDateTime/month_names 1313s ok 39 /GDateTime/to_local 1313s ok 40 /GDateTime/to_unix 1313s ok 41 /GDateTime/to_timeval 1313s ok 42 /GDateTime/to_utc 1313s ok 43 /GDateTime/now_utc 1313s ok 44 /GDateTime/dst 1313s # Bug Reference: http://bugzilla.gnome.org/642935 1313s ok 45 /GDateTime/test_z 1314s # Executing: glib/gdatetime.test 1319s ok 46 /GDateTime/test-all-dates 1319s # slow test /GDateTime/test-all-dates executed in 6.02 secs 1319s ok 47 /GDateTime/unix_usec 1319s # Start of new_from_unix tests 1319s # Bug Reference: http://bugzilla.gnome.org/782089 1319s ok 48 /GDateTime/new_from_unix/overflow 1319s # End of new_from_unix tests 1319s # Start of new_from_timeval tests 1319s # Bug Reference: http://bugzilla.gnome.org/782089 1319s # Maximum supported GTimeVal.tv_sec = 2147483647 1319s ok 49 /GDateTime/new_from_timeval/overflow 1319s # End of new_from_timeval tests 1319s # Start of new_from_iso8601 tests 1319s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1319s # Vector 0: 1990-11-01T10:21:17Z 1319s # Vector 1: 19901101T102117Z 1319s # Vector 2: 1970-01-01T00:00:17.12Z 1319s # Vector 3: 1970-01-01T00:00:17.1234Z 1319s # Vector 4: 1970-01-01T00:00:17.123456Z 1319s # Vector 5: 1980-02-22T12:36:00+02:00 1319s # Vector 6: 1990-12-31T15:59:60-08:00 1319s # Vector 7: 1319s # Vector 8: x 1319s # Vector 9: 123x 1319s # Vector 10: 2001-10+x 1319s # Vector 11: 1980-02-22T 1319s # Vector 12: 2001-10-08Tx 1319s # Vector 13: 2001-10-08T10:11x 1319s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1319s # Vector 15: 1980-02-22T10:36:00Zulu 1319s # Vector 16: 2T0+819855292164632335 1319s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1319s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1319s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1319s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1319s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1319s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1319s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1319s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1319s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1319s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1319s # Vector 27: 20180803T140805.446178377+0100 1319s # Vector 28: 21474836480803T140805.446178377+0100 1319s # Vector 29: 20181303T140805.446178377+0100 1319s # Vector 30: 20180003T140805.446178377+0100 1319s # Vector 31: 20180800T140805.446178377+0100 1319s # Vector 32: 20180832T140805.446178377+0100 1319s # Vector 33: 20180803T240805.446178377+0100 1319s # Vector 34: 20180803T146005.446178377+0100 1319s # Vector 35: 20180803T140863.446178377+0100 1319s # Vector 36: 20180803T140805.446178377+10000 1319s # Vector 37: -0005-01-01T00:00:00Z 1319s # Vector 38: 2018-08-06 1319s # Vector 39: 20180803T140805,446178377+0100 1319s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1319s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1319s # Vector 42: 1990-11-01T10:21:17 1319s # Vector 43: 1719W462 407777-07 1319s # Vector 44: 4011090 260528Z 1319s # Vector 45: 0000W011 228214-22 1319s ok 50 /GDateTime/new_from_iso8601/2 1319s # End of new_from_iso8601 tests 1319s # Start of format_mixed tests 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1319s # %b -> expected: mar 1319s # %b -> actual: Mar 1319s # %B -> expected: march 1319s # %B -> actual: March 1319s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1319s # %b -> expected: mar 1319s # %b -> actual: Mar 1319s # %B -> expected: march 1319s # %B -> actual: March 1319s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1319s # %b -> expected: Mär 1319s # %b -> actual: Mär 1319s # %B -> expected: März 1319s # %B -> actual: März 1319s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1319s # %b -> expected: Mär 1319s # %b -> actual: Mär 1319s # %B -> expected: März 1319s # %B -> actual: März 1319s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1319s # End of format_mixed tests 1319s # Start of strftime tests 1319s # %r -> expected: (null) 1319s # %r -> actual: (null) 1319s ok 55 /GDateTime/strftime/error_handling 1319s # End of strftime tests 1319s # Start of eras tests 1319s # Executing: glib/gdatetime.test 1319s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1319s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1319s # %EC -> expected: 令和 1319s # %EC -> actual: 令和 1319s # %Ex -> expected: 令和05年06月01日 1319s # %Ex -> actual: 令和05年06月01日 1319s # %EX -> expected: 00時00分00秒 1319s # %EX -> actual: 00時00分00秒 1319s # %Ey -> expected: 05 1319s # %Ey -> actual: 05 1319s # %EY -> expected: 令和05年 1319s # %EY -> actual: 令和05年 1319s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1319s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1319s # %EC -> expected: 平成 1319s # %EC -> actual: 平成 1319s # %Ex -> expected: 平成31年04月30日 1319s # %Ex -> actual: 平成31年04月30日 1319s # %EX -> expected: 00時00分00秒 1319s # %EX -> actual: 00時00分00秒 1319s # %Ey -> expected: 31 1319s # %Ey -> actual: 31 1319s # %EY -> expected: 平成31年 1319s # %EY -> actual: 平成31年 1319s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1319s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1319s # %EC -> expected: 昭和 1319s # %EC -> actual: 昭和 1319s # %Ex -> expected: 昭和元年12月25日 1319s # %Ex -> actual: 昭和元年12月25日 1319s # %EX -> expected: 00時00分00秒 1319s # %EX -> actual: 00時00分00秒 1319s # %Ey -> expected: 01 1319s # %Ey -> actual: 01 1319s # %EY -> expected: 昭和元年 1319s # %EY -> actual: 昭和元年 1319s ok 56 /GDateTime/eras/japan 1319s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1319s # Vector 0: 1319s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1319s # 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年 1319s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1319s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1319s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1319s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1319s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1319s # Vector 8: + 1319s # Vector 9: +: 1319s # Vector 10: +:: 1319s # Vector 11: +:200 1319s # Vector 12: +:2nonsense 1319s # Vector 13: +:2nonsense: 1319s # Vector 14: +:2: 1319s # Vector 15: +:2:: 1319s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1319s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1319s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1319s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1319s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1319s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1319s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1319s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1319s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1319s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1319s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1319s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1319s # Vector 28: +:2:2020/01/01 1319s # Vector 29: +:2:2020/01/01: 1319s # Vector 30: +:2:2020/01/01:: 1319s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1319s # Vector 32: +:2:2020/01/01:+* 1319s # Vector 33: +:2:2020/01/01:+*: 1319s # Vector 34: +:2:2020/01/01:+*:: 1319s # Vector 35: +:2:2020/01/01:+*:令和 1319s # Vector 36: +:2:2020/01/01:+*:令和: 1319s # Vector 37: +:2:2020/01/01:+*:令和:; 1319s ok 58 /GDateTime/eras/parsing 1319s # End of eras tests 1319s # End of GDateTime tests 1319s # Start of GTimeZone tests 1319s ok 59 /GTimeZone/find-interval 1319s ok 60 /GTimeZone/adjust-time 1319s ok 61 /GTimeZone/no-header 1319s ok 62 /GTimeZone/no-header-identifier 1319s ok 63 /GTimeZone/posix-parse 1319s # Bug Reference: http://bugzilla.gnome.org/697715 1319s ok 64 /GTimeZone/floating-point 1319s # System time zone identifier: Etc/UTC 1319s ok 65 /GTimeZone/identifier 1319s # Vector 0: -158400 1319s # Vector 1: -10000 1319s # Vector 2: -3600 1319s # Vector 3: -61 1319s # Vector 4: -60 1319s # Vector 5: -59 1319s # Vector 6: 0 1319s # Vector 7: 59 1319s # Vector 8: 60 1319s # Vector 9: 61 1319s # Vector 10: 3600 1319s # Vector 11: 10000 1319s # Vector 12: 158400 1319s ok 66 /GTimeZone/new-offset 1319s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1319s ok 67 /GTimeZone/parse-rfc8536 1319s # /GTimeZone/caching summary: GTimeZone instances are cached 1319s ok 68 /GTimeZone/caching 1319s # End of GTimeZone tests 1319s ok - glib/gdatetime.test 1319s # Running test: glib/charset.test 1319s TAP version 13 1319s # random seed: R02S6ba283b093275795a75b256150df2b87 1319s 1..2 1319s # Start of charset tests 1319s # Test 0 1319s # Test 1 1319s # Test 2 1319s # Test 3 1319s ok 1 /charset/language_names_with_category 1319s ok 2 /charset/language_names_with_category_async 1319s # End of charset tests 1319s ok - glib/charset.test 1319s # Running test: glib/fileutils.test 1319s TAP version 13 1319s # random seed: R02S89a91d350a792510b2851ad6b7129c95 1319s 1..27 1319s # Start of fileutils tests 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/paths/.dirs/runtime 1319s ok 1 /fileutils/paths 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/build-path/.dirs/runtime 1319s ok 2 /fileutils/build-path 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/build-pathv/.dirs/runtime 1319s ok 3 /fileutils/build-pathv 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/build-filename/.dirs/runtime 1319s ok 4 /fileutils/build-filename 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/build-filenamev/.dirs/runtime 1319s ok 5 /fileutils/build-filenamev 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents/.dirs/runtime 1319s # We do not have CAP_DAC_OVERRIDE or equivalent 1319s ok 6 /fileutils/mkdir-with-parents 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1319s # We do not have CAP_DAC_OVERRIDE or equivalent 1319s ok 7 /fileutils/mkdir-with-parents-permission 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/format-size-for-display/.dirs/runtime 1319s ok 8 /fileutils/format-size-for-display 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/errors/.dirs/runtime 1319s ok 9 /fileutils/errors 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/basename/.dirs/runtime 1319s ok 10 /fileutils/basename 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/get-basename/.dirs/runtime 1319s ok 11 /fileutils/get-basename 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/dirname/.dirs/runtime 1319s ok 12 /fileutils/dirname 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/dir-make-tmp/.dirs/runtime 1319s ok 13 /fileutils/dir-make-tmp 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/file-open-tmp/.dirs/runtime 1319s ok 14 /fileutils/file-open-tmp 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/file-test/.dirs/runtime 1319s ok 15 /fileutils/file-test 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/mkstemp/.dirs/runtime 1319s ok 16 /fileutils/mkstemp 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/mkdtemp/.dirs/runtime 1319s ok 17 /fileutils/mkdtemp 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/get-contents/.dirs/runtime 1319s ok 18 /fileutils/get-contents 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/get-contents-large-file/.dirs/runtime 1319s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/set-contents/.dirs/runtime 1319s ok 20 /fileutils/set-contents 1319s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/home 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/cache 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/system-config2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/config 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/system-data2 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/data 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/state 1319s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/.dirs/runtime 1319s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1319s # Flags 0 and test 0 1319s # Flags 0 and test 1 1319s # Flags 0 and test 2 1319s # Flags 0 and test 3 1319s # Flags 0 and test 4 1319s # Flags 0 and test 5 1319s # Flags 1 and test 0 1319s # Flags 1 and test 1 1319s # Flags 1 and test 2 1319s # Flags 1 and test 3 1319s # Flags 1 and test 4 1320s # Flags 1 and test 5 1320s # Flags 2 and test 0 1320s # Flags 2 and test 1 1320s # Flags 2 and test 2 1320s # Flags 2 and test 3 1320s # Flags 2 and test 4 1320s # Flags 2 and test 5 1320s # Flags 3 and test 0 1320s # Flags 3 and test 1 1320s # Flags 3 and test 2 1320s # Flags 3 and test 3 1320s # Flags 3 and test 4 1320s # Flags 3 and test 5 1320s # Flags 4 and test 0 1320s # Flags 4 and test 1 1320s # Flags 4 and test 2 1320s # Flags 4 and test 3 1320s # Flags 4 and test 4 1320s # Flags 4 and test 5 1320s # Flags 5 and test 0 1320s # Flags 5 and test 1 1320s # Flags 5 and test 2 1320s # Flags 5 and test 3 1320s # Flags 5 and test 4 1320s # Flags 5 and test 5 1320s # Flags 6 and test 0 1320s # Flags 6 and test 1 1320s # Flags 6 and test 2 1320s # Flags 6 and test 3 1320s # Flags 6 and test 4 1320s # Flags 6 and test 5 1320s ok 21 /fileutils/set-contents-full 1320s # slow test /fileutils/set-contents-full executed in 1.24 secs 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/read-link/.dirs/runtime 1320s ok 22 /fileutils/read-link 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/stdio-wrappers/.dirs/runtime 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s ok 23 /fileutils/stdio-wrappers 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/fopen-modes/.dirs/runtime 1320s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1320s # Testing fopen() mode 'w' 1320s # Testing fopen() mode 'r' 1320s # Testing fopen() mode 'a' 1320s # Testing fopen() mode 'w+' 1320s # Testing fopen() mode 'r+' 1320s # Testing fopen() mode 'a+' 1320s # Testing fopen() mode 'wb' 1320s # Testing fopen() mode 'rb' 1320s # Testing fopen() mode 'ab' 1320s # Testing fopen() mode 'w+b' 1320s # Testing fopen() mode 'r+b' 1320s # Testing fopen() mode 'a+b' 1320s # Testing fopen() mode 'wb+' 1320s # Testing fopen() mode 'rb+' 1320s # Testing fopen() mode 'ab+' 1320s ok 24 /fileutils/fopen-modes 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/clear-fd/.dirs/runtime 1320s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1320s # Will be closed by autocleanup: 3, -42 1320s # Testing error handling 1320s ok 25 /fileutils/clear-fd 1320s # Start of set-contents-full tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1320s ok 26 /fileutils/set-contents-full/read-only-file 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_9LINK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1320s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1320s # Flags 0 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 1 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 2 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 3 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 4 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 5 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s # Flags 6 1320s # We do not have CAP_DAC_OVERRIDE or equivalent 1320s ok 27 /fileutils/set-contents-full/read-only-directory 1320s # End of set-contents-full tests 1320s # Start of clear-fd tests 1320s # Start of subprocess tests 1320s # End of subprocess tests 1320s # End of clear-fd tests 1320s # End of fileutils tests 1320s ok - glib/fileutils.test 1320s # Running test: glib/gdbus-message.test 1320s TAP version 13 1320s # random seed: R02S17f44634fec13f16ad9f87cc45a61633 1320s 1..3 1320s # Start of gdbus tests 1320s # Start of message tests 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WNQVK2/gdbus/message/lock/.dirs/runtime 1320s ok 1 /gdbus/message/lock 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WNQVK2/gdbus/message/copy/.dirs/runtime 1320s ok 2 /gdbus/message/copy 1320s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/home 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/cache 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/system-config2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/config 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/system-data2 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/data 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/state 1320s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_WNQVK2/gdbus/message/bytes-needed/.dirs/runtime 1320s # Vector: 0 1320s # Vector: 1 1320s # Vector: 2 1320s # Vector: 3 1320s # Vector: 4 1320s # Vector: 5 1320s ok 3 /gdbus/message/bytes-needed 1320s # End of message tests 1320s # End of gdbus tests 1320s ok - glib/gdbus-message.test 1320s # Running test: glib/boxed.test 1320s TAP version 13 1320s # random seed: R02Sf07565776541f6bbdfa66b4b6b077ab2 1320s 1..27 1320s # Start of boxed tests 1320s ok 1 /boxed/define 1320s ok 2 /boxed/ownership 1320s ok 3 /boxed/closure 1320s ok 4 /boxed/date 1320s ok 5 /boxed/value 1320s ok 6 /boxed/string 1320s ok 7 /boxed/hashtable 1320s ok 8 /boxed/array 1320s ok 9 /boxed/ptrarray 1320s ok 10 /boxed/regex 1320s ok 11 /boxed/varianttype 1320s ok 12 /boxed/error 1320s ok 13 /boxed/datetime 1320s ok 14 /boxed/matchinfo 1320s ok 15 /boxed/keyfile 1320s ok 16 /boxed/mainloop 1320s ok 17 /boxed/maincontext 1320s ok 18 /boxed/source 1320s ok 19 /boxed/variantbuilder 1320s ok 20 /boxed/timezone 1320s ok 21 /boxed/pollfd 1320s ok 22 /boxed/markup 1320s ok 23 /boxed/thread 1320s ok 24 /boxed/checksum 1320s ok 25 /boxed/tree 1320s ok 26 /boxed/patternspec 1320s ok 27 /boxed/rand 1320s # End of boxed tests 1320s ok - glib/boxed.test 1320s # Running test: glib/qdata.test 1321s TAP version 13 1321s # random seed: R02Sd3a9e4c9e4d6ffd7d6466e34f50bafd7 1321s 1..2 1321s # Start of qdata tests 1321s ok 1 /qdata/threaded 1321s ok 2 /qdata/dup 1321s # End of qdata tests 1321s ok - glib/qdata.test 1321s # Running test: glib/socket-listener.test 1321s TAP version 13 1321s # random seed: R02S82124158e86d9fd77d995a17ff3cb60a 1321s 1..1 1321s # Start of socket-listener tests 1321s ok 1 /socket-listener/event-signal 1321s # End of socket-listener tests 1321s ok - glib/socket-listener.test 1321s # Running test: glib/gio-tool.py.test 1321s TAP version 13 1321s ok 1 __main__.TestGioTool.test_help 1321s # tmpdir: /tmp/tmpk206yljs 1321s # gio: /usr/bin/gio 1321s # Running: ['/usr/bin/gio', '--help'] 1321s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1321s # Output: Usage: 1321s # gio COMMAND [ARGS…] 1321s # 1321s # Commands: 1321s # help Print help 1321s # version Print version 1321s # cat Concatenate files to standard output 1321s # copy Copy one or more files 1321s # info Show information about locations 1321s # launch Launch an application from a desktop file 1321s # list List the contents of locations 1321s # mime Get or set the handler for a mimetype 1321s # mkdir Create directories 1321s # monitor Monitor files and directories for changes 1321s # mount Mount or unmount the locations 1321s # move Move one or more files 1321s # open Open files with the default application 1321s # rename Rename a file 1321s # remove Delete one or more files 1321s # save Read from standard input and save 1321s # set Set a file attribute 1321s # trash Move files or directories to the trash 1321s # tree Lists the contents of locations in a tree 1321s # 1321s # Use “gio help COMMAND” to get detailed help. 1321s # Running: ['/usr/bin/gio', 'help'] 1321s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1321s # Output: Usage: 1321s # gio COMMAND [ARGS…] 1321s # 1321s # Commands: 1321s # help Print help 1321s # version Print version 1321s # cat Concatenate files to standard output 1321s # copy Copy one or more files 1321s # info Show information about locations 1321s # launch Launch an application from a desktop file 1321s # list List the contents of locations 1321s # mime Get or set the handler for a mimetype 1321s # mkdir Create directories 1321s # monitor Monitor files and directories for changes 1321s # mount Mount or unmount the locations 1321s # move Move one or more files 1321s # open Open files with the default application 1321s # rename Rename a file 1321s # remove Delete one or more files 1321s # save Read from standard input and save 1321s # set Set a file attribute 1321s # trash Move files or directories to the trash 1321s # tree Lists the contents of locations in a tree 1321s # 1321s # Use “gio help COMMAND” to get detailed help. 1322s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1322s # tmpdir: /tmp/tmpvol5z2jf 1322s # gio: /usr/bin/gio 1322s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpvol5z2jf/tmprimf5umt'] 1322s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1322s # Output: uri: file:///tmp/tmpvol5z2jf/tmprimf5umt 1322s # local path: /tmp/tmpvol5z2jf/tmprimf5umt 1322s # unix mount: /dev/sda2[/lxd/containers/autopkgtest-lxd-eteqzs/rootfs] / btrfs rw,relatime,space_cache,user_subvol_rm_allowed,subvolid=8622,subvol=/lxd/containers/autopkgtest-lxd-eteqzs 1322s # attributes: 1322s # standard::content-type: application/x-zerosize 1322s ok 3 __main__.TestGioTool.test_no_args 1322s # tmpdir: /tmp/tmpiv0g9ayc 1322s # gio: /usr/bin/gio 1322s # Running: ['/usr/bin/gio'] 1322s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1322s 1..3 1322s ok - glib/gio-tool.py.test 1322s # Running test: glib/rwlock.test 1322s TAP version 13 1322s # random seed: R02S6e6600f9632e62a9080af245e5f001ed 1322s 1..8 1322s # Start of thread tests 1322s ok 1 /thread/rwlock1 1322s ok 2 /thread/rwlock2 1322s ok 3 /thread/rwlock3 1322s ok 4 /thread/rwlock4 1322s ok 5 /thread/rwlock5 1322s ok 6 /thread/rwlock6 1324s # Executing: glib/rwlock.test 1329s # Executing: glib/rwlock.test 1330s ok 7 /thread/rwlock7 1330s # slow test /thread/rwlock7 executed in 8.70 secs 1331s ok 8 /thread/rwlock8 1331s # End of thread tests 1331s ok - glib/rwlock.test 1331s # Running test: glib/dir.test 1331s TAP version 13 1331s # random seed: R02S0ba1897a44a90de8618af9dac879c907 1331s 1..3 1331s # Start of dir tests 1331s ok 1 /dir/read 1331s ok 2 /dir/nonexisting 1331s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1331s ok 3 /dir/refcounting 1331s # End of dir tests 1331s ok - glib/dir.test 1331s # Running test: glib/shell.test 1331s TAP version 13 1331s # random seed: R02S2442fb2a3f0544ed6b18d3e8e3fbabf0 1331s 1..51 1331s # Start of shell tests 1331s # Start of cmdline tests 1331s test cmdline: foo bar 1331s ok 1 /shell/cmdline/0 1331s test cmdline: foo 'bar' 1331s ok 2 /shell/cmdline/1 1331s test cmdline: foo "bar" 1331s ok 3 /shell/cmdline/2 1331s test cmdline: foo '' 'bar' 1331s ok 4 /shell/cmdline/3 1331s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1331s ok 5 /shell/cmdline/4 1331s test cmdline: foo blah foo bar baz 1331s ok 6 /shell/cmdline/5 1331s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1331s ok 7 /shell/cmdline/6 1331s test cmdline: foo \ 1331s bar 1331s ok 8 /shell/cmdline/7 1331s test cmdline: foo '' '' 1331s ok 9 /shell/cmdline/8 1331s test cmdline: foo \" la la la 1331s ok 10 /shell/cmdline/9 1331s test cmdline: foo \ foo woo woo\ 1331s ok 11 /shell/cmdline/10 1331s test cmdline: foo "yada yada \$\"" 1331s ok 12 /shell/cmdline/11 1331s test cmdline: foo "c:\\" 1331s ok 13 /shell/cmdline/12 1331s test cmdline: foo # bla bla bla 1331s bar 1331s ok 14 /shell/cmdline/13 1331s test cmdline: foo a#b 1331s ok 15 /shell/cmdline/14 1331s test cmdline: #foo 1331s ok 16 /shell/cmdline/15 1331s test cmdline: foo bar \ 1331s ok 17 /shell/cmdline/16 1331s test cmdline: foo 'bar baz 1331s ok 18 /shell/cmdline/17 1331s test cmdline: foo '"bar" baz 1331s ok 19 /shell/cmdline/18 1331s test cmdline: 1331s ok 20 /shell/cmdline/19 1331s test cmdline: 1331s ok 21 /shell/cmdline/20 1331s test cmdline: # foo bar 1331s ok 22 /shell/cmdline/21 1331s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1331s ok 23 /shell/cmdline/22 1331s # End of cmdline tests 1331s # Start of quote tests 1331s ok 24 /shell/quote/0 1331s ok 25 /shell/quote/1 1331s ok 26 /shell/quote/2 1331s ok 27 /shell/quote/3 1331s ok 28 /shell/quote/4 1331s ok 29 /shell/quote/5 1331s ok 30 /shell/quote/6 1331s # End of quote tests 1331s # Start of unquote tests 1331s ok 31 /shell/unquote/0 1331s ok 32 /shell/unquote/1 1331s ok 33 /shell/unquote/2 1331s ok 34 /shell/unquote/3 1331s ok 35 /shell/unquote/4 1331s ok 36 /shell/unquote/5 1331s ok 37 /shell/unquote/6 1331s ok 38 /shell/unquote/7 1331s ok 39 /shell/unquote/8 1331s ok 40 /shell/unquote/9 1331s ok 41 /shell/unquote/10 1331s ok 42 /shell/unquote/11 1331s ok 43 /shell/unquote/12 1331s ok 44 /shell/unquote/13 1331s ok 45 /shell/unquote/14 1331s ok 46 /shell/unquote/15 1331s ok 47 /shell/unquote/16 1331s ok 48 /shell/unquote/17 1331s ok 49 /shell/unquote/18 1331s ok 50 /shell/unquote/19 1331s ok 51 /shell/unquote/20 1331s # End of unquote tests 1331s # End of shell tests 1331s ok - glib/shell.test 1331s # Running test: glib/refcount.test 1331s TAP version 13 1331s # random seed: R02Sf6e9361e3da28649fc3c236180a326d2 1331s 1..4 1331s # Start of refcount tests 1331s ok 1 /refcount/grefcount 1331s ok 2 /refcount/gatomicrefcount 1331s # Start of grefcount tests 1331s ok 3 /refcount/grefcount/saturation 1331s # End of grefcount tests 1331s # Start of gatomicrefcount tests 1331s ok 4 /refcount/gatomicrefcount/saturation 1331s # End of gatomicrefcount tests 1331s # End of refcount tests 1331s ok - glib/refcount.test 1331s # Running test: glib/autoptr-gio.test 1331s TAP version 13 1331s # random seed: R02S8928455d5ef101470390a410a26e0ba9 1331s 1..1 1331s # Start of autoptr tests 1331s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1331s ok 1 /autoptr/autoptr 1331s # End of autoptr tests 1331s ok - glib/autoptr-gio.test 1331s # Running test: glib/gdbus-test-codegen-old.test 1331s TAP version 13 1331s # random seed: R02S0779c8883dfaff46e6f7df290fc2f4e8 1331s 1..8 1331s # Start of gdbus tests 1331s # Start of codegen tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/annotations/.dirs/runtime 1331s ok 1 /gdbus/codegen/annotations 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/interface_stability/.dirs/runtime 1331s ok 2 /gdbus/codegen/interface_stability 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/object-manager/.dirs/runtime 1331s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1331s ok 3 /gdbus/codegen/object-manager 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/property-naming/.dirs/runtime 1331s ok 4 /gdbus/codegen/property-naming 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/autocleanups/.dirs/runtime 1331s ok 5 /gdbus/codegen/autocleanups 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/deprecations/.dirs/runtime 1331s ok 6 /gdbus/codegen/deprecations 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1331s ok 7 /gdbus/codegen/standalone-interface-info 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_AQ8LK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1331s ok 8 /gdbus/codegen/unix-fd-list 1331s # End of codegen tests 1331s # End of gdbus tests 1331s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1331s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1331s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1331s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1331s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1331s ok - glib/gdbus-test-codegen-old.test 1331s # Running test: glib/include.test 1331s TAP version 13 1331s # random seed: R02S74772cfbc1dd8b13a167a5158a4a0c4d 1331s 1..1 1331s # Start of include tests 1331s ok 1 /include/rwlock 1331s # End of include tests 1331s ok - glib/include.test 1331s # Running test: glib/file-thumbnail.test 1331s TAP version 13 1331s # random seed: R02S3de7014d6a443bd9203af156c55c8347 1331s 1..7 1331s # Start of file-thumbnail tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/runtime 1331s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 1 /file-thumbnail/fail 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 2 /file-thumbnail/size-priority 1331s # Start of valid tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 3 /file-thumbnail/valid/normal 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 4 /file-thumbnail/valid/large 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 5 /file-thumbnail/valid/x-large 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 6 /file-thumbnail/valid/xx-large 1331s # End of valid tests 1331s # Start of unknown tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/runtime 1331s # Created test thumbnail at /tmp/test_file-thumbnail_C54ZK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1331s ok 7 /file-thumbnail/unknown/super-large 1331s # End of unknown tests 1331s # End of file-thumbnail tests 1331s ok - glib/file-thumbnail.test 1331s # Running test: glib/portal-support-snap.test 1331s TAP version 13 1331s # random seed: R02Scd1a8d73d1a2726b7c9620e86d5f6817 1331s 1..7 1331s # Start of portal-support tests 1331s # Start of snap tests 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/no-snapctl/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s ok 1 /portal-support/snap/no-snapctl 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/none/.dirs/runtime/snapctl 1331s ok 2 /portal-support/snap/none 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/all/.dirs/runtime/snapctl 1331s ok 3 /portal-support/snap/all 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1331s ok 4 /portal-support/snap/desktop-only 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/network-only/.dirs/runtime/snapctl 1331s ok 5 /portal-support/snap/network-only 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1331s ok 6 /portal-support/snap/gsettings-only 1331s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/home 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/cache 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/system-config2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/config 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/system-data2 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/data 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/state 1331s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime 1331s # Created snap.yaml in /tmp/test_portal-support-snap_WRNZK2/meta/snap.yaml 1331s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s # Created snapctl in /tmp/test_portal-support-snap_WRNZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1332s ok 7 /portal-support/snap/updates-dynamically 1332s # slow test /portal-support/snap/updates-dynamically executed in 0.54 secs 1332s # End of snap tests 1332s # End of portal-support tests 1332s ok - glib/portal-support-snap.test 1332s # Running test: glib/bookmarkfile.test 1332s TAP version 13 1332s # random seed: R02S830f8367a3321b08fe7bcede24b18430 1332s 1..96 1332s # Start of bookmarks tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/load-from-data-dirs/.dirs/runtime 1332s ok 1 /bookmarks/load-from-data-dirs 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/to-file/.dirs/runtime 1332s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_QH1IK2/bookmarkfile-test-PQ2IK2.xbel 1332s # Roundtrip from a valid bookmark file 1332s ok 2 /bookmarks/to-file 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/move-item/.dirs/runtime 1332s ok 3 /bookmarks/move-item 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/corner-cases/.dirs/runtime 1332s ok 4 /bookmarks/corner-cases 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/misc/.dirs/runtime 1332s ok 5 /bookmarks/misc 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/deprecated/.dirs/runtime 1332s ok 6 /bookmarks/deprecated 1332s # Start of parse tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1332s ok 7 /bookmarks/parse/fail-01.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1332s ok 8 /bookmarks/parse/fail-02.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1332s ok 9 /bookmarks/parse/fail-03.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1332s ok 10 /bookmarks/parse/fail-04.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1332s ok 11 /bookmarks/parse/fail-05.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1332s ok 12 /bookmarks/parse/fail-06.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1332s ok 13 /bookmarks/parse/fail-07.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1332s ok 14 /bookmarks/parse/fail-08.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1332s ok 15 /bookmarks/parse/fail-09.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1332s ok 16 /bookmarks/parse/fail-10.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1332s ok 17 /bookmarks/parse/fail-11.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1332s ok 18 /bookmarks/parse/fail-12.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1332s ok 19 /bookmarks/parse/fail-13.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1332s ok 20 /bookmarks/parse/fail-14.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1332s ok 21 /bookmarks/parse/fail-15.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1332s ok 22 /bookmarks/parse/fail-16.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1332s ok 23 /bookmarks/parse/fail-17.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1332s ok 24 /bookmarks/parse/fail-18.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1332s ok 25 /bookmarks/parse/fail-19.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1332s ok 26 /bookmarks/parse/fail-20.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1332s ok 27 /bookmarks/parse/fail-21.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1332s ok 28 /bookmarks/parse/fail-22.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1332s ok 29 /bookmarks/parse/fail-23.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1332s ok 30 /bookmarks/parse/fail-24.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1332s ok 31 /bookmarks/parse/fail-25.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1332s ok 32 /bookmarks/parse/fail-26.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1332s ok 33 /bookmarks/parse/fail-27.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1332s ok 34 /bookmarks/parse/fail-28.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1332s ok 35 /bookmarks/parse/fail-29.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1332s ok 36 /bookmarks/parse/fail-30.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1332s ok 37 /bookmarks/parse/fail-31.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1332s ok 38 /bookmarks/parse/fail-32.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1332s ok 39 /bookmarks/parse/fail-33.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1332s ok 40 /bookmarks/parse/fail-34.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1332s ok 41 /bookmarks/parse/fail-35.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1332s ok 42 /bookmarks/parse/fail-36.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1332s ok 43 /bookmarks/parse/fail-37.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1332s ok 44 /bookmarks/parse/fail-38.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1332s ok 45 /bookmarks/parse/fail-39.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1332s ok 46 /bookmarks/parse/fail-40.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1332s ok 47 /bookmarks/parse/fail-41.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1332s ok 48 /bookmarks/parse/fail-42.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1332s ok 49 /bookmarks/parse/valid-01.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1332s ok 50 /bookmarks/parse/valid-02.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1332s ok 51 /bookmarks/parse/valid-03.xbel 1332s # End of parse tests 1332s # Start of copy tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1332s ok 52 /bookmarks/copy/fail-01.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1332s ok 53 /bookmarks/copy/fail-02.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1332s ok 54 /bookmarks/copy/fail-03.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1332s ok 55 /bookmarks/copy/fail-04.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1332s ok 56 /bookmarks/copy/fail-05.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1332s ok 57 /bookmarks/copy/fail-06.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1332s ok 58 /bookmarks/copy/fail-07.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1332s ok 59 /bookmarks/copy/fail-08.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1332s ok 60 /bookmarks/copy/fail-09.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1332s ok 61 /bookmarks/copy/fail-10.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1332s ok 62 /bookmarks/copy/fail-11.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1332s ok 63 /bookmarks/copy/fail-12.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1332s ok 64 /bookmarks/copy/fail-13.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1332s ok 65 /bookmarks/copy/fail-14.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1332s ok 66 /bookmarks/copy/fail-15.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1332s ok 67 /bookmarks/copy/fail-16.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1332s ok 68 /bookmarks/copy/fail-17.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1332s ok 69 /bookmarks/copy/fail-18.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1332s ok 70 /bookmarks/copy/fail-19.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1332s ok 71 /bookmarks/copy/fail-20.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1332s ok 72 /bookmarks/copy/fail-21.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1332s ok 73 /bookmarks/copy/fail-22.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1332s ok 74 /bookmarks/copy/fail-23.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1332s ok 75 /bookmarks/copy/fail-24.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1332s ok 76 /bookmarks/copy/fail-25.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1332s ok 77 /bookmarks/copy/fail-26.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1332s ok 78 /bookmarks/copy/fail-27.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1332s ok 79 /bookmarks/copy/fail-28.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1332s ok 80 /bookmarks/copy/fail-29.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1332s ok 81 /bookmarks/copy/fail-30.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1332s ok 82 /bookmarks/copy/fail-31.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1332s ok 83 /bookmarks/copy/fail-32.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1332s ok 84 /bookmarks/copy/fail-33.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1332s ok 85 /bookmarks/copy/fail-34.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1332s ok 86 /bookmarks/copy/fail-35.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1332s ok 87 /bookmarks/copy/fail-36.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1332s ok 88 /bookmarks/copy/fail-37.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1332s ok 89 /bookmarks/copy/fail-38.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1332s ok 90 /bookmarks/copy/fail-39.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1332s ok 91 /bookmarks/copy/fail-40.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1332s ok 92 /bookmarks/copy/fail-41.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1332s ok 93 /bookmarks/copy/fail-42.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1332s ok 94 /bookmarks/copy/valid-01.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1332s ok 95 /bookmarks/copy/valid-02.xbel 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QH1IK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1332s ok 96 /bookmarks/copy/valid-03.xbel 1332s # End of copy tests 1332s # End of bookmarks tests 1332s ok - glib/bookmarkfile.test 1332s # Running test: glib/onceinit.test 1332s TAP version 13 1332s # random seed: R02Sc4893fc9bb300d414c61f4016d84ef77 1332s 1..1 1332s # Start of thread tests 1332s ok 1 /thread/onceinit 1332s # End of thread tests 1332s ok - glib/onceinit.test 1332s # Running test: glib/readwrite.test 1332s TAP version 13 1332s # random seed: R02S0bd0f58eaa3084910af4b008059442b2 1332s 1..3 1332s # Start of readwrite tests 1332s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1332s ok 1 /readwrite/test_g_file_open_readwrite 1332s ok 2 /readwrite/test_g_file_create_readwrite 1332s ok 3 /readwrite/test_g_file_replace_readwrite 1332s # End of readwrite tests 1332s ok - glib/readwrite.test 1332s # Running test: glib/atomic.test 1332s TAP version 13 1332s # random seed: R02Sbae046de91ec77a12ff1fdfdb97fdf79 1332s 1..2 1332s # Start of atomic tests 1332s ok 1 /atomic/types 1333s ok 2 /atomic/threaded 1333s # End of atomic tests 1333s ok - glib/atomic.test 1333s # Running test: glib/relation.test 1333s TAP version 13 1333s # random seed: R02S94c2c3c61c84d92038b59a50f7ccc695 1333s 1..1 1333s # Start of glib tests 1333s ok 1 /glib/relation 1333s # End of glib tests 1333s ok - glib/relation.test 1333s # Running test: glib/assert-msg-test.py.test 1333s TAP version 13 1333s ok 1 __main__.TestAssertMessage.test_gassert 1333s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1333s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1333s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1333s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1333s # Error: ** 1333s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1333s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1333s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1333s 1..2 1333s ok - glib/assert-msg-test.py.test 1333s # Running test: glib/tls-interaction.test 1333s TAP version 13 1333s # random seed: R02Sd86482b1f02d252ab25416d820a8c36a 1333s 1..42 1333s # Start of tls-interaction tests 1333s # Start of ask-password tests 1333s # Start of invoke-with-loop tests 1333s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1333s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1333s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1333s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1333s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1333s # End of invoke-with-loop tests 1333s # Start of invoke-without-loop tests 1333s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1333s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1333s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1333s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1333s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1333s # End of invoke-without-loop tests 1333s # Start of invoke-in-loop tests 1333s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1333s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1333s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1333s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1333s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1333s # End of invoke-in-loop tests 1333s # Start of sync tests 1333s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1333s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1333s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1333s # End of sync tests 1333s # Start of async tests 1333s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1333s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1333s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1333s # End of async tests 1333s # End of ask-password tests 1333s # Start of request-certificate tests 1333s # Start of invoke-with-loop tests 1333s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1333s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1333s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1333s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1333s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1333s # End of invoke-with-loop tests 1333s # Start of invoke-without-loop tests 1333s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1333s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1333s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1333s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1333s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1333s # End of invoke-without-loop tests 1333s # Start of invoke-in-loop tests 1333s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1333s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1333s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1333s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1333s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1333s # End of invoke-in-loop tests 1333s # Start of sync tests 1333s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1333s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1333s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1333s # End of sync tests 1333s # Start of async tests 1333s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1333s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1333s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1333s # End of async tests 1333s # End of request-certificate tests 1333s # End of tls-interaction tests 1333s ok - glib/tls-interaction.test 1333s # Running test: glib/overflow.test 1333s TAP version 13 1333s # random seed: R02Sd1c925708f6ed9d5fbf12b346129a4ae 1333s 1..6 1333s # Start of glib tests 1333s # Start of checked-math tests 1333s ok 1 /glib/checked-math/guint-add 1333s ok 2 /glib/checked-math/guint-mul 1333s ok 3 /glib/checked-math/guint64-add 1333s ok 4 /glib/checked-math/guint64-mul 1333s ok 5 /glib/checked-math/gsize-add 1333s ok 6 /glib/checked-math/gsize-mul 1333s # End of checked-math tests 1333s # End of glib tests 1333s ok - glib/overflow.test 1333s # Running test: glib/dataset.test 1333s TAP version 13 1333s # random seed: R02Sc0ff99808470bae1df5253c0b1ab09a2 1333s 1..14 1333s # Start of quark tests 1333s ok 1 /quark/basic 1333s ok 2 /quark/string 1333s # End of quark tests 1333s # Start of dataset tests 1333s ok 3 /dataset/basic 1333s ok 4 /dataset/id 1333s ok 5 /dataset/full 1333s ok 6 /dataset/foreach 1333s ok 7 /dataset/destroy 1333s # End of dataset tests 1333s # Start of datalist tests 1333s ok 8 /datalist/basic 1333s ok 9 /datalist/id 1333s ok 10 /datalist/recursive-clear 1333s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1333s ok 11 /datalist/id-remove-multiple 1333s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1333s ok 12 /datalist/id-remove-multiple-destroy-order 1333s ok 13 /datalist/update-atomic 1333s # Start of id-remove-multiple tests 1333s ok 14 /datalist/id-remove-multiple/resize 1333s # End of id-remove-multiple tests 1333s # End of datalist tests 1333s ok - glib/dataset.test 1333s # Running test: glib/gdbus-proxy.test 1333s TAP version 13 1333s # random seed: R02S14e1322e9de69f8287de6ae5db0b6cfe 1333s 1..5 1333s # Start of gdbus tests 1333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/home 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/cache 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/system-config2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/config 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/system-data2 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/data 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/state 1333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/.dirs/runtime 1333s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1334s # Executing: glib/gdbus-proxy.test 1335s ok 1 /gdbus/proxy 1335s # slow test /gdbus/proxy executed in 1.85 secs 1335s # Start of proxy tests 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-properties/.dirs/runtime 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s ok 2 /gdbus/proxy/no-properties 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1335s ok 3 /gdbus/proxy/wellknown-noauto 1335s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/home 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/cache 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/system-config2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/config 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/system-data2 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/data 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/state 1335s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/async/.dirs/runtime 1335s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1337s ok 4 /gdbus/proxy/async 1337s # slow test /gdbus/proxy/async executed in 1.86 secs 1337s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/home 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/cache 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/config 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/data 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/state 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_5GFXK2/gdbus/proxy/no-match-rule/.dirs/runtime 1337s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1337s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1337s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1339s # Executing: glib/gdbus-proxy.test 1339s ok 5 /gdbus/proxy/no-match-rule 1339s # slow test /gdbus/proxy/no-match-rule executed in 1.86 secs 1339s # End of proxy tests 1339s # End of gdbus tests 1339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1339s ok - glib/gdbus-proxy.test 1339s # Running test: glib/portal-support-env-var.test 1339s TAP version 13 1339s # random seed: R02S3e8a6cee6ff67e6bc57e8bba37ecea09 1339s 1..1 1339s # Start of portal-support tests 1339s ok 1 /portal-support/env-var 1339s # End of portal-support tests 1339s ok - glib/portal-support-env-var.test 1339s # Running test: glib/bytes.test 1339s TAP version 13 1339s # random seed: R02Sbb66bed9874f56ed7698c17ac56facb4 1339s 1..21 1339s # Start of bytes tests 1339s ok 1 /bytes/new 1339s ok 2 /bytes/new-take 1339s ok 3 /bytes/new-static 1339s ok 4 /bytes/new-with-free-func 1339s ok 5 /bytes/new-from-bytes 1339s ok 6 /bytes/new-from-bytes-slice 1339s ok 7 /bytes/new-from-bytes-shared-ref 1339s ok 8 /bytes/hash 1339s ok 9 /bytes/equal 1339s ok 10 /bytes/compare 1339s ok 11 /bytes/null 1339s ok 12 /bytes/get-region 1339s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1339s ok 13 /bytes/unref-null 1339s # Start of to-data tests 1339s ok 14 /bytes/to-data/transferred 1339s ok 15 /bytes/to-data/two-refs 1339s ok 16 /bytes/to-data/non-malloc 1339s ok 17 /bytes/to-data/different-free-func 1339s # End of to-data tests 1339s # Start of to-array tests 1339s ok 18 /bytes/to-array/transferred 1339s ok 19 /bytes/to-array/two-refs 1339s ok 20 /bytes/to-array/non-malloc 1339s # Start of transferred tests 1339s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1339s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 1339s # End of transferred tests 1339s # End of to-array tests 1339s # End of bytes tests 1339s ok - glib/bytes.test 1339s # Running test: glib/object-info.test 1339s TAP version 13 1339s # random seed: R02Sab0122fc483e705f7f68d1dcf4704a5d 1339s 1..2 1339s # Start of object-info tests 1339s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/home 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/cache 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/system-config2 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/config 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/system-data2 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/data 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/state 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_X112K2/object-info/find-method-using-interfaces/.dirs/runtime 1339s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1339s ok 1 /object-info/find-method-using-interfaces 1339s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/home 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/cache 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/config 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/data 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/state 1339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_X112K2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1339s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1339s ok 2 /object-info/find-vfunc-using-interfaces 1339s # End of object-info tests 1339s ok - glib/object-info.test 1339s # Running test: glib/logging.test 1339s TAP version 13 1339s # random seed: R02Sd84928e2aee8291b8cb6dfeb5fb75b78 1339s 1..17 1339s # Start of logging tests 1340s ok 1 /logging/default-handler 1340s ok 2 /logging/warnings 1340s ok 3 /logging/fatal-log-mask 1340s # bu-DEBUG: message 1340s # ba-DEBUG: message 1340s # ba-INFO: message 1340s ok 4 /logging/set-handler 1340s ok 5 /logging/print-handler 1340s ok 6 /logging/printerr-handler 1340s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1340s # The Log Message Handler 1340s # 1340s # The Good Fail Message Handler 1340s # 1340s ok 7 /logging/653052 1340s ok 8 /logging/gibberish 1340s # Start of default-handler tests 1340s # Start of subprocess tests 1340s # End of subprocess tests 1340s # End of default-handler tests 1340s # End of logging tests 1340s # Start of structured-logging tests 1340s ok 9 /structured-logging/no-state 1340s ok 10 /structured-logging/some-state 1340s ok 11 /structured-logging/robustness 1340s ok 12 /structured-logging/roundtrip1 1340s ok 13 /structured-logging/roundtrip2 1340s ok 14 /structured-logging/roundtrip3 1340s ok 15 /structured-logging/variant1 1340s ok 16 /structured-logging/variant2 1340s ok 17 /structured-logging/set-writer-func-twice 1340s # End of structured-logging tests 1340s ok - glib/logging.test 1340s # Running test: glib/inet-address.test 1340s TAP version 13 1340s # random seed: R02S179272f062cf982a643d032746561fd5 1340s 1..11 1340s # Start of inet-address tests 1340s ok 1 /inet-address/parse 1340s ok 2 /inet-address/any 1340s ok 3 /inet-address/loopback 1340s ok 4 /inet-address/bytes 1340s ok 5 /inet-address/property 1340s # End of inet-address tests 1340s # Start of socket-address tests 1340s ok 6 /socket-address/basic 1340s ok 7 /socket-address/to-string 1340s # End of socket-address tests 1340s # Start of address-mask tests 1340s ok 8 /address-mask/parse 1340s ok 9 /address-mask/property 1340s ok 10 /address-mask/equal 1340s ok 11 /address-mask/match 1340s # End of address-mask tests 1340s ok - glib/inet-address.test 1340s # Running test: glib/mimeapps.test 1340s TAP version 13 1340s # random seed: R02S0c89b5fb29d0979d18f14e1a68a2e627 1340s 1..7 1340s # Start of appinfo tests 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1340s ok 1 /appinfo/all 1340s # Start of mime tests 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config 1340s ok 2 /appinfo/mime/api 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config 1340s ok 3 /appinfo/mime/default 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config 1340s ok 4 /appinfo/mime/file 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/config 1340s ok 5 /appinfo/mime/scheme-handler 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config 1340s ok 6 /appinfo/mime/default-last-used 1340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/home 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/config 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/state 1340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1340s # removing '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1340s # creating '/tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1340s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_QQ5NK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_QQ5NK2/appinfo/mime/ignore-nonexisting/.dirs/config 1340s ok 7 /appinfo/mime/ignore-nonexisting 1340s # End of mime tests 1340s # End of appinfo tests 1340s ok - glib/mimeapps.test 1340s # Running test: glib/vfs.test 1340s TAP version 13 1340s # random seed: R02S0a5c77cd27dec026a0525c4ca3e6ed22 1340s 1..3 1340s # Start of gvfs tests 1340s ok 1 /gvfs/local 1340s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1340s ok 2 /gvfs/register-scheme 1340s # Start of resource tests 1340s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1340s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1340s ok 3 /gvfs/resource/malformed-escaping 1340s # End of resource tests 1340s # End of gvfs tests 1340s ok - glib/vfs.test 1340s # Running test: glib/cxx-03.test 1341s TAP version 13 1341s # random seed: R02Sb2334ae6e1928490e299acd4eef58eb5 1341s 1..2 1341s # Start of gtask tests 1341s # 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. 1341s ok 1 /gtask/name 1341s # Start of name tests 1341s # 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. 1341s ok 2 /gtask/name/macro-wrapper 1341s # End of name tests 1341s # End of gtask tests 1341s ok - glib/cxx-03.test 1341s # Running test: glib/g-file-info.test 1341s TAP version 13 1341s # random seed: R02S3eb8e17f1854c02e2350170fb02da164 1341s 1..6 1341s # Start of g-file-info tests 1341s ok 1 /g-file-info/test_g_file_info 1341s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1341s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1341s ok 2 /g-file-info/xattrs 1341s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1341s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1341s ok 3 /g-file-info/set-modified-date-time-precision 1341s # Start of test_g_file_info tests 1341s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1341s ok 4 /g-file-info/test_g_file_info/modification-time 1341s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1341s ok 5 /g-file-info/test_g_file_info/access-time 1341s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1341s ok 6 /g-file-info/test_g_file_info/creation-time 1341s # End of test_g_file_info tests 1341s # End of g-file-info tests 1341s ok - glib/g-file-info.test 1341s # Running test: glib/memory-input-stream.test 1341s TAP version 13 1341s # random seed: R02S74f583054577b1636539ea6f3c23c44b 1341s 1..6 1341s # Start of memory-input-stream tests 1341s ok 1 /memory-input-stream/read-chunks 1341s ok 2 /memory-input-stream/async 1341s ok 3 /memory-input-stream/seek 1341s ok 4 /memory-input-stream/truncate 1341s ok 5 /memory-input-stream/read-bytes 1341s ok 6 /memory-input-stream/from-bytes 1341s # End of memory-input-stream tests 1341s ok - glib/memory-input-stream.test 1341s # Running test: glib/type.test 1341s TAP version 13 1341s # random seed: R02S568029c4774abc7d735fe0e29926df7f 1341s 1..6 1341s # Start of type tests 1341s ok 1 /type/registration-serial 1341s ok 2 /type/interface-prerequisite 1341s ok 3 /type/interface-check 1341s ok 4 /type/next-base 1341s ok 5 /type/is-a 1341s # Invalid types can?t be queried. 1341s # Unclassed types can?t be queried. 1341s ok 6 /type/query 1341s # End of type tests 1341s ok - glib/type.test 1341s # Running test: glib/sandbox.test 1341s TAP version 13 1341s # random seed: R02Sd934652e58e699aa446faacd51eca6cd 1341s 1..4 1341s # Start of sandbox tests 1341s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/home 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/cache 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/system-config2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/config 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/system-data2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/data 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/state 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JMIRK2/sandbox/none/.dirs/runtime 1341s ok 1 /sandbox/none 1341s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/home 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/cache 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/system-config2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/config 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/system-data2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/data 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/state 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JMIRK2/sandbox/snap/.dirs/runtime 1341s # Created snap.yaml in /tmp/test_sandbox_JMIRK2/snap/current/meta/snap.yaml 1341s ok 2 /sandbox/snap 1341s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/home 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/cache 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/system-config2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/config 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/system-data2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/data 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/state 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JMIRK2/sandbox/classic-snap/.dirs/runtime 1341s # Created snap.yaml in /tmp/test_sandbox_JMIRK2/snap/current/meta/snap.yaml 1341s ok 3 /sandbox/classic-snap 1341s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/home 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/cache 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/system-config2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/config 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/system-data2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/data 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/state 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/runtime 1341s # Creating .flatpak-info in /tmp/test_sandbox_JMIRK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1341s ok 4 /sandbox/flatpak 1341s # End of sandbox tests 1341s ok - glib/sandbox.test 1341s # Running test: glib/basic-signals.test 1341s TAP version 13 1341s # random seed: R02S0a54bd845f886b98807a458d85741be2 1341s 1..1 1341s # Start of gobject tests 1341s ok 1 /gobject/basic-signals 1341s # End of gobject tests 1341s ok - glib/basic-signals.test 1341s # Running test: glib/messages-low-memory.py.test 1341s TAP version 13 1341s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1341s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1341s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1341s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1341s # Return code: -6 1341s # Output: 1341s # Error: GLib-Message: 01:11:22.383: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1341s # GLib-Message: 01:11:22.383: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1341s # ../../../glib/gprintf.c:350: failed to allocate memory 1341s 1..1 1341s ok - glib/messages-low-memory.py.test 1341s # Running test: glib/stream-rw_all.test 1341s TAP version 13 1341s # random seed: R02S8885d6d1cb291dbac438ea2a1a77a5bb 1341s 1..3 1341s # Start of stream tests 1341s # Start of read_all_async tests 1341s ok 1 /stream/read_all_async/memory 1341s # End of read_all_async tests 1341s # Start of write_all_async tests 1341s ok 2 /stream/write_all_async/memory 1341s # End of write_all_async tests 1341s # Start of read_write_all_async tests 1341s ok 3 /stream/read_write_all_async/pipe 1341s # End of read_write_all_async tests 1341s # End of stream tests 1341s ok - glib/stream-rw_all.test 1341s # Running test: glib/threadtests.test 1341s TAP version 13 1341s # random seed: R02S4135563bc03d898431be6d0a42c7694f 1341s 1..5 1341s # Start of GObject tests 1341s ok 1 /GObject/threaded-object-init 1344s # Executing: glib/threadtests.test 1349s # Executing: glib/threadtests.test 1351s ok 2 /GObject/threaded-weak-ref 1351s # slow test /GObject/threaded-weak-ref executed in 9.72 secs 1351s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 1351s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1351s # Start of threaded-weak-ref tests 1351s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1351s # /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. 1351s ok 5 /GObject/threaded-weak-ref/on-finalization 1351s # End of threaded-weak-ref tests 1351s # End of GObject tests 1351s ok - glib/threadtests.test 1351s # Running test: glib/null-settings-backend.test 1351s TAP version 13 1351s # random seed: R02S4953e8373bb61f293d00f21941533348 1351s 1..1 1351s # Start of null-settings-backend tests 1351s ok 1 /null-settings-backend/extension-point-registered 1351s # End of null-settings-backend tests 1351s ok - glib/null-settings-backend.test 1351s # Running test: glib/search-utils.test 1351s TAP version 13 1351s # random seed: R02S0ea91924e69759470356cd41154d3720 1351s # GLib-DEBUG: Current user locale: C.UTF-8 1351s 1..6 1351s # Start of search tests 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1351s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1351s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1351s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1351s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1351s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1351s ok 1 /search/basic 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1351s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1351s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1351s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1351s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1351s ok 2 /search/composed 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1351s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1351s ok 3 /search/decomposed 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1351s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1351s ok 4 /search/turkish 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1351s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1351s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1351s ok 5 /search/c_locale_unicode 1351s # GLib-DEBUG: Started 1351s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1351s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1351s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1351s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1351s ok 6 /search/multi_words 1351s # End of search tests 1351s ok - glib/search-utils.test 1351s # Running test: glib/utf8-validate.test 1351s TAP version 13 1351s # random seed: R02Sceac7211efa9420ced1b3ab8fcfc5671 1351s 1..216 1351s # Start of utf8 tests 1351s # Vector 0 1351s # Vector 1 1351s # Vector 2 1351s # Vector 3 1351s # Vector 4 1351s # Vector 5 1351s # Vector 6 1351s # Vector 7 1351s # Vector 8 1351s # Vector 9 1351s # Vector 10 1351s # Vector 11 1351s # Vector 12 1351s # Vector 13 1351s # Vector 14 1351s # Vector 15 1351s # Vector 16 1351s # Vector 17 1351s # Vector 18 1351s # Vector 19 1351s # Vector 20 1351s # Vector 21 1351s # Vector 22 1351s # Vector 23 1351s # Vector 24 1351s # Vector 25 1351s # Vector 26 1351s # Vector 27 1351s ok 1 /utf8/get-char-validated 1351s # Start of validate tests 1351s ok 2 /utf8/validate/0 1351s ok 3 /utf8/validate/1 1351s ok 4 /utf8/validate/2 1351s ok 5 /utf8/validate/3 1351s ok 6 /utf8/validate/4 1351s ok 7 /utf8/validate/5 1351s ok 8 /utf8/validate/6 1351s ok 9 /utf8/validate/7 1351s ok 10 /utf8/validate/8 1351s ok 11 /utf8/validate/9 1351s ok 12 /utf8/validate/10 1351s ok 13 /utf8/validate/11 1351s ok 14 /utf8/validate/12 1351s ok 15 /utf8/validate/13 1351s ok 16 /utf8/validate/14 1351s ok 17 /utf8/validate/15 1351s ok 18 /utf8/validate/16 1351s ok 19 /utf8/validate/17 1351s ok 20 /utf8/validate/18 1351s ok 21 /utf8/validate/19 1351s ok 22 /utf8/validate/20 1351s ok 23 /utf8/validate/21 1351s ok 24 /utf8/validate/22 1351s ok 25 /utf8/validate/23 1351s ok 26 /utf8/validate/24 1351s ok 27 /utf8/validate/25 1351s ok 28 /utf8/validate/26 1351s ok 29 /utf8/validate/27 1351s ok 30 /utf8/validate/28 1351s ok 31 /utf8/validate/29 1351s ok 32 /utf8/validate/30 1351s ok 33 /utf8/validate/31 1351s ok 34 /utf8/validate/32 1351s ok 35 /utf8/validate/33 1351s ok 36 /utf8/validate/34 1351s ok 37 /utf8/validate/35 1351s ok 38 /utf8/validate/36 1351s ok 39 /utf8/validate/37 1351s ok 40 /utf8/validate/38 1351s ok 41 /utf8/validate/39 1351s ok 42 /utf8/validate/40 1351s ok 43 /utf8/validate/41 1351s ok 44 /utf8/validate/42 1351s ok 45 /utf8/validate/43 1351s ok 46 /utf8/validate/44 1351s ok 47 /utf8/validate/45 1351s ok 48 /utf8/validate/46 1351s ok 49 /utf8/validate/47 1351s ok 50 /utf8/validate/48 1351s ok 51 /utf8/validate/49 1351s ok 52 /utf8/validate/50 1351s ok 53 /utf8/validate/51 1351s ok 54 /utf8/validate/52 1351s ok 55 /utf8/validate/53 1351s ok 56 /utf8/validate/54 1351s ok 57 /utf8/validate/55 1351s ok 58 /utf8/validate/56 1351s ok 59 /utf8/validate/57 1351s ok 60 /utf8/validate/58 1351s ok 61 /utf8/validate/59 1351s ok 62 /utf8/validate/60 1351s ok 63 /utf8/validate/61 1351s ok 64 /utf8/validate/62 1351s ok 65 /utf8/validate/63 1351s ok 66 /utf8/validate/64 1351s ok 67 /utf8/validate/65 1351s ok 68 /utf8/validate/66 1351s ok 69 /utf8/validate/67 1351s ok 70 /utf8/validate/68 1351s ok 71 /utf8/validate/69 1351s ok 72 /utf8/validate/70 1351s ok 73 /utf8/validate/71 1351s ok 74 /utf8/validate/72 1351s ok 75 /utf8/validate/73 1351s ok 76 /utf8/validate/74 1351s ok 77 /utf8/validate/75 1351s ok 78 /utf8/validate/76 1351s ok 79 /utf8/validate/77 1351s ok 80 /utf8/validate/78 1351s ok 81 /utf8/validate/79 1351s ok 82 /utf8/validate/80 1351s ok 83 /utf8/validate/81 1351s ok 84 /utf8/validate/82 1351s ok 85 /utf8/validate/83 1351s ok 86 /utf8/validate/84 1351s ok 87 /utf8/validate/85 1351s ok 88 /utf8/validate/86 1351s ok 89 /utf8/validate/87 1351s ok 90 /utf8/validate/88 1351s ok 91 /utf8/validate/89 1351s ok 92 /utf8/validate/90 1351s ok 93 /utf8/validate/91 1351s ok 94 /utf8/validate/92 1351s ok 95 /utf8/validate/93 1351s ok 96 /utf8/validate/94 1351s ok 97 /utf8/validate/95 1351s ok 98 /utf8/validate/96 1351s ok 99 /utf8/validate/97 1351s ok 100 /utf8/validate/98 1351s ok 101 /utf8/validate/99 1351s ok 102 /utf8/validate/100 1351s ok 103 /utf8/validate/101 1351s ok 104 /utf8/validate/102 1351s ok 105 /utf8/validate/103 1351s ok 106 /utf8/validate/104 1351s ok 107 /utf8/validate/105 1351s ok 108 /utf8/validate/106 1351s ok 109 /utf8/validate/107 1351s ok 110 /utf8/validate/108 1351s ok 111 /utf8/validate/109 1351s ok 112 /utf8/validate/110 1351s ok 113 /utf8/validate/111 1351s ok 114 /utf8/validate/112 1351s ok 115 /utf8/validate/113 1351s ok 116 /utf8/validate/114 1351s ok 117 /utf8/validate/115 1351s ok 118 /utf8/validate/116 1351s ok 119 /utf8/validate/117 1351s ok 120 /utf8/validate/118 1351s ok 121 /utf8/validate/119 1351s ok 122 /utf8/validate/120 1351s ok 123 /utf8/validate/121 1351s ok 124 /utf8/validate/122 1351s ok 125 /utf8/validate/123 1351s ok 126 /utf8/validate/124 1351s ok 127 /utf8/validate/125 1351s ok 128 /utf8/validate/126 1351s ok 129 /utf8/validate/127 1351s ok 130 /utf8/validate/128 1351s ok 131 /utf8/validate/129 1351s ok 132 /utf8/validate/130 1351s ok 133 /utf8/validate/131 1351s ok 134 /utf8/validate/132 1351s ok 135 /utf8/validate/133 1351s ok 136 /utf8/validate/134 1351s ok 137 /utf8/validate/135 1351s ok 138 /utf8/validate/136 1351s ok 139 /utf8/validate/137 1351s ok 140 /utf8/validate/138 1351s ok 141 /utf8/validate/139 1351s ok 142 /utf8/validate/140 1351s ok 143 /utf8/validate/141 1351s ok 144 /utf8/validate/142 1351s ok 145 /utf8/validate/143 1351s ok 146 /utf8/validate/144 1351s ok 147 /utf8/validate/145 1351s ok 148 /utf8/validate/146 1351s ok 149 /utf8/validate/147 1351s ok 150 /utf8/validate/148 1351s ok 151 /utf8/validate/149 1351s ok 152 /utf8/validate/150 1351s ok 153 /utf8/validate/151 1351s ok 154 /utf8/validate/152 1351s ok 155 /utf8/validate/153 1351s ok 156 /utf8/validate/154 1351s ok 157 /utf8/validate/155 1351s ok 158 /utf8/validate/156 1351s ok 159 /utf8/validate/157 1351s ok 160 /utf8/validate/158 1351s ok 161 /utf8/validate/159 1351s ok 162 /utf8/validate/160 1351s ok 163 /utf8/validate/161 1351s ok 164 /utf8/validate/162 1351s ok 165 /utf8/validate/163 1351s ok 166 /utf8/validate/164 1351s ok 167 /utf8/validate/165 1351s ok 168 /utf8/validate/166 1351s ok 169 /utf8/validate/167 1351s ok 170 /utf8/validate/168 1351s ok 171 /utf8/validate/169 1351s ok 172 /utf8/validate/170 1351s ok 173 /utf8/validate/171 1351s ok 174 /utf8/validate/172 1351s ok 175 /utf8/validate/173 1351s ok 176 /utf8/validate/174 1351s ok 177 /utf8/validate/175 1351s ok 178 /utf8/validate/176 1351s ok 179 /utf8/validate/177 1351s ok 180 /utf8/validate/178 1351s ok 181 /utf8/validate/179 1351s ok 182 /utf8/validate/180 1351s ok 183 /utf8/validate/181 1351s ok 184 /utf8/validate/182 1351s ok 185 /utf8/validate/183 1351s ok 186 /utf8/validate/184 1351s ok 187 /utf8/validate/185 1351s ok 188 /utf8/validate/186 1351s ok 189 /utf8/validate/187 1351s ok 190 /utf8/validate/188 1351s ok 191 /utf8/validate/189 1351s ok 192 /utf8/validate/190 1351s ok 193 /utf8/validate/191 1351s ok 194 /utf8/validate/192 1351s ok 195 /utf8/validate/193 1351s ok 196 /utf8/validate/194 1351s ok 197 /utf8/validate/195 1351s ok 198 /utf8/validate/196 1351s ok 199 /utf8/validate/197 1351s ok 200 /utf8/validate/198 1351s ok 201 /utf8/validate/199 1351s ok 202 /utf8/validate/200 1351s ok 203 /utf8/validate/201 1351s ok 204 /utf8/validate/202 1351s ok 205 /utf8/validate/203 1351s ok 206 /utf8/validate/204 1351s ok 207 /utf8/validate/205 1351s ok 208 /utf8/validate/206 1351s ok 209 /utf8/validate/207 1351s ok 210 /utf8/validate/208 1351s ok 211 /utf8/validate/209 1351s ok 212 /utf8/validate/210 1351s ok 213 /utf8/validate/211 1351s ok 214 /utf8/validate/212 1351s ok 215 /utf8/validate/213 1351s ok 216 /utf8/validate/214 1351s # End of validate tests 1351s # End of utf8 tests 1351s ok - glib/utf8-validate.test 1351s # Running test: glib/gdbus-server-auth.test 1351s TAP version 13 1351s # random seed: R02S4878b2d4244613716f384079322d3c17 1351s 1..9 1351s # Start of gdbus tests 1351s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/home 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/cache 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/system-config2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/config 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/system-data2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/data 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/state 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/.dirs/runtime 1351s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-41PJK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1351s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-41PJK2/dbus-pH4uC6W6 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8349 1351s ok 1 /gdbus/server-auth 1351s # Start of server-auth tests 1351s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/home 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/cache 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/system-config2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/config 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/system-data2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/data 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/state 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/abstract/.dirs/runtime 1351s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-EX02K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1351s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-EX02K2/dbus-i9I9vlav 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1351s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1351s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8349 1351s ok 2 /gdbus/server-auth/abstract 1351s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/home 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/cache 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/system-config2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/config 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/system-data2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/data 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/state 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/tcp/.dirs/runtime 1351s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1351s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1351s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/home 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/cache 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/system-config2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/config 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/system-data2 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/data 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/state 1351s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/.dirs/runtime 1351s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-3D9ZK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1351s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-3D9ZK2/dbus-g5Usfrmm 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1351s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8349 1351s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1351s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1351s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1351s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1352s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8349 1352s ok 4 /gdbus/server-auth/anonymous 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/.dirs/runtime 1352s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-B1EUK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1352s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-B1EUK2/dbus-9scEfMVd 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8349 1352s ok 5 /gdbus/server-auth/external 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/.dirs/runtime 1352s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-1OSOK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1352s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1352s # Start of anonymous tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1352s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1352s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1352s # End of anonymous tests 1352s # Start of external tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1352s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-43ZOK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1352s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_U2QJK2/gdbus-server-auth-43ZOK2/dbus-BMrEeA74 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8349 1352s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1352s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1352s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1352s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8349,uid=1000,gid=1000 1352s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8349 1352s ok 8 /gdbus/server-auth/external/require-same-user 1352s # End of external tests 1352s # Start of sha1 tests 1352s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/home 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/config 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/data 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/state 1352s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_U2QJK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1352s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1352s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1352s # End of sha1 tests 1352s # End of server-auth tests 1352s # End of gdbus tests 1352s ok - glib/gdbus-server-auth.test 1352s # Running test: glib/objects-refcount1.test 1352s TAP version 13 1352s # random seed: R02S35269c9b2da394b4fd6d3648a95358de 1352s 1..1 1352s # Start of gobject tests 1352s # Start of refcount tests 1352s # init 0x12ab1d8 1352s # 1352s # init 0x12ab328 1352s # 1354s # Executing: glib/objects-refcount1.test 1357s # dispose 0x12ab1d8! 1357s # 1357s # dispose 0x12ab328! 1357s # 1357s ok 1 /gobject/refcount/object-basics 1357s # slow test /gobject/refcount/object-basics executed in 5.05 secs 1357s # End of refcount tests 1357s # End of gobject tests 1357s ok - glib/objects-refcount1.test 1357s # Running test: glib/g-file.test 1357s TAP version 13 1357s # random seed: R02S259e43e32bfe8f89aa2ce8be04c39779 1357s 1..8 1357s # Start of g-file tests 1357s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1357s ok 1 /g-file/test_g_file_new_null 1357s ok 2 /g-file/test_g_file_new_for_path 1357s ok 3 /g-file/test_g_file_new_for_uri 1357s ok 4 /g-file/test_g_file_dup 1357s ok 5 /g-file/test_g_file_get_parse_name_utf8 1357s file:///tmp/test-tmp-glib_g-file.test-RBXJK2 1357s file:///tmp 1357s file:///tmp 1357s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1357s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1357s ok 6 /g-file/test_g_file_new_for_commandline_arg 1357s /dir1 /dir1/dir2/dir3/ 1357s /dir1/ /dir1/dir2/dir3/ 1357s /dir1 /dir1/dir2/dir3 1357s /dir1/ /dir1/dir2/dir3 1357s /tmp/ /something/ 1357s /dir1/dir2 /dir1/ 1357s //dir1/new //dir1/new/dir2/dir3 1357s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1357s file:///dir1 file:///dir1/dir2/dir3/ 1357s file:///dir1/ file:///dir1/dir2/dir3/ 1357s file:///dir1 file:///dir1/dir2/dir3 1357s file:///dir1/ file:///dir1/dir2/dir3 1357s file:///tmp/ file:///something/ 1357s file:///dir1/dir2 file:///dir1/ 1357s file:////dir1/new file:////dir1/new/dir2/dir3 1357s 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 1357s ok 7 /g-file/test_g_file_has_prefix 1357s ok 8 /g-file/test_g_file_get_parent_child 1357s # End of g-file tests 1357s ok - glib/g-file.test 1357s # Running test: glib/giomodule.test 1357s TAP version 13 1357s # random seed: R02Sca7c72613c2ece9f76999e232f99a45d 1357s 1..3 1357s # Start of giomodule tests 1357s ok 1 /giomodule/extension-point 1357s ok 2 /giomodule/module-scan-all 1357s ok 3 /giomodule/module-scan-all-with-scope 1357s # End of giomodule tests 1357s ok - glib/giomodule.test 1357s # Running test: glib/gapplication.test 1357s TAP version 13 1357s # random seed: R02S7c43b1ad0b99e3d684497da8d8060f68 1357s 1..24 1357s # Start of gapplication tests 1357s ok 1 /gapplication/no-dbus 1357s ok 2 /gapplication/no-appid 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1357s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s ok 3 /gapplication/properties 1357s ok 4 /gapplication/app-id 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1357s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s ok 5 /gapplication/quit 1357s ok 6 /gapplication/registered 1357s ok 7 /gapplication/local-actions 1357s ok 8 /gapplication/local-command-line 1357s ok 9 /gapplication/resource-path 1357s ok 10 /gapplication/test-help 1357s ok 11 /gapplication/command-line-done 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1357s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1357s ok 12 /gapplication/test-busy 1357s ok 13 /gapplication/test-handle-local-options1 1357s ok 14 /gapplication/test-handle-local-options2 1358s ok 15 /gapplication/test-handle-local-options3 1358s ok 16 /gapplication/api 1358s ok 17 /gapplication/version 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # launching subprocess 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s ok 18 /gapplication/replace 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # launching subprocess 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s ok 19 /gapplication/no-replace 1358s # slow test /gapplication/no-replace executed in 0.55 secs 1358s # Start of dbus tests 1358s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # Message 0 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 1 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 2 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s ok 20 /gapplication/dbus/activate 1358s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # Message 0 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1358s # Message 1 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 2 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 3 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s ok 21 /gapplication/dbus/open 1358s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # Message 0 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 1 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # Message 2 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s ok 22 /gapplication/dbus/command-line 1358s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1358s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1358s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s ok 23 /gapplication/dbus/command-line-done 1359s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1359s # Message 0 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # Message 1 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # Message 2 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # Message 3 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # Message 4 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # Message 5 1359s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1359s ok 24 /gapplication/dbus/activate-action 1359s # End of dbus tests 1359s # End of gapplication tests 1359s ok - glib/gapplication.test 1359s # Running test: glib/base64.test 1359s TAP version 13 1359s # Executing: glib/base64.test 1359s # random seed: R02S671e91d23b867ec067eb2393b3163189 1359s 1..28 1359s # Start of base64 tests 1359s ok 1 /base64/encode 1359s ok 2 /base64/decode 1359s ok 3 /base64/decode-inplace 1359s ok 4 /base64/encode-decode 1359s # Start of full tests 1359s ok 5 /base64/full/1 1359s ok 6 /base64/full/2 1359s ok 7 /base64/full/3 1359s ok 8 /base64/full/4 1359s # End of full tests 1359s # Start of encode tests 1359s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1359s ok 9 /base64/encode/empty 1359s # Start of incremental tests 1359s # Start of small-block tests 1359s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1359s ok 10 /base64/encode/incremental/small-block/1 1359s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1359s ok 11 /base64/encode/incremental/small-block/2 1359s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1359s ok 12 /base64/encode/incremental/small-block/3 1359s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1359s ok 13 /base64/encode/incremental/small-block/4 1359s # End of small-block tests 1359s # End of incremental tests 1359s # End of encode tests 1359s # Start of incremental tests 1359s # Start of nobreak tests 1359s ok 14 /base64/incremental/nobreak/1 1359s ok 15 /base64/incremental/nobreak/2 1359s ok 16 /base64/incremental/nobreak/3 1359s ok 17 /base64/incremental/nobreak/4-a 1359s ok 18 /base64/incremental/nobreak/4-b 1359s ok 19 /base64/incremental/nobreak/4-c 1359s # End of nobreak tests 1359s # Start of break tests 1359s ok 20 /base64/incremental/break/1 1359s ok 21 /base64/incremental/break/2 1359s ok 22 /base64/incremental/break/3 1359s # End of break tests 1359s # Start of smallblock tests 1359s ok 23 /base64/incremental/smallblock/1 1359s ok 24 /base64/incremental/smallblock/2 1359s ok 25 /base64/incremental/smallblock/3 1359s ok 26 /base64/incremental/smallblock/4 1359s # End of smallblock tests 1359s # End of incremental tests 1359s # Start of decode tests 1359s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1359s ok 27 /base64/decode/empty 1359s # End of decode tests 1359s # Start of encode-decode tests 1359s # Vector 0: 1359s # Vector 1: f 1359s # Vector 2: fo 1359s # Vector 3: foo 1359s # Vector 4: foob 1359s # Vector 5: fooba 1359s # Vector 6: foobar 1359s ok 28 /base64/encode-decode/rfc4648 1359s # End of encode-decode tests 1359s # End of base64 tests 1359s ok - glib/base64.test 1359s # Running test: glib/queue.test 1359s TAP version 13 1359s # random seed: R02S3874f1da686efcfe3dcfcf695e5d1ac6 1359s 1..12 1359s # Start of queue tests 1359s ok 1 /queue/basic 1359s ok 2 /queue/copy 1359s ok 3 /queue/off-by-one 1359s ok 4 /queue/find-custom 1359s ok 5 /queue/static 1359s ok 6 /queue/clear 1359s ok 7 /queue/free-full 1359s ok 8 /queue/clear-full 1359s ok 9 /queue/insert-sibling-link 1359s ok 10 /queue/push-nth-link 1359s # Start of clear-full tests 1359s ok 11 /queue/clear-full/noop 1359s # End of clear-full tests 1359s # Start of random tests 1359s ok 12 /queue/random/seed:1284148463 1359s # slow test /queue/random/seed:1284148463 executed in 0.68 secs 1359s # End of random tests 1359s # End of queue tests 1359s ok - glib/queue.test 1359s # Running test: glib/power-profile-monitor-dbus.test 1361s TAP version 13 1361s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1361s 1..1 1361s ok - glib/power-profile-monitor-dbus.test 1361s # Running test: glib/init.test 1361s TAP version 13 1361s # random seed: R02Sa48ed6a2e4d2a2ef927c88e49bbc2602 1361s 1..2 1361s # Start of thread tests 1361s # Start of deprecated tests 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5DHPK2/thread/deprecated/init/.dirs/runtime 1361s ok 1 /thread/deprecated/init 1361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5DHPK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1361s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1361s # End of deprecated tests 1361s # End of thread tests 1361s ok - glib/init.test 1361s # Running test: glib/gutils-user-database.test 1361s TAP version 13 1361s # random seed: R02S76adfa782e216a820f83fb13258d2b5d 1361s 1..1 1361s # Start of gutils tests 1361s ok 1 /gutils/get_user_database_entry 1361s # End of gutils tests 1361s ok - glib/gutils-user-database.test 1361s # Running test: glib/notify-init2.test 1361s TAP version 13 1361s # random seed: R02Sf0e1b754fbf74fce1926e40f0e4dbbae 1361s 1..1 1361s # Start of properties tests 1361s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1361s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1361s ok 1 /properties/notify-in-init2 1361s # End of properties tests 1361s ok - glib/notify-init2.test 1361s # Running test: glib/resources.test 1361s TAP version 13 1361s # random seed: R02S720da4ff4ff17ad3d11494a426b8d045 1361s 1..17 1361s # Start of resource tests 1361s ok 1 /resource/file 1361s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1361s ok 2 /resource/file-path 1361s ok 3 /resource/data 1361s ok 4 /resource/data_unaligned 1361s ok 5 /resource/data-corrupt 1361s ok 6 /resource/data-empty 1361s ok 7 /resource/registered 1361s ok 8 /resource/manual 1361s ok 9 /resource/manual2 1361s ok 10 /resource/automatic 1361s ok 11 /resource/module 1361s ok 12 /resource/binary-linked 1361s ok 13 /resource/64k 1361s GLib-GIO-Message: 01:11:42.258: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1361s ok 14 /resource/overlay 1361s ok 15 /resource/digits 1361s # Start of uri tests 1361s ok 16 /resource/uri/query-info 1361s ok 17 /resource/uri/file 1361s # End of uri tests 1361s # End of resource tests 1361s ok - glib/resources.test 1361s # Running test: glib/live-g-file.test 1361s TAP version 13 1361s # random seed: R02Sbf5bbc5b3807fe3f0125d267c10b1485 1361s 1..13 1361s # Start of live-g-file tests 1361s # Cleaning target testing structure in 'testdir_live-g-file'... 1361s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1361s ok 1 /live-g-file/prep_clean_structure 1361s # 1361s # Going to create testing structure in 'testdir_live-g-file'... 1361s # Creating directory 'dir1'... 1361s # Creating directory 'dir1/subdir'... 1361s # Creating directory 'dir2'... 1361s # Creating directory 'dir-target'... 1361s # Creating directory 'dir_no-access'... 1361s # Creating directory 'dir_no-write'... 1361s # Creating file 'target-file'... 1361s # Creating file 'normal_file'... 1361s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1361s # Creating file 'executable_file'... 1361s # Creating file 'private_file'... 1361s # Creating file 'normal_file2'... 1361s # Creating file 'readonly_file'... 1361s # Creating file 'UTF_pr?i?lis? z'... 1361s # Creating directory 'dir_pr?i?lis? z'... 1361s # Creating symlink 'lost_symlink' --> 'nowhere'... 1361s # Creating directory 'dir_hidden'... 1361s # Creating file 'dir_hidden/.a-hidden-file'... 1361s # Creating file 'dir_hidden/file-in-.hidden1'... 1361s # Creating file 'dir_hidden/file-in-.hidden2'... 1361s # Creating pattern file... 1362s # done. 1362s ok 2 /live-g-file/create_structure 1362s # slow test /live-g-file/create_structure executed in 0.87 secs 1362s # Testing sample structure in 'testdir_live-g-file'... 1362s # Testing file 'dir1'... 1362s # Testing file 'dir1/subdir'... 1362s # Testing file 'dir2'... 1362s # Testing file 'dir-target'... 1362s # Testing file 'dir_no-access'... 1362s # Testing file 'dir_no-write'... 1362s # Testing file 'target-file'... 1362s # Testing file 'normal_file'... 1362s # Testing file 'normal_file-symlink'... 1362s # Testing file 'executable_file'... 1362s # Testing file 'private_file'... 1362s # Testing file 'normal_file2'... 1362s # Testing file 'readonly_file'... 1362s # Testing file 'UTF_pr?i?lis? z'... 1362s # Testing file 'dir_pr?i?lis? z'... 1362s # Testing file 'lost_symlink'... 1362s # Testing file 'dir_hidden'... 1362s # Testing file 'dir_hidden/.a-hidden-file'... 1362s # Testing file 'dir_hidden/file-in-.hidden1'... 1362s # Testing file 'dir_hidden/file-in-.hidden2'... 1362s # Testing pattern file... 1362s # read 65536 bytes, total = 65536 of 65536. 1362s ok 3 /live-g-file/test_initial_structure 1362s # Traversing through the sample structure in 'testdir_live-g-file'... 1362s # Found file dir1, relative to root: dir1 1362s # Found file subdir, relative to root: dir1/subdir 1362s # Found file dir2, relative to root: dir2 1362s # Found file dir-target, relative to root: dir-target 1362s # Found file dir_no-access, relative to root: dir_no-access 1362s # Found file dir_no-write, relative to root: dir_no-write 1362s # Found file target-file, relative to root: target-file 1362s # Found file normal_file, relative to root: normal_file 1362s # Found file normal_file-symlink, relative to root: normal_file-symlink 1362s # Found file executable_file, relative to root: executable_file 1362s # Found file private_file, relative to root: private_file 1362s # Found file normal_file2, relative to root: normal_file2 1362s # Found file readonly_file, relative to root: readonly_file 1362s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1362s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1362s # Found file lost_symlink, relative to root: lost_symlink 1362s # Found file dir_hidden, relative to root: dir_hidden 1362s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1362s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1362s # Found file .hidden, relative to root: dir_hidden/.hidden 1362s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1362s # Found file pattern_file, relative to root: pattern_file 1362s ok 4 /live-g-file/test_traverse_structure 1362s # Test enumerate 'testdir_live-g-file'... 1362s # Testing file 'dir_no-access' 1362s # Testing file 'normal_file' 1362s # Testing file 'normal_file-symlink' 1362s # Testing file 'not_exists' 1362s # Testing file 'not_exists' 1362s # Testing file 'not_exists2' 1362s # Testing file 'not_exists3' 1362s # Testing file 'not_exists4' 1362s # Testing file 'dir_no-execute/file' 1362s ok 5 /live-g-file/test_enumerate 1362s # test_open: 'dir1' 1362s # test_open: 'dir_no-access' 1362s # test_open: 'target-file' 1362s # test_open: 'normal_file-symlink' 1362s # test_open: 'executable_file' 1362s # test_open: 'private_file' 1362s # test_open: 'readonly_file' 1362s # test_open: 'UTF_pr?i?lis? z' 1362s # test_open: 'pattern_file' 1362s # test_open: 'not_exists' 1362s # test_open: 'dir_no-execute/file' 1362s # test_open: 'lost_symlink' 1362s ok 6 /live-g-file/test_open 1362s # test_create: 'dir1' 1362s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir1?: Is a directory 1362s # test_create: 'dir1/subdir' 1362s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir1/subdir?: Is a directory 1362s # test_create: 'dir2' 1362s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir2?: File exists 1362s # test_create: 'normal_file' 1362s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/normal_file?: File exists 1362s # test_create: 'executable_file' 1362s # test_create: 'private_file' 1362s # test_create: 'normal_file2' 1362s # test_create: 'UTF_pr?i?lis? z' 1362s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1362s # test_create: 'dir_pr?i?lis? z' 1362s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1362s # test_create: 'pattern_file' 1362s # test_create: 'not_exists2' 1362s # test_create: 'not_exists3' 1362s # test_create: 'not_exists4' 1362s ok 7 /live-g-file/test_create 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> '.' 1362s # res = 0, error code 2 = Target file exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> 'target-file' 1362s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir2' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> 'dir-target' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> '.' 1362s # res = 0, error code 2 = Target file exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> 'target-file' 1362s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> 'not_exists' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> 'dir_no-access' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'dir-target' --> 'dir_no-write' 1362s # res = 0, error code 25 = Can?t recursively copy directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/target-file?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'target-file' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> '.' 1362s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/normal_file-symlink: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1362s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1362s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/executable_file?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'executable_file' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/private_file?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/private_file?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'private_file' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/normal_file2?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> '.' 1362s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/pattern_file?: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> 'target-file' 1362s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> 'not_exists' 1362s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'dir-target' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> '.' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'target-file' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'not_exists' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'dir_no-access' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'dir_no-write' 1362s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists?: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'not_exists' --> 'dir-target' 1362s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> 'dir-target' 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> '.' 1362s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/lost_symlink: File exists 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> 'target-file' 1362s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> 'not_exists' 1362s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1362s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1362s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1362s ok 8 /live-g-file/test_copy_move 1362s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir1 1362s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir1: Directory not empty 1362s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir2 1362s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir2: No such file or directory 1362s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/executable_file 1362s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/readonly_file 1362s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_pr?i?lis? z 1362s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists 1362s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists: No such file or directory 1362s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists 1362s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/not_exists: No such file or directory 1362s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-execute/file 1362s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1362s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-79JMK2/testdir_live-g-file/lost_symlink 1362s ok 9 /live-g-file/test_delete 1362s # We do not have CAP_DAC_OVERRIDE or equivalent 1362s ok 10 /live-g-file/test_make_directory_with_parents 1362s # Cleaning target testing structure in 'testdir_live-g-file'... 1362s # deleting 'dir1' 1362s # deleting 'subdir' 1362s # deleting 'dir-target' 1362s # deleting 'dir2' 1362s # deleting 'target-file' 1362s # deleting 'normal_file-symlink' 1362s # deleting 'executable_file' 1362s # deleting 'private_file' 1362s # deleting 'normal_file2' 1362s # deleting 'UTF_pr?i?lis? z' 1362s # deleting 'pattern_file' 1362s # deleting 'lost_symlink' 1362s # deleting 'dir_no-access' 1362s # deleting 'dir_no-write' 1362s # deleting 'target-file' 1362s # deleting 'normal_file' 1362s # deleting 'normal_file-symlink' 1362s # deleting 'executable_file~' 1362s # deleting 'private_file' 1362s # deleting 'normal_file2~' 1362s # deleting 'UTF_pr?i?lis? z' 1362s # deleting 'dir_hidden' 1362s # deleting '.a-hidden-file' 1362s # deleting 'file-in-.hidden1' 1362s # deleting '.hidden' 1362s # deleting 'file-in-.hidden2' 1362s # deleting 'pattern_file' 1362s # deleting 'normal_file2' 1362s # deleting 'not_exists2' 1362s # deleting 'not_exists3' 1362s # deleting 'not_exists4' 1362s # deleting 'a' 1362s ok 11 /live-g-file/final_clean 1362s # Start of test_unix_is_mountpoint tests 1362s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1362s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1362s # End of test_unix_is_mountpoint tests 1362s # End of live-g-file tests 1362s ok - glib/live-g-file.test 1362s # Running test: glib/debugcontroller.test 1362s TAP version 13 1362s # random seed: R02Sd4a424fe86a8192824341790d825d5de 1362s 1..3 1362s # Start of debug-controller tests 1362s # Start of dbus tests 1362s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Debug output enabled 1362s # GLib-GIO-DEBUG: Debug output disabled 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s ok 1 /debug-controller/dbus/basic 1362s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1362s ok 2 /debug-controller/dbus/duplicate 1362s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1362s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1362s # End of dbus tests 1362s # End of debug-controller tests 1362s ok - glib/debugcontroller.test 1362s cleaning up pid 8436 1362s # Running test: glib/mount-operation.test 1362s TAP version 13 1362s # random seed: R02S027a05debf321c1d485ab5418299d36d 1362s 1..2 1362s # Start of mount-operation tests 1362s ok 1 /mount-operation/construction 1362s ok 2 /mount-operation/properties 1362s # End of mount-operation tests 1362s ok - glib/mount-operation.test 1362s # Running test: glib/utils-c-17.test 1362s TAP version 13 1362s # random seed: R02S6c1cffe01054353c5685568a6011e27b 1362s 1..40 1362s # Start of utils tests 1362s ok 1 /utils/language-names 1362s ok 2 /utils/locale-variants 1362s ok 3 /utils/version 1362s ok 4 /utils/appname 1362s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1362s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1362s ok 5 /utils/prgname-thread-safety 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1362s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1362s ok 6 /utils/tmpdir 1362s ok 7 /utils/basic_bits 1362s ok 8 /utils/bits 1362s ok 9 /utils/swap 1362s ok 10 /utils/find-program 1362s ok 11 /utils/find-program-for-path 1362s ok 12 /utils/debug 1362s ok 13 /utils/codeset 1362s ok 14 /utils/codeset2 1362s ok 15 /utils/console-charset 1362s ok 16 /utils/gettext 1362s ok 17 /utils/username 1362s ok 18 /utils/realname 1362s ok 19 /utils/hostname 1362s ok 20 /utils/xdgdirs 1362s ok 21 /utils/specialdir 1362s # NAME: Ubuntu 1362s ok 22 /utils/os-info 1362s ok 23 /utils/clear-pointer 1362s ok 24 /utils/clear-pointer-cast 1362s ok 25 /utils/take-pointer 1362s ok 26 /utils/clear-source 1362s ok 27 /utils/misc-mem 1362s # /utils/aligned-mem summary: Aligned memory allocator 1362s # Alignment must not be zero 1362s # Alignment must be a power of two 1363s # Alignment must be a multiple of sizeof(void*) 1363s ok 28 /utils/aligned-mem 1363s # /utils/free-sized summary: Check that g_free_sized() works 1363s ok 29 /utils/free-sized 1363s ok 30 /utils/nullify 1363s ok 31 /utils/atexit 1363s ok 32 /utils/check-setuid 1363s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1363s ok 33 /utils/int-limits 1363s ok 34 /utils/clear-list 1363s ok 35 /utils/clear-slist 1363s # Start of specialdir tests 1363s ok 36 /utils/specialdir/desktop 1363s # End of specialdir tests 1363s # Start of clear-pointer tests 1363s ok 37 /utils/clear-pointer/side-effects 1363s # End of clear-pointer tests 1363s # Start of aligned-mem tests 1363s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1363s ok 38 /utils/aligned-mem/alignment 1363s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1363s ok 39 /utils/aligned-mem/zeroed 1363s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1363s ok 40 /utils/aligned-mem/free-sized 1363s # Start of subprocess tests 1363s # End of subprocess tests 1363s # End of aligned-mem tests 1363s # End of utils tests 1363s ok - glib/utils-c-17.test 1363s # Running test: glib/mainloop.test 1363s TAP version 13 1363s # random seed: R02S8d6e8f0167e1ae6cb496cb6ecf518334 1363s 1..45 1363s # Start of maincontext tests 1363s ok 1 /maincontext/basic 1363s # Add same-priority sources: 35 1363s # Find each source: 8 1363s # Remove in random order: 178 1363s ok 2 /maincontext/nsources_same_priority 1363s # slow test /maincontext/nsources_same_priority executed in 0.52 secs 1363s # Add different-priority sources: 121 1363s # Find each source: 9 1364s # Remove in random order: 222 1364s ok 3 /maincontext/nsources_different_priority 1364s # slow test /maincontext/nsources_different_priority executed in 0.53 secs 1364s # Executing: glib/mainloop.test 1365s # Add sources from threads: 1190 1366s # Remove sources from threads: 790 1366s ok 4 /maincontext/nsources_threadpool 1366s # slow test /maincontext/nsources_threadpool executed in 2.06 secs 1366s ok 5 /maincontext/source_finalization 1366s # /maincontext/idle-once summary: Test g_idle_add_once() works 1366s ok 6 /maincontext/idle-once 1366s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1366s ok 7 /maincontext/timeout-once 1366s # Start of source_finalization_from_source tests 1366s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 8 /maincontext/source_finalization_from_source/0 1366s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 9 /maincontext/source_finalization_from_source/1 1366s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 10 /maincontext/source_finalization_from_source/2 1366s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 11 /maincontext/source_finalization_from_source/3 1366s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 12 /maincontext/source_finalization_from_source/4 1366s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 13 /maincontext/source_finalization_from_source/5 1366s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 14 /maincontext/source_finalization_from_source/6 1366s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 15 /maincontext/source_finalization_from_source/7 1366s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 16 /maincontext/source_finalization_from_source/8 1366s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1366s ok 17 /maincontext/source_finalization_from_source/9 1366s # End of source_finalization_from_source tests 1366s # Start of source_finalization_from_dispatch tests 1366s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1366s ok 18 /maincontext/source_finalization_from_dispatch/0 1366s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1366s ok 19 /maincontext/source_finalization_from_dispatch/1 1366s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1366s ok 20 /maincontext/source_finalization_from_dispatch/2 1366s # End of source_finalization_from_dispatch tests 1366s # End of maincontext tests 1366s # Start of mainloop tests 1366s ok 21 /mainloop/basic 1366s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1366s ok 23 /mainloop/priorities 1366s ok 24 /mainloop/invoke 1366s # slow test /mainloop/invoke executed in 0.50 secs 1366s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 1366s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 1366s ok 27 /mainloop/recursive_loop_child_sources 1366s ok 28 /mainloop/swapping_child_sources 1366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1366s ok 29 /mainloop/blocked_child_sources 1367s ok 30 /mainloop/source_time 1367s # slow test /mainloop/source_time executed in 1.00 secs 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1367s ok 31 /mainloop/overflow 1368s ok 32 /mainloop/ready-time 1368s # slow test /mainloop/ready-time executed in 0.51 secs 1368s ok 33 /mainloop/wakeup 1368s ok 34 /mainloop/remove-invalid 1368s ok 35 /mainloop/unref-while-pending 1369s # Executing: glib/mainloop.test 1373s ok 36 /mainloop/unix-fd 1373s # slow test /mainloop/unix-fd executed in 5.66 secs 1373s ok 37 /mainloop/unix-fd-source 1373s ok 38 /mainloop/source-unix-fd-api 1374s # Executing: glib/mainloop.test 1374s ok 39 /mainloop/wait 1374s ok 40 /mainloop/unix-file-poll 1374s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1374s ok 41 /mainloop/unix-fd-priority 1374s ok 42 /mainloop/nfds 1374s ok 43 /mainloop/steal-fd 1374s # Start of ownerless-polling tests 1374s ok 44 /mainloop/ownerless-polling/attach-first 1374s ok 45 /mainloop/ownerless-polling/pop-first 1374s # End of ownerless-polling tests 1374s # End of mainloop tests 1374s ok - glib/mainloop.test 1374s # Running test: glib/sleepy-stream.test 1374s TAP version 13 1374s # random seed: R02S3a3b9377471d11967a9845e2f56576c9 1374s 1..2 1374s # Start of filter-stream tests 1374s ok 1 /filter-stream/input 1374s ok 2 /filter-stream/async 1374s # End of filter-stream tests 1374s ok - glib/sleepy-stream.test 1374s # Running test: glib/gdbus-close-pending.test 1374s TAP version 13 1374s # random seed: R02S6e61ffefb5e67c24839c9eddec9c206c 1374s 1..2 1374s # Start of gdbus tests 1374s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/home 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/cache 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/system-config2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/config 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/system-data2 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/data 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/state 1374s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/close-pending/.dirs/runtime 1375s ok 1 /gdbus/close-pending 1375s # slow test /gdbus/close-pending executed in 1.24 secs 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_9UJMK2/gdbus/unref-pending/.dirs/runtime 1376s ok 2 /gdbus/unref-pending 1376s # slow test /gdbus/unref-pending executed in 1.29 secs 1376s # End of gdbus tests 1376s ok - glib/gdbus-close-pending.test 1376s # Running test: glib/actions.test 1376s TAP version 13 1376s # random seed: R02S3a8e8ff50b09ddde20f77002b694dce3 1376s 1..12 1376s # Start of actions tests 1376s ok 1 /actions/basic 1376s ok 2 /actions/name 1376s ok 3 /actions/simplegroup 1376s ok 4 /actions/stateful 1376s ok 5 /actions/default-activate 1376s ok 6 /actions/entries 1376s ok 7 /actions/parse-detailed 1376s ok 8 /actions/property 1376s ok 9 /actions/no-properties 1376s # Start of dbus tests 1376s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s ok 10 /actions/dbus/export 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1377s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1377s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1379s # Executing: glib/actions.test 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s ok 11 /actions/dbus/threaded 1383s # slow test /actions/dbus/threaded executed in 6.27 secs 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1383s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1383s ok 12 /actions/dbus/bug679509 1383s # End of dbus tests 1383s # End of actions tests 1383s ok - glib/actions.test 1383s # Running test: glib/defaultiface.test 1383s TAP version 13 1383s # random seed: R02Sbb9c44bfc49dc74ce287dcd088e120e7 1383s 1..2 1383s # Start of gobject tests 1383s ok 1 /gobject/static-iface 1383s ok 2 /gobject/dynamic-iface 1383s # End of gobject tests 1383s ok - glib/defaultiface.test 1383s # Running test: glib/macros-c-11.test 1383s TAP version 13 1383s # random seed: R02Sb4dcde573529e2bed8da94a308f490df 1383s 1..4 1383s # Start of C tests 1383s ok 1 /C/standard-11 1383s # End of C tests 1383s # Start of alignof tests 1383s ok 2 /alignof/fallback 1383s # End of alignof tests 1383s # Start of assert tests 1383s ok 3 /assert/static 1383s # End of assert tests 1383s # Start of struct tests 1383s ok 4 /struct/sizeof_member 1383s # End of struct tests 1383s ok - glib/macros-c-11.test 1383s # Running test: glib/protocol.test 1383s TAP version 13 1383s # random seed: R02Sc2df1c3ab71354c60244b65c643f82e3 1383s 1..9 1383s # Start of glib tests 1383s # Start of testing tests 1383s # Start of protocol tests 1383s ok 1 /glib/testing/protocol/debug 1383s ok 2 /glib/testing/protocol/info 1383s ok 3 /glib/testing/protocol/message 1383s ok 4 /glib/testing/protocol/warning 1383s ok 5 /glib/testing/protocol/critical 1383s ok 6 /glib/testing/protocol/error 1383s ok 7 /glib/testing/protocol/gtest-message 1383s ok 8 /glib/testing/protocol/test-message 1383s ok 9 /glib/testing/protocol/test-error 1383s # End of protocol tests 1383s # End of testing tests 1383s # End of glib tests 1383s ok - glib/protocol.test 1383s # Running test: glib/param.test 1383s TAP version 13 1383s # random seed: R02Sb348ad7637369a362bb3d5c3bff3cbe7 1383s 1..32 1383s # Start of param tests 1383s ok 1 /param/value 1383s ok 2 /param/strings 1383s ok 3 /param/qdata 1383s ok 4 /param/validate 1383s ok 5 /param/convert 1383s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1383s ok 7 /param/default 1383s ok 8 /param/is-valid-name 1383s # Start of invalid-name tests 1383s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1384s ok 9 /param/invalid-name/colon 1384s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1384s # Executing: glib/param.test 1384s ok 10 /param/invalid-name/first-char 1384s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1384s ok 11 /param/invalid-name/empty 1384s # End of invalid-name tests 1384s # Start of implement tests 1384s # Start of subprocess tests 1384s # End of subprocess tests 1384s # End of implement tests 1384s # End of param tests 1384s # Start of value tests 1384s ok 12 /value/transform 1384s # End of value tests 1384s # Start of paramspec tests 1384s ok 13 /paramspec/char 1384s ok 14 /paramspec/uchar 1384s ok 15 /paramspec/int 1384s ok 16 /paramspec/uint 1384s ok 17 /paramspec/long 1384s ok 18 /paramspec/ulong 1384s ok 19 /paramspec/int64 1384s ok 20 /paramspec/uint64 1384s ok 21 /paramspec/float 1384s ok 22 /paramspec/double 1384s ok 23 /paramspec/unichar 1384s ok 24 /paramspec/param 1384s ok 25 /paramspec/null-param 1384s ok 26 /paramspec/string 1384s ok 27 /paramspec/override 1384s ok 28 /paramspec/gtype 1384s ok 29 /paramspec/variant 1384s ok 30 /paramspec/custom 1384s ok 31 /paramspec/pool 1384s # Start of variant tests 1384s ok 32 /paramspec/variant/cmp 1384s # End of variant tests 1384s # End of paramspec tests 1384s ok - glib/param.test 1384s # Running test: glib/string.test 1384s TAP version 13 1384s # random seed: R02S5f5c6fc0cfea5eeb57dd4154c54b76c9 1384s 1..23 1384s # Start of string tests 1384s ok 1 /string/test-string-chunks 1384s ok 2 /string/test-string-chunk-insert 1384s ok 3 /string/test-string-new 1384s ok 4 /string/test-string-printf 1384s ok 5 /string/test-string-assign 1384s ok 6 /string/test-string-append-c 1384s ok 7 /string/test-string-append 1384s ok 8 /string/test-string-append-vprintf 1384s ok 9 /string/test-string-prepend-c 1384s ok 10 /string/test-string-prepend 1384s ok 11 /string/test-string-insert 1384s ok 12 /string/test-string-insert-unichar 1384s ok 13 /string/test-string-equal 1384s ok 14 /string/test-string-truncate 1384s ok 15 /string/test-string-overwrite 1384s ok 16 /string/test-string-nul-handling 1384s ok 17 /string/test-string-up-down 1384s ok 18 /string/test-string-set-size 1384s ok 19 /string/test-string-to-bytes 1384s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1384s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1384s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1384s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1384s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1384s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1384s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1384s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1384s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1384s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1384s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1384s # -> 4 replacements, "fd fr fals" 1384s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1384s # -> 3 replacements, "aaaaaaaaa" 1384s # 7: Replacing "a" with "" (limit 0) in "aaa" 1384s # -> 3 replacements, "" 1384s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1384s # -> 1 replacements, "bba" 1384s # 9: Replacing "" with "bar" (limit 0) in "foo" 1384s # -> 4 replacements, "barfbarobarobar" 1384s # 10: Replacing "" with "x" (limit 0) in "" 1384s # -> 1 replacements, "x" 1384s # 11: Replacing "" with "" (limit 0) in "" 1384s # -> 1 replacements, "" 1384s ok 20 /string/test-string-replace 1384s ok 21 /string/test-string-steal 1384s ok 22 /string/test-string-new-take 1384s # Start of test-string-new-take tests 1384s ok 23 /string/test-string-new-take/null 1384s # End of test-string-new-take tests 1384s # End of string tests 1384s ok - glib/string.test 1384s # Running test: glib/tls-bindings.test 1384s TAP version 13 1384s # random seed: R02Sb2d8c0b0ff441fffd5dccdc83e43a6bd 1384s 1..2 1384s # Start of tls-connection tests 1384s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1384s ok 1 /tls-connection/get-tls-channel-binding 1384s ok 2 /tls-connection/get-dtls-channel-binding 1384s # End of tls-connection tests 1384s ok - glib/tls-bindings.test 1384s # Running test: glib/portal-support-flatpak-none.test 1384s TAP version 13 1384s # random seed: R02S2865005829e77d0b0fa0083d277a672b 1384s 1..1 1384s # Start of portal-support tests 1384s # Start of flatpak tests 1384s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/home 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/cache 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/system-config2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/config 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/system-data2 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/data 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/state 1384s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/runtime 1384s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_2GG2K2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1384s ok 1 /portal-support/flatpak/none 1384s # End of flatpak tests 1384s # End of portal-support tests 1384s ok - glib/portal-support-flatpak-none.test 1384s # Running test: glib/gvariant.test 1384s TAP version 13 1384s # random seed: R02S01ead253ba33a2b5948c5fc5be454cd7 1384s 1..64 1384s # Start of gvariant tests 1384s ok 1 /gvariant/type 1385s ok 2 /gvariant/typeinfo 1385s # slow test /gvariant/typeinfo executed in 0.58 secs 1385s ok 3 /gvariant/string 1385s ok 4 /gvariant/utf8 1386s ok 5 /gvariant/containers 1386s # slow test /gvariant/containers executed in 0.89 secs 1386s ok 6 /gvariant/format-strings 1386s ok 7 /gvariant/invalid-varargs 1386s ok 8 /gvariant/varargs 1386s ok 9 /gvariant/valist 1386s ok 10 /gvariant/builder-memory 1386s ok 11 /gvariant/hashing 1386s ok 12 /gvariant/byteswap 1387s ok 13 /gvariant/parser 1387s # slow test /gvariant/parser executed in 1.07 secs 1387s ok 14 /gvariant/parse-failures 1387s ok 15 /gvariant/parse-positional 1387s ok 16 /gvariant/floating 1387s ok 17 /gvariant/bytestring 1387s ok 18 /gvariant/lookup-value 1387s ok 19 /gvariant/lookup 1387s ok 20 /gvariant/compare 1387s ok 21 /gvariant/equal 1387s ok 22 /gvariant/fixed-array 1387s ok 23 /gvariant/check-format-string 1387s ok 24 /gvariant/checksum-basic 1387s ok 25 /gvariant/checksum-nested 1387s ok 26 /gvariant/gbytes 1387s ok 27 /gvariant/print-context 1387s ok 28 /gvariant/error-quark 1387s ok 29 /gvariant/stack-builder-init 1387s ok 30 /gvariant/stack-dict-init 1387s ok 31 /gvariant/unaligned-construction 1387s # Start of type tests 1387s # Start of string-scan tests 1387s # Start of recursion tests 1387s ok 32 /gvariant/type/string-scan/recursion/tuple 1387s ok 33 /gvariant/type/string-scan/recursion/array 1387s # End of recursion tests 1387s # End of string-scan tests 1387s # End of type tests 1387s # Start of serialiser tests 1388s ok 34 /gvariant/serialiser/maybe 1388s ok 35 /gvariant/serialiser/array 1388s # slow test /gvariant/serialiser/array executed in 0.88 secs 1389s # Executing: glib/gvariant.test 1389s ok 36 /gvariant/serialiser/tuple 1389s ok 37 /gvariant/serialiser/variant 1389s ok 38 /gvariant/serialiser/strings 1394s # Executing: glib/gvariant.test 1399s # Executing: glib/gvariant.test 1401s ok 39 /gvariant/serialiser/byteswap 1401s # slow test /gvariant/serialiser/byteswap executed in 11.99 secs 1401s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1401s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1401s ok 40 /gvariant/serialiser/children 1401s # Start of fuzz tests 1403s ok 41 /gvariant/serialiser/fuzz/1% 1403s # slow test /gvariant/serialiser/fuzz/1% executed in 1.95 secs 1404s # Executing: glib/gvariant.test 1407s ok 42 /gvariant/serialiser/fuzz/5% 1407s # slow test /gvariant/serialiser/fuzz/5% executed in 4.63 secs 1409s ok 43 /gvariant/serialiser/fuzz/9% 1409s # slow test /gvariant/serialiser/fuzz/9% executed in 1.23 secs 1409s # Executing: glib/gvariant.test 1410s ok 44 /gvariant/serialiser/fuzz/13% 1410s # slow test /gvariant/serialiser/fuzz/13% executed in 1.68 secs 1411s ok 45 /gvariant/serialiser/fuzz/17% 1411s # slow test /gvariant/serialiser/fuzz/17% executed in 0.86 secs 1411s # End of fuzz tests 1411s # End of serialiser tests 1411s # Start of varargs tests 1411s # Start of subprocess tests 1411s # End of subprocess tests 1411s # End of varargs tests 1411s # Start of byteswap tests 1411s # /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. 1411s ok 46 /gvariant/byteswap/non-normal-non-aligned 1411s # End of byteswap tests 1411s # Start of parser tests 1411s ok 47 /gvariant/parser/integer-bounds 1411s ok 48 /gvariant/parser/recursion 1411s # Start of recursion tests 1411s ok 49 /gvariant/parser/recursion/typedecls 1411s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1411s # Text form 0: @mmmu 5 1411s # Text form 1: @mmmas ['hello'] 1411s # Text form 2: @mmmu just just nothing 1411s # Text form 3: @mmmas just just nothing 1411s # Text form 4: @mmmu just nothing 1411s # Text form 5: @mmmas just nothing 1411s # Text form 6: @mmmu nothing 1411s # Text form 7: @mmmas nothing 1411s ok 50 /gvariant/parser/recursion/maybes 1411s # End of recursion tests 1411s # End of parser tests 1411s # Start of parse tests 1411s # Start of subprocess tests 1411s # End of subprocess tests 1411s # End of parse tests 1411s # Start of normal-checking tests 1411s ok 51 /gvariant/normal-checking/tuples 1411s ok 52 /gvariant/normal-checking/array-offsets 1411s ok 53 /gvariant/normal-checking/array-offsets2 1411s ok 54 /gvariant/normal-checking/tuple-offsets 1411s ok 55 /gvariant/normal-checking/tuple-offsets2 1411s ok 56 /gvariant/normal-checking/tuple-offsets3 1411s ok 57 /gvariant/normal-checking/tuple-offsets4 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1411s ok 58 /gvariant/normal-checking/tuple-offsets5 1411s ok 59 /gvariant/normal-checking/empty-object-path 1411s # Start of array-offsets tests 1411s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1411s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1411s # End of array-offsets tests 1411s # Start of tuple-offsets tests 1411s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1411s # End of tuple-offsets tests 1411s # End of normal-checking tests 1411s # Start of recursion-limits tests 1411s ok 63 /gvariant/recursion-limits/variant-in-variant 1411s ok 64 /gvariant/recursion-limits/array-in-variant 1411s # End of recursion-limits tests 1411s # End of gvariant tests 1411s ok - glib/gvariant.test 1411s # Running test: glib/portal-support-flatpak-network-only.test 1411s TAP version 13 1411s # random seed: R02S31e65b8c9df5196d94f8538d3dbd0c54 1411s 1..1 1411s # Start of portal-support tests 1411s # Start of flatpak tests 1411s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/home 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/cache 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/system-config2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/config 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/system-data2 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/data 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/state 1411s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/runtime 1411s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_RUPYK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1411s ok 1 /portal-support/flatpak/network 1411s # End of flatpak tests 1411s # End of portal-support tests 1411s ok - glib/portal-support-flatpak-network-only.test 1411s # Running test: glib/cancellable.test 1411s TAP version 13 1411s # random seed: R02S2fd1844da42fb2ff243648da9e91c4ed 1411s 1..10 1411s # Start of cancellable tests 1411s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1411s ok 2 /cancellable/null 1411s # /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 1411s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1411s # /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 1412s ok 4 /cancellable/resets-on-cancel-callback-hangs 1412s ok 5 /cancellable/poll-fd 1412s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1412s ok 6 /cancellable/poll-fd-cancelled 1412s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1412s ok 7 /cancellable/poll-fd-cancelled-threaded 1412s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1412s ok 8 /cancellable/cancel-reset-races 1412s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1412s ok 9 /cancellable/cancel-reset-connect-races 1412s # End of cancellable tests 1412s # Start of cancellable-source tests 1412s # /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) 1412s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1414s # Executing: glib/cancellable.test 1414s ok 10 /cancellable-source/threaded-dispose 1414s # slow test /cancellable-source/threaded-dispose executed in 2.05 secs 1414s # End of cancellable-source tests 1414s ok - glib/cancellable.test 1414s # Running test: glib/gdbus-exit-on-close.test 1414s TAP version 13 1414s # random seed: R02S9444e093bfde2689cf3ff6224a7ba3f7 1414s 1..4 1414s # Start of gdbus tests 1414s # Start of exit-on-close tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/default/.dirs/runtime 1414s ok 1 /gdbus/exit-on-close/default 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/true/.dirs/runtime 1414s ok 2 /gdbus/exit-on-close/true 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/false/.dirs/runtime 1414s ok 3 /gdbus/exit-on-close/false 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_FBNNK2/gdbus/exit-on-close/we-close/.dirs/runtime 1414s ok 4 /gdbus/exit-on-close/we-close 1414s # Start of default tests 1414s # End of default tests 1414s # Start of true tests 1414s # End of true tests 1414s # Start of false tests 1414s # End of false tests 1414s # Start of we-close tests 1414s # End of we-close tests 1414s # End of exit-on-close tests 1414s # End of gdbus tests 1414s ok - glib/gdbus-exit-on-close.test 1414s # Running test: glib/collate.test 1414s TAP version 13 1414s # random seed: R02S9294ca693ff24591d9afcf2fd45f1f19 1414s 1..9 1414s # Start of unicode tests 1414s # Start of collate tests 1414s ok 1 /unicode/collate/0 1414s ok 2 /unicode/collate/1 1414s ok 3 /unicode/collate/2 1414s # End of collate tests 1414s # Start of collate-key tests 1414s ok 4 /unicode/collate-key/0 1414s ok 5 /unicode/collate-key/1 1414s ok 6 /unicode/collate-key/2 1414s # End of collate-key tests 1414s # Start of collate-filename tests 1414s ok 7 /unicode/collate-filename/0 1414s ok 8 /unicode/collate-filename/1 1414s ok 9 /unicode/collate-filename/2 1414s # End of collate-filename tests 1414s # End of unicode tests 1414s ok - glib/collate.test 1414s # Running test: glib/module-test-plugin.test 1414s TAP version 13 1414s # random seed: R02S506ccb4939df008326a0aa499d622ce9 1414s 1..2 1414s # Start of module tests 1414s ok 1 /module/basics 1414s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1414s ok 2 /module/invalid-libtool-archive 1414s # End of module tests 1414s ok - glib/module-test-plugin.test 1414s # Running test: glib/cxx-20.test 1414s TAP version 13 1414s # random seed: R02Scacf14c1b836889934e9c8b83d174b53 1414s 1..2 1414s # Start of gtask tests 1414s # 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. 1414s ok 1 /gtask/name 1414s # Start of name tests 1414s # 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. 1414s ok 2 /gtask/name/macro-wrapper 1414s # End of name tests 1414s # End of gtask tests 1414s ok - glib/cxx-20.test 1414s # Running test: glib/repository-search-paths.test 1414s TAP version 13 1414s # random seed: R02S5c6ce8ee7402bcc8e95f14427c53a20b 1414s 1..4 1414s # Start of repository tests 1414s # Start of search-paths tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/default/.dirs/runtime 1414s ok 1 /repository/search-paths/default 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NESWK2/repository/search-paths/prepend/.dirs/runtime 1414s ok 2 /repository/search-paths/prepend 1414s # End of search-paths tests 1414s # Start of library-paths tests 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/default/.dirs/runtime 1414s ok 3 /repository/library-paths/default 1414s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/home 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/cache 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/system-config2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/config 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/system-data2 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/data 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/state 1414s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_NESWK2/repository/library-paths/prepend/.dirs/runtime 1414s ok 4 /repository/library-paths/prepend 1414s # End of library-paths tests 1414s # End of repository tests 1414s ok - glib/repository-search-paths.test 1414s # Running test: glib/gthash.test 1414s TAP version 13 1414s # random seed: R02S5a69d75ed5e115051c14054ff6ffdb2a 1414s 1..1 1414s # Start of gthash tests 1414s ok 1 /gthash/build-retrieve 1414s # End of gthash tests 1414s ok - glib/gthash.test 1415s # Running test: glib/mkenums.py.test 1415s TAP version 13 1415s ok 1 __main__.TestMkenums.test_available_in 1415s # tmpdir: /tmp/tmp3mecpszg 1415s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1415s # /tmp/tmp3mecpszg/tmp_pjf9yqx.h: 1415s # typedef enum { 1415s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1415s # } GDBusServerFlags; 1415s # 1415s # /tmp/tmp3mecpszg/tmp4i41xa1a.template: 1415s # /*** BEGIN file-header ***/ 1415s # file-header 1415s # /*** END file-header ***/ 1415s # 1415s # /*** BEGIN file-production ***/ 1415s # file-production 1415s # filename: @filename@ 1415s # basename: @basename@ 1415s # /*** END file-production ***/ 1415s # 1415s # /*** BEGIN enumeration-production ***/ 1415s # enumeration-production 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END enumeration-production ***/ 1415s # 1415s # /*** BEGIN value-header ***/ 1415s # value-header 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-header ***/ 1415s # 1415s # /*** BEGIN value-production ***/ 1415s # value-production 1415s # VALUENAME: @VALUENAME@ 1415s # valuenick: @valuenick@ 1415s # valuenum: @valuenum@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-production ***/ 1415s # 1415s # /*** BEGIN value-tail ***/ 1415s # value-tail 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-tail ***/ 1415s # 1415s # /*** BEGIN comment ***/ 1415s # comment 1415s # comment: @comment@ 1415s # /*** END comment ***/ 1415s # 1415s # /*** BEGIN file-tail ***/ 1415s # file-tail 1415s # /*** END file-tail ***/ 1415s # 1415s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3mecpszg/tmp4i41xa1a.template', '/tmp/tmp3mecpszg/tmp_pjf9yqx.h'] 1415s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1415s # Output: comment 1415s # 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. 1415s # 1415s # 1415s # file-header 1415s # file-production 1415s # filename: /tmp/tmp3mecpszg/tmp_pjf9yqx.h 1415s # basename: tmp_pjf9yqx.h 1415s # enumeration-production 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-header 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-production 1415s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1415s # valuenick: user 1415s # valuenum: 4 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-tail 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # file-tail 1415s # 1415s # comment 1415s # comment: Generated data ends here 1415s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1415s # tmpdir: /tmp/tmpdfdg_x70 1415s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1415s # /tmp/tmpdfdg_x70/tmp6nj_e59r.h: 1415s # typedef enum { 1415s # ENUM_VALUE_WITH_COMMA = ',', 1415s # } TestCommaEnum; 1415s # 1415s # /tmp/tmpdfdg_x70/tmp52fse_00.template: 1415s # /*** BEGIN file-header ***/ 1415s # file-header 1415s # /*** END file-header ***/ 1415s # 1415s # /*** BEGIN file-production ***/ 1415s # file-production 1415s # filename: @filename@ 1415s # basename: @basename@ 1415s # /*** END file-production ***/ 1415s # 1415s # /*** BEGIN enumeration-production ***/ 1415s # enumeration-production 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END enumeration-production ***/ 1415s # 1415s # /*** BEGIN value-header ***/ 1415s # value-header 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-header ***/ 1415s # 1415s # /*** BEGIN value-production ***/ 1415s # value-production 1415s # VALUENAME: @VALUENAME@ 1415s # valuenick: @valuenick@ 1415s # valuenum: @valuenum@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-production ***/ 1415s # 1415s # /*** BEGIN value-tail ***/ 1415s # value-tail 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-tail ***/ 1415s # 1415s # /*** BEGIN comment ***/ 1415s # comment 1415s # comment: @comment@ 1415s # /*** END comment ***/ 1415s # 1415s # /*** BEGIN file-tail ***/ 1415s # file-tail 1415s # /*** END file-tail ***/ 1415s # 1415s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdfdg_x70/tmp52fse_00.template', '/tmp/tmpdfdg_x70/tmp6nj_e59r.h'] 1415s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1415s # Output: comment 1415s # 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. 1415s # 1415s # 1415s # file-header 1415s # file-production 1415s # filename: /tmp/tmpdfdg_x70/tmp6nj_e59r.h 1415s # basename: tmp6nj_e59r.h 1415s # enumeration-production 1415s # EnumName: TestCommaEnum 1415s # enum_name: test_comma_enum 1415s # ENUMNAME: TEST_COMMA_ENUM 1415s # ENUMSHORT: COMMA_ENUM 1415s # ENUMPREFIX: TEST 1415s # enumsince: 1415s # type: enum 1415s # Type: Enum 1415s # TYPE: ENUM 1415s # value-header 1415s # EnumName: TestCommaEnum 1415s # enum_name: test_comma_enum 1415s # ENUMNAME: TEST_COMMA_ENUM 1415s # ENUMSHORT: COMMA_ENUM 1415s # ENUMPREFIX: TEST 1415s # enumsince: 1415s # type: enum 1415s # Type: Enum 1415s # TYPE: ENUM 1415s # value-production 1415s # VALUENAME: ENUM_VALUE_WITH_COMMA 1415s # valuenick: comma 1415s # valuenum: 44 1415s # type: enum 1415s # Type: Enum 1415s # TYPE: ENUM 1415s # value-tail 1415s # EnumName: TestCommaEnum 1415s # enum_name: test_comma_enum 1415s # ENUMNAME: TEST_COMMA_ENUM 1415s # ENUMSHORT: COMMA_ENUM 1415s # ENUMPREFIX: TEST 1415s # enumsince: 1415s # type: enum 1415s # Type: Enum 1415s # TYPE: ENUM 1415s # file-tail 1415s # 1415s # comment 1415s # comment: Generated data ends here 1415s ok 3 __main__.TestMkenums.test_deprecated_in 1415s # tmpdir: /tmp/tmplw4h8ncz 1415s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1415s # /tmp/tmplw4h8ncz/tmpzna76ncx.h: 1415s # typedef enum { 1415s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1415s # } GDBusServerFlags; 1415s # 1415s # /tmp/tmplw4h8ncz/tmpyhaybx7n.template: 1415s # /*** BEGIN file-header ***/ 1415s # file-header 1415s # /*** END file-header ***/ 1415s # 1415s # /*** BEGIN file-production ***/ 1415s # file-production 1415s # filename: @filename@ 1415s # basename: @basename@ 1415s # /*** END file-production ***/ 1415s # 1415s # /*** BEGIN enumeration-production ***/ 1415s # enumeration-production 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END enumeration-production ***/ 1415s # 1415s # /*** BEGIN value-header ***/ 1415s # value-header 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-header ***/ 1415s # 1415s # /*** BEGIN value-production ***/ 1415s # value-production 1415s # VALUENAME: @VALUENAME@ 1415s # valuenick: @valuenick@ 1415s # valuenum: @valuenum@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-production ***/ 1415s # 1415s # /*** BEGIN value-tail ***/ 1415s # value-tail 1415s # EnumName: @EnumName@ 1415s # enum_name: @enum_name@ 1415s # ENUMNAME: @ENUMNAME@ 1415s # ENUMSHORT: @ENUMSHORT@ 1415s # ENUMPREFIX: @ENUMPREFIX@ 1415s # enumsince: @enumsince@ 1415s # type: @type@ 1415s # Type: @Type@ 1415s # TYPE: @TYPE@ 1415s # /*** END value-tail ***/ 1415s # 1415s # /*** BEGIN comment ***/ 1415s # comment 1415s # comment: @comment@ 1415s # /*** END comment ***/ 1415s # 1415s # /*** BEGIN file-tail ***/ 1415s # file-tail 1415s # /*** END file-tail ***/ 1415s # 1415s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplw4h8ncz/tmpyhaybx7n.template', '/tmp/tmplw4h8ncz/tmpzna76ncx.h'] 1415s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1415s # Output: comment 1415s # 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. 1415s # 1415s # 1415s # file-header 1415s # file-production 1415s # filename: /tmp/tmplw4h8ncz/tmpzna76ncx.h 1415s # basename: tmpzna76ncx.h 1415s # enumeration-production 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-header 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-production 1415s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1415s # valuenick: user 1415s # valuenum: 4 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # value-tail 1415s # EnumName: GDBusServerFlags 1415s # enum_name: g_dbus_server_flags 1415s # ENUMNAME: G_DBUS_SERVER_FLAGS 1415s # ENUMSHORT: DBUS_SERVER_FLAGS 1415s # ENUMPREFIX: G 1415s # enumsince: 1415s # type: flags 1415s # Type: Flags 1415s # TYPE: FLAGS 1415s # file-tail 1415s # 1415s # comment 1415s # comment: Generated data ends here 1416s ok 4 __main__.TestMkenums.test_deprecated_in_for 1416s # tmpdir: /tmp/tmpkenvy_v4 1416s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1416s # /tmp/tmpkenvy_v4/tmpre0o74g0.h: 1416s # typedef enum { 1416s # 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) 1416s # } GDBusServerFlags; 1416s # 1416s # /tmp/tmpkenvy_v4/tmphtx63_tr.template: 1416s # /*** BEGIN file-header ***/ 1416s # file-header 1416s # /*** END file-header ***/ 1416s # 1416s # /*** BEGIN file-production ***/ 1416s # file-production 1416s # filename: @filename@ 1416s # basename: @basename@ 1416s # /*** END file-production ***/ 1416s # 1416s # /*** BEGIN enumeration-production ***/ 1416s # enumeration-production 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END enumeration-production ***/ 1416s # 1416s # /*** BEGIN value-header ***/ 1416s # value-header 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-header ***/ 1416s # 1416s # /*** BEGIN value-production ***/ 1416s # value-production 1416s # VALUENAME: @VALUENAME@ 1416s # valuenick: @valuenick@ 1416s # valuenum: @valuenum@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-production ***/ 1416s # 1416s # /*** BEGIN value-tail ***/ 1416s # value-tail 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-tail ***/ 1416s # 1416s # /*** BEGIN comment ***/ 1416s # comment 1416s # comment: @comment@ 1416s # /*** END comment ***/ 1416s # 1416s # /*** BEGIN file-tail ***/ 1416s # file-tail 1416s # /*** END file-tail ***/ 1416s # 1416s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkenvy_v4/tmphtx63_tr.template', '/tmp/tmpkenvy_v4/tmpre0o74g0.h'] 1416s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1416s # Output: comment 1416s # 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. 1416s # 1416s # 1416s # file-header 1416s # file-production 1416s # filename: /tmp/tmpkenvy_v4/tmpre0o74g0.h 1416s # basename: tmpre0o74g0.h 1416s # enumeration-production 1416s # EnumName: GDBusServerFlags 1416s # enum_name: g_dbus_server_flags 1416s # ENUMNAME: G_DBUS_SERVER_FLAGS 1416s # ENUMSHORT: DBUS_SERVER_FLAGS 1416s # ENUMPREFIX: G 1416s # enumsince: 1416s # type: flags 1416s # Type: Flags 1416s # TYPE: FLAGS 1416s # value-header 1416s # EnumName: GDBusServerFlags 1416s # enum_name: g_dbus_server_flags 1416s # ENUMNAME: G_DBUS_SERVER_FLAGS 1416s # ENUMSHORT: DBUS_SERVER_FLAGS 1416s # ENUMPREFIX: G 1416s # enumsince: 1416s # type: flags 1416s # Type: Flags 1416s # TYPE: FLAGS 1416s # value-production 1416s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1416s # valuenick: user 1416s # valuenum: 4 1416s # type: flags 1416s # Type: Flags 1416s # TYPE: FLAGS 1416s # value-tail 1416s # EnumName: GDBusServerFlags 1416s # enum_name: g_dbus_server_flags 1416s # ENUMNAME: G_DBUS_SERVER_FLAGS 1416s # ENUMSHORT: DBUS_SERVER_FLAGS 1416s # ENUMPREFIX: G 1416s # enumsince: 1416s # type: flags 1416s # Type: Flags 1416s # TYPE: FLAGS 1416s # file-tail 1416s # 1416s # comment 1416s # comment: Generated data ends here 1416s ok 5 __main__.TestMkenums.test_empty_header 1416s # tmpdir: /tmp/tmp44eken1y 1416s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1416s # /tmp/tmp44eken1y/tmps307by12.h: 1416s # /tmp/tmp44eken1y/tmpavawtqma.template: 1416s # /*** BEGIN file-header ***/ 1416s # file-header 1416s # /*** END file-header ***/ 1416s # 1416s # /*** BEGIN file-production ***/ 1416s # file-production 1416s # filename: @filename@ 1416s # basename: @basename@ 1416s # /*** END file-production ***/ 1416s # 1416s # /*** BEGIN enumeration-production ***/ 1416s # enumeration-production 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END enumeration-production ***/ 1416s # 1416s # /*** BEGIN value-header ***/ 1416s # value-header 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-header ***/ 1416s # 1416s # /*** BEGIN value-production ***/ 1416s # value-production 1416s # VALUENAME: @VALUENAME@ 1416s # valuenick: @valuenick@ 1416s # valuenum: @valuenum@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-production ***/ 1416s # 1416s # /*** BEGIN value-tail ***/ 1416s # value-tail 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-tail ***/ 1416s # 1416s # /*** BEGIN comment ***/ 1416s # comment 1416s # comment: @comment@ 1416s # /*** END comment ***/ 1416s # 1416s # /*** BEGIN file-tail ***/ 1416s # file-tail 1416s # /*** END file-tail ***/ 1416s # 1416s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp44eken1y/tmpavawtqma.template', '/tmp/tmp44eken1y/tmps307by12.h'] 1416s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1416s # Output: comment 1416s # 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. 1416s # 1416s # 1416s # file-header 1416s # file-tail 1416s # 1416s # comment 1416s # comment: Generated data ends here 1416s ok 6 __main__.TestMkenums.test_empty_template 1416s # tmpdir: /tmp/tmpkzlik0zw 1416s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1416s # /tmp/tmpkzlik0zw/tmpodtm4l9n.template: 1416s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkzlik0zw/tmpodtm4l9n.template'] 1416s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1416s # 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. */ 1416s # 1416s # 1416s # /* Generated data ends here */ 1416s ok 7 __main__.TestMkenums.test_enum_name 1416s # tmpdir: /tmp/tmpf1wv5raf 1416s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1416s # /tmp/tmpf1wv5raf/tmpxb64n6r_.h: 1416s # typedef enum _SomeEnumIdentifier { 1416s # ENUM_VALUE 1416s # } SomeEnumIdentifier; 1416s # 1416s # /tmp/tmpf1wv5raf/tmpw8ltv7xx.template: 1416s # /*** BEGIN file-header ***/ 1416s # file-header 1416s # /*** END file-header ***/ 1416s # 1416s # /*** BEGIN file-production ***/ 1416s # file-production 1416s # filename: @filename@ 1416s # basename: @basename@ 1416s # /*** END file-production ***/ 1416s # 1416s # /*** BEGIN enumeration-production ***/ 1416s # enumeration-production 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END enumeration-production ***/ 1416s # 1416s # /*** BEGIN value-header ***/ 1416s # value-header 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-header ***/ 1416s # 1416s # /*** BEGIN value-production ***/ 1416s # value-production 1416s # VALUENAME: @VALUENAME@ 1416s # valuenick: @valuenick@ 1416s # valuenum: @valuenum@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-production ***/ 1416s # 1416s # /*** BEGIN value-tail ***/ 1416s # value-tail 1416s # EnumName: @EnumName@ 1416s # enum_name: @enum_name@ 1416s # ENUMNAME: @ENUMNAME@ 1416s # ENUMSHORT: @ENUMSHORT@ 1416s # ENUMPREFIX: @ENUMPREFIX@ 1416s # enumsince: @enumsince@ 1416s # type: @type@ 1416s # Type: @Type@ 1416s # TYPE: @TYPE@ 1416s # /*** END value-tail ***/ 1416s # 1416s # /*** BEGIN comment ***/ 1416s # comment 1416s # comment: @comment@ 1416s # /*** END comment ***/ 1416s # 1416s # /*** BEGIN file-tail ***/ 1416s # file-tail 1416s # /*** END file-tail ***/ 1416s # 1416s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf1wv5raf/tmpw8ltv7xx.template', '/tmp/tmpf1wv5raf/tmpxb64n6r_.h'] 1416s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1416s # Output: comment 1416s # 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. 1416s # 1416s # 1416s # file-header 1416s # file-production 1416s # filename: /tmp/tmpf1wv5raf/tmpxb64n6r_.h 1416s # basename: tmpxb64n6r_.h 1416s # enumeration-production 1416s # EnumName: SomeEnumIdentifier 1416s # enum_name: some_enum_identifier 1416s # ENUMNAME: SOME_ENUM_IDENTIFIER 1416s # ENUMSHORT: ENUM_IDENTIFIER 1416s # ENUMPREFIX: SOME 1416s # enumsince: 1416s # type: enum 1416s # Type: Enum 1416s # TYPE: ENUM 1416s # value-header 1416s # EnumName: SomeEnumIdentifier 1416s # enum_name: some_enum_identifier 1416s # ENUMNAME: SOME_ENUM_IDENTIFIER 1416s # ENUMSHORT: ENUM_IDENTIFIER 1416s # ENUMPREFIX: SOME 1416s # enumsince: 1416s # type: enum 1416s # Type: Enum 1416s # TYPE: ENUM 1416s # value-production 1416s # VALUENAME: ENUM_VALUE 1416s # valuenick: value 1416s # valuenum: 0 1416s # type: enum 1416s # Type: Enum 1416s # TYPE: ENUM 1416s # value-tail 1416s # EnumName: SomeEnumIdentifier 1416s # enum_name: some_enum_identifier 1416s # ENUMNAME: SOME_ENUM_IDENTIFIER 1416s # ENUMSHORT: ENUM_IDENTIFIER 1416s # ENUMPREFIX: SOME 1416s # enumsince: 1416s # type: enum 1416s # Type: Enum 1416s # TYPE: ENUM 1416s # file-tail 1416s # 1416s # comment 1416s # comment: Generated data ends here 1417s ok 8 __main__.TestMkenums.test_enum_private_public 1417s # tmpdir: /tmp/tmpf5puzupn 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # /tmp/tmpf5puzupn/tmprzzy6juy.h: 1417s # typedef enum { 1417s # ENUM_VALUE_PUBLIC1, 1417s # /*< private >*/ 1417s # ENUM_VALUE_PRIVATE, 1417s # } SomeEnumA 1417s # 1417s # /tmp/tmpf5puzupn/tmpekl3jzk4.template: 1417s # /*** BEGIN file-header ***/ 1417s # file-header 1417s # /*** END file-header ***/ 1417s # 1417s # /*** BEGIN file-production ***/ 1417s # file-production 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-production ***/ 1417s # 1417s # /*** BEGIN enumeration-production ***/ 1417s # enumeration-production 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END enumeration-production ***/ 1417s # 1417s # /*** BEGIN value-header ***/ 1417s # value-header 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-header ***/ 1417s # 1417s # /*** BEGIN value-production ***/ 1417s # value-production 1417s # VALUENAME: @VALUENAME@ 1417s # valuenick: @valuenick@ 1417s # valuenum: @valuenum@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-production ***/ 1417s # 1417s # /*** BEGIN value-tail ***/ 1417s # value-tail 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-tail ***/ 1417s # 1417s # /*** BEGIN comment ***/ 1417s # comment 1417s # comment: @comment@ 1417s # /*** END comment ***/ 1417s # 1417s # /*** BEGIN file-tail ***/ 1417s # file-tail 1417s # /*** END file-tail ***/ 1417s # 1417s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf5puzupn/tmpekl3jzk4.template', '/tmp/tmpf5puzupn/tmprzzy6juy.h'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: comment 1417s # 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. 1417s # 1417s # 1417s # file-header 1417s # file-production 1417s # filename: /tmp/tmpf5puzupn/tmprzzy6juy.h 1417s # basename: tmprzzy6juy.h 1417s # enumeration-production 1417s # EnumName: SomeEnumA 1417s # enum_name: some_enum_a 1417s # ENUMNAME: SOME_ENUM_A 1417s # ENUMSHORT: ENUM_A 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-header 1417s # EnumName: SomeEnumA 1417s # enum_name: some_enum_a 1417s # ENUMNAME: SOME_ENUM_A 1417s # ENUMSHORT: ENUM_A 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-production 1417s # VALUENAME: ENUM_VALUE_PUBLIC1 1417s # valuenick: public1 1417s # valuenum: 0 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-tail 1417s # EnumName: SomeEnumA 1417s # enum_name: some_enum_a 1417s # ENUMNAME: SOME_ENUM_A 1417s # ENUMSHORT: ENUM_A 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # file-tail 1417s # 1417s # comment 1417s # comment: Generated data ends here 1417s # /tmp/tmpf5puzupn/tmptdnmn6d5.h: 1417s # typedef enum { 1417s # /*< private >*/ 1417s # ENUM_VALUE_PRIVATE, 1417s # /*< public >*/ 1417s # ENUM_VALUE_PUBLIC2, 1417s # } SomeEnumB; 1417s # 1417s # /tmp/tmpf5puzupn/tmpvyjm69xj.template: 1417s # /*** BEGIN file-header ***/ 1417s # file-header 1417s # /*** END file-header ***/ 1417s # 1417s # /*** BEGIN file-production ***/ 1417s # file-production 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-production ***/ 1417s # 1417s # /*** BEGIN enumeration-production ***/ 1417s # enumeration-production 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END enumeration-production ***/ 1417s # 1417s # /*** BEGIN value-header ***/ 1417s # value-header 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-header ***/ 1417s # 1417s # /*** BEGIN value-production ***/ 1417s # value-production 1417s # VALUENAME: @VALUENAME@ 1417s # valuenick: @valuenick@ 1417s # valuenum: @valuenum@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-production ***/ 1417s # 1417s # /*** BEGIN value-tail ***/ 1417s # value-tail 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-tail ***/ 1417s # 1417s # /*** BEGIN comment ***/ 1417s # comment 1417s # comment: @comment@ 1417s # /*** END comment ***/ 1417s # 1417s # /*** BEGIN file-tail ***/ 1417s # file-tail 1417s # /*** END file-tail ***/ 1417s # 1417s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf5puzupn/tmpvyjm69xj.template', '/tmp/tmpf5puzupn/tmptdnmn6d5.h'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: comment 1417s # 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. 1417s # 1417s # 1417s # file-header 1417s # file-production 1417s # filename: /tmp/tmpf5puzupn/tmptdnmn6d5.h 1417s # basename: tmptdnmn6d5.h 1417s # enumeration-production 1417s # EnumName: SomeEnumB 1417s # enum_name: some_enum_b 1417s # ENUMNAME: SOME_ENUM_B 1417s # ENUMSHORT: ENUM_B 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-header 1417s # EnumName: SomeEnumB 1417s # enum_name: some_enum_b 1417s # ENUMNAME: SOME_ENUM_B 1417s # ENUMSHORT: ENUM_B 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-production 1417s # VALUENAME: ENUM_VALUE_PUBLIC2 1417s # valuenick: public2 1417s # valuenum: 1 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-tail 1417s # EnumName: SomeEnumB 1417s # enum_name: some_enum_b 1417s # ENUMNAME: SOME_ENUM_B 1417s # ENUMSHORT: ENUM_B 1417s # ENUMPREFIX: SOME 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # file-tail 1417s # 1417s # comment 1417s # comment: Generated data ends here 1417s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1417s # tmpdir: /tmp/tmpj6phdkqi 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # /tmp/tmpj6phdkqi/tmp4vv4fcqc.h: 1417s # typedef enum { 1417s # /*< private >*/ 1417s # ENUM_VALUE_PRIVATE = 5, 1417s # /*< public >*/ 1417s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1417s # } TestSymbolicEnum; 1417s # 1417s # /tmp/tmpj6phdkqi/tmp4n3e204j.template: 1417s # /*** BEGIN file-header ***/ 1417s # file-header 1417s # /*** END file-header ***/ 1417s # 1417s # /*** BEGIN file-production ***/ 1417s # file-production 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-production ***/ 1417s # 1417s # /*** BEGIN enumeration-production ***/ 1417s # enumeration-production 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END enumeration-production ***/ 1417s # 1417s # /*** BEGIN value-header ***/ 1417s # value-header 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-header ***/ 1417s # 1417s # /*** BEGIN value-production ***/ 1417s # value-production 1417s # VALUENAME: @VALUENAME@ 1417s # valuenick: @valuenick@ 1417s # valuenum: @valuenum@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-production ***/ 1417s # 1417s # /*** BEGIN value-tail ***/ 1417s # value-tail 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-tail ***/ 1417s # 1417s # /*** BEGIN comment ***/ 1417s # comment 1417s # comment: @comment@ 1417s # /*** END comment ***/ 1417s # 1417s # /*** BEGIN file-tail ***/ 1417s # file-tail 1417s # /*** END file-tail ***/ 1417s # 1417s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj6phdkqi/tmp4n3e204j.template', '/tmp/tmpj6phdkqi/tmp4vv4fcqc.h'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: comment 1417s # 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. 1417s # 1417s # 1417s # file-header 1417s # file-production 1417s # filename: /tmp/tmpj6phdkqi/tmp4vv4fcqc.h 1417s # basename: tmp4vv4fcqc.h 1417s # enumeration-production 1417s # EnumName: TestSymbolicEnum 1417s # enum_name: test_symbolic_enum 1417s # ENUMNAME: TEST_SYMBOLIC_ENUM 1417s # ENUMSHORT: SYMBOLIC_ENUM 1417s # ENUMPREFIX: TEST 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-header 1417s # EnumName: TestSymbolicEnum 1417s # enum_name: test_symbolic_enum 1417s # ENUMNAME: TEST_SYMBOLIC_ENUM 1417s # ENUMSHORT: SYMBOLIC_ENUM 1417s # ENUMPREFIX: TEST 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-production 1417s # VALUENAME: ENUM_VALUE_PUBLIC 1417s # valuenick: public 1417s # valuenum: 7 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # value-tail 1417s # EnumName: TestSymbolicEnum 1417s # enum_name: test_symbolic_enum 1417s # ENUMNAME: TEST_SYMBOLIC_ENUM 1417s # ENUMSHORT: SYMBOLIC_ENUM 1417s # ENUMPREFIX: TEST 1417s # enumsince: 1417s # type: enum 1417s # Type: Enum 1417s # TYPE: ENUM 1417s # file-tail 1417s # 1417s # comment 1417s # comment: Generated data ends here 1417s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1417s # tmpdir: /tmp/tmpws1e1325 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # /tmp/tmpws1e1325/tmp4dg7bpay.template: 1417s # /*** BEGIN file-header ***/ 1417s # file-header 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-header ***/ 1417s # 1417s # /*** BEGIN comment ***/ 1417s # comment 1417s # comment: @comment@ 1417s # /*** END comment ***/ 1417s # 1417s # /*** BEGIN file-tail ***/ 1417s # file-tail 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-tail ***/ 1417s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpws1e1325/tmp4dg7bpay.template'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: comment 1417s # 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. 1417s # 1417s # 1417s # file-header 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # file-tail 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # 1417s # comment 1417s # comment: Generated data ends here 1417s ok 11 __main__.TestMkenums.test_help 1417s # tmpdir: /tmp/tmpk3aoli4y 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # Running: ['/usr/bin/glib-mkenums', '--help'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1417s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1417s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1417s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1417s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1417s # [--output OUTPUT] [--version] 1417s # [args ...] 1417s # 1417s # positional arguments: 1417s # args One or more input files, or a single argument 1417s # @rspfile_path pointing to a file that contains the 1417s # actual arguments 1417s # 1417s # options: 1417s # -h, --help show this help message and exit 1417s # --identifier-prefix IDPREFIX 1417s # Identifier prefix 1417s # --symbol-prefix SYMPREFIX 1417s # Symbol prefix 1417s # --fhead FHEAD Output file header 1417s # --ftail FTAIL Output file footer 1417s # --fprod FPROD Put out TEXT every time a new input file is being 1417s # processed. 1417s # --eprod EPROD Per enum text, produced prior to value iterations 1417s # --vhead VHEAD Value header, produced before iterating over enum 1417s # values 1417s # --vprod VPROD Value text, produced for each enum value. 1417s # --vtail VTAIL Value tail, produced after iterating over enum values 1417s # --comments COMMENT_TMPL 1417s # Comment structure 1417s # --template TEMPLATE Template file 1417s # --output OUTPUT 1417s # --version, -v Print version information 1417s # 1417s # Production text substitutions: 1417s # @EnumName@ PrefixTheXEnum 1417s # @enum_name@ prefix_the_xenum 1417s # @ENUMNAME@ PREFIX_THE_XENUM 1417s # @ENUMSHORT@ THE_XENUM 1417s # @ENUMPREFIX@ PREFIX 1417s # @enumsince@ the user-provided since value given 1417s # @VALUENAME@ PREFIX_THE_XVALUE 1417s # @valuenick@ the-xvalue 1417s # @valuenum@ the integer value (limited support, Since: 2.26) 1417s # @type@ either enum or flags 1417s # @Type@ either Enum or Flags 1417s # @TYPE@ either ENUM or FLAGS 1417s # @filename@ name of current input file 1417s # @basename@ base name of the current input file (Since: 2.22) 1417s ok 12 __main__.TestMkenums.test_no_args 1417s # tmpdir: /tmp/tmp2i6iifbf 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # Running: ['/usr/bin/glib-mkenums'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # 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. */ 1417s # 1417s # 1417s # /* Generated data ends here */ 1417s ok 13 __main__.TestMkenums.test_no_headers 1417s # tmpdir: /tmp/tmpn8iz99qz 1417s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1417s # /tmp/tmpn8iz99qz/tmpx35edu6r.template: 1417s # /*** BEGIN file-header ***/ 1417s # file-header 1417s # /*** END file-header ***/ 1417s # 1417s # /*** BEGIN file-production ***/ 1417s # file-production 1417s # filename: @filename@ 1417s # basename: @basename@ 1417s # /*** END file-production ***/ 1417s # 1417s # /*** BEGIN enumeration-production ***/ 1417s # enumeration-production 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END enumeration-production ***/ 1417s # 1417s # /*** BEGIN value-header ***/ 1417s # value-header 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-header ***/ 1417s # 1417s # /*** BEGIN value-production ***/ 1417s # value-production 1417s # VALUENAME: @VALUENAME@ 1417s # valuenick: @valuenick@ 1417s # valuenum: @valuenum@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-production ***/ 1417s # 1417s # /*** BEGIN value-tail ***/ 1417s # value-tail 1417s # EnumName: @EnumName@ 1417s # enum_name: @enum_name@ 1417s # ENUMNAME: @ENUMNAME@ 1417s # ENUMSHORT: @ENUMSHORT@ 1417s # ENUMPREFIX: @ENUMPREFIX@ 1417s # enumsince: @enumsince@ 1417s # type: @type@ 1417s # Type: @Type@ 1417s # TYPE: @TYPE@ 1417s # /*** END value-tail ***/ 1417s # 1417s # /*** BEGIN comment ***/ 1417s # comment 1417s # comment: @comment@ 1417s # /*** END comment ***/ 1417s # 1417s # /*** BEGIN file-tail ***/ 1417s # file-tail 1417s # /*** END file-tail ***/ 1417s # 1417s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn8iz99qz/tmpx35edu6r.template'] 1417s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1417s # Output: comment 1417s # 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. 1417s # 1417s # 1417s # file-header 1417s # file-tail 1417s # 1417s # comment 1417s # comment: Generated data ends here 1418s ok 14 __main__.TestMkenums.test_no_nick 1418s # tmpdir: /tmp/tmp81p8jnak 1418s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1418s # /tmp/tmp81p8jnak/tmpz3f2kwjc.h: 1418s # typedef enum { 1418s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1418s # } GeglSamplerType; 1418s # 1418s # /tmp/tmp81p8jnak/tmpkgytabp6.template: 1418s # /*** BEGIN file-header ***/ 1418s # file-header 1418s # /*** END file-header ***/ 1418s # 1418s # /*** BEGIN file-production ***/ 1418s # file-production 1418s # filename: @filename@ 1418s # basename: @basename@ 1418s # /*** END file-production ***/ 1418s # 1418s # /*** BEGIN enumeration-production ***/ 1418s # enumeration-production 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END enumeration-production ***/ 1418s # 1418s # /*** BEGIN value-header ***/ 1418s # value-header 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-header ***/ 1418s # 1418s # /*** BEGIN value-production ***/ 1418s # value-production 1418s # VALUENAME: @VALUENAME@ 1418s # valuenick: @valuenick@ 1418s # valuenum: @valuenum@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-production ***/ 1418s # 1418s # /*** BEGIN value-tail ***/ 1418s # value-tail 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-tail ***/ 1418s # 1418s # /*** BEGIN comment ***/ 1418s # comment 1418s # comment: @comment@ 1418s # /*** END comment ***/ 1418s # 1418s # /*** BEGIN file-tail ***/ 1418s # file-tail 1418s # /*** END file-tail ***/ 1418s # 1418s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp81p8jnak/tmpkgytabp6.template', '/tmp/tmp81p8jnak/tmpz3f2kwjc.h'] 1418s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1418s # Output: comment 1418s # 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. 1418s # 1418s # 1418s # file-header 1418s # file-production 1418s # filename: /tmp/tmp81p8jnak/tmpz3f2kwjc.h 1418s # basename: tmpz3f2kwjc.h 1418s # enumeration-production 1418s # EnumName: GeglSamplerType 1418s # enum_name: gegl_sampler_type 1418s # ENUMNAME: GEGL_SAMPLER_TYPE 1418s # ENUMSHORT: SAMPLER_TYPE 1418s # ENUMPREFIX: GEGL 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-header 1418s # EnumName: GeglSamplerType 1418s # enum_name: gegl_sampler_type 1418s # ENUMNAME: GEGL_SAMPLER_TYPE 1418s # ENUMSHORT: SAMPLER_TYPE 1418s # ENUMPREFIX: GEGL 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-production 1418s # VALUENAME: GEGL_SAMPLER_NEAREST 1418s # valuenick: nearest 1418s # valuenum: 0 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-tail 1418s # EnumName: GeglSamplerType 1418s # enum_name: gegl_sampler_type 1418s # ENUMNAME: GEGL_SAMPLER_TYPE 1418s # ENUMSHORT: SAMPLER_TYPE 1418s # ENUMPREFIX: GEGL 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # file-tail 1418s # 1418s # comment 1418s # comment: Generated data ends here 1418s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1418s # tmpdir: /tmp/tmp8i6t2ddt 1418s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1418s # /tmp/tmp8i6t2ddt/tmpvhibtf6n.h: 1418s # /* Copyright © La Peña */ 1418s # typedef enum { 1418s # ENUM_VALUE 1418s # } SomeEnumIdentifier; 1418s # 1418s # /tmp/tmp8i6t2ddt/tmpg_6z6r3n.template: 1418s # /*** BEGIN file-header ***/ 1418s # file-header 1418s # /*** END file-header ***/ 1418s # 1418s # /*** BEGIN file-production ***/ 1418s # file-production 1418s # filename: @filename@ 1418s # basename: @basename@ 1418s # /*** END file-production ***/ 1418s # 1418s # /*** BEGIN enumeration-production ***/ 1418s # enumeration-production 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END enumeration-production ***/ 1418s # 1418s # /*** BEGIN value-header ***/ 1418s # value-header 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-header ***/ 1418s # 1418s # /*** BEGIN value-production ***/ 1418s # value-production 1418s # VALUENAME: @VALUENAME@ 1418s # valuenick: @valuenick@ 1418s # valuenum: @valuenum@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-production ***/ 1418s # 1418s # /*** BEGIN value-tail ***/ 1418s # value-tail 1418s # EnumName: @EnumName@ 1418s # enum_name: @enum_name@ 1418s # ENUMNAME: @ENUMNAME@ 1418s # ENUMSHORT: @ENUMSHORT@ 1418s # ENUMPREFIX: @ENUMPREFIX@ 1418s # enumsince: @enumsince@ 1418s # type: @type@ 1418s # Type: @Type@ 1418s # TYPE: @TYPE@ 1418s # /*** END value-tail ***/ 1418s # 1418s # /*** BEGIN comment ***/ 1418s # comment 1418s # comment: @comment@ 1418s # /*** END comment ***/ 1418s # 1418s # /*** BEGIN file-tail ***/ 1418s # file-tail 1418s # /*** END file-tail ***/ 1418s # 1418s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8i6t2ddt/tmpg_6z6r3n.template', '/tmp/tmp8i6t2ddt/tmpvhibtf6n.h'] 1418s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1418s # Output: comment 1418s # 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. 1418s # 1418s # 1418s # file-header 1418s # file-production 1418s # filename: /tmp/tmp8i6t2ddt/tmpvhibtf6n.h 1418s # basename: tmpvhibtf6n.h 1418s # enumeration-production 1418s # EnumName: SomeEnumIdentifier 1418s # enum_name: some_enum_identifier 1418s # ENUMNAME: SOME_ENUM_IDENTIFIER 1418s # ENUMSHORT: ENUM_IDENTIFIER 1418s # ENUMPREFIX: SOME 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-header 1418s # EnumName: SomeEnumIdentifier 1418s # enum_name: some_enum_identifier 1418s # ENUMNAME: SOME_ENUM_IDENTIFIER 1418s # ENUMSHORT: ENUM_IDENTIFIER 1418s # ENUMPREFIX: SOME 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-production 1418s # VALUENAME: ENUM_VALUE 1418s # valuenick: value 1418s # valuenum: 0 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # value-tail 1418s # EnumName: SomeEnumIdentifier 1418s # enum_name: some_enum_identifier 1418s # ENUMNAME: SOME_ENUM_IDENTIFIER 1418s # ENUMSHORT: ENUM_IDENTIFIER 1418s # ENUMPREFIX: SOME 1418s # enumsince: 1418s # type: enum 1418s # Type: Enum 1418s # TYPE: ENUM 1418s # file-tail 1418s # 1418s # comment 1418s # comment: Generated data ends here 1418s ok 16 __main__.TestMkenums.test_reproducible 1418s # tmpdir: /tmp/tmpy43mteo_ 1418s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1418s # /tmp/tmpy43mteo_/tmpb7kmkfmm.template: template 1418s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy43mteo_/tmpb7kmkfmm.template', '/tmp/tmpy43mteo_/tmptc8vijg21.h', '/tmp/tmpy43mteo_/tmphummboxl2.h'] 1418s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1418s # 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. */ 1418s # 1418s # 1418s # /* Generated data ends here */ 1418s # /tmp/tmpy43mteo_/tmp_cji4dqo.template: template 1418s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy43mteo_/tmp_cji4dqo.template', '/tmp/tmpy43mteo_/tmphummboxl2.h', '/tmp/tmpy43mteo_/tmptc8vijg21.h'] 1418s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1418s # 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. */ 1418s # 1418s # 1418s # /* Generated data ends here */ 1419s ok 17 __main__.TestMkenums.test_since 1419s # tmpdir: /tmp/tmpa06jd70q 1419s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1419s # /tmp/tmpa06jd70q/tmpvkun6y4l.h: 1419s # typedef enum { /*< since=1.0 >*/ 1419s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1419s # } QmiWmsMessageProtocol; 1419s # 1419s # /tmp/tmpa06jd70q/tmpnog1g4oy.template: 1419s # /*** BEGIN file-header ***/ 1419s # file-header 1419s # /*** END file-header ***/ 1419s # 1419s # /*** BEGIN file-production ***/ 1419s # file-production 1419s # filename: @filename@ 1419s # basename: @basename@ 1419s # /*** END file-production ***/ 1419s # 1419s # /*** BEGIN enumeration-production ***/ 1419s # enumeration-production 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END enumeration-production ***/ 1419s # 1419s # /*** BEGIN value-header ***/ 1419s # value-header 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-header ***/ 1419s # 1419s # /*** BEGIN value-production ***/ 1419s # value-production 1419s # VALUENAME: @VALUENAME@ 1419s # valuenick: @valuenick@ 1419s # valuenum: @valuenum@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-production ***/ 1419s # 1419s # /*** BEGIN value-tail ***/ 1419s # value-tail 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-tail ***/ 1419s # 1419s # /*** BEGIN comment ***/ 1419s # comment 1419s # comment: @comment@ 1419s # /*** END comment ***/ 1419s # 1419s # /*** BEGIN file-tail ***/ 1419s # file-tail 1419s # /*** END file-tail ***/ 1419s # 1419s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpa06jd70q/tmpnog1g4oy.template', '/tmp/tmpa06jd70q/tmpvkun6y4l.h'] 1419s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1419s # Output: comment 1419s # 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. 1419s # 1419s # 1419s # file-header 1419s # file-production 1419s # filename: /tmp/tmpa06jd70q/tmpvkun6y4l.h 1419s # basename: tmpvkun6y4l.h 1419s # enumeration-production 1419s # EnumName: QmiWmsMessageProtocol 1419s # enum_name: qmi_wms_message_protocol 1419s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1419s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1419s # ENUMPREFIX: QMI 1419s # enumsince: 1.0 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-header 1419s # EnumName: QmiWmsMessageProtocol 1419s # enum_name: qmi_wms_message_protocol 1419s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1419s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1419s # ENUMPREFIX: QMI 1419s # enumsince: 1.0 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-production 1419s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1419s # valuenick: cdma 1419s # valuenum: 0 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-tail 1419s # EnumName: QmiWmsMessageProtocol 1419s # enum_name: qmi_wms_message_protocol 1419s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1419s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1419s # ENUMPREFIX: QMI 1419s # enumsince: 1.0 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # file-tail 1419s # 1419s # comment 1419s # comment: Generated data ends here 1419s # Executing: glib/mkenums.py.test 1419s ok 18 __main__.TestMkenums.test_with_double_quotes 1419s # tmpdir: /tmp/tmpq21g8y3w 1419s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1419s # /tmp/tmpq21g8y3w/tmpavot9_ug.h: 1419s # typedef enum { 1419s # FOO_VALUE /*< nick="eek, a comma" >*/ 1419s # } Foo; 1419s # 1419s # /tmp/tmpq21g8y3w/tmpuz2jpofy.template: 1419s # /*** BEGIN file-header ***/ 1419s # file-header 1419s # /*** END file-header ***/ 1419s # 1419s # /*** BEGIN file-production ***/ 1419s # file-production 1419s # filename: @filename@ 1419s # basename: @basename@ 1419s # /*** END file-production ***/ 1419s # 1419s # /*** BEGIN enumeration-production ***/ 1419s # enumeration-production 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END enumeration-production ***/ 1419s # 1419s # /*** BEGIN value-header ***/ 1419s # value-header 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-header ***/ 1419s # 1419s # /*** BEGIN value-production ***/ 1419s # value-production 1419s # VALUENAME: @VALUENAME@ 1419s # valuenick: @valuenick@ 1419s # valuenum: @valuenum@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-production ***/ 1419s # 1419s # /*** BEGIN value-tail ***/ 1419s # value-tail 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-tail ***/ 1419s # 1419s # /*** BEGIN comment ***/ 1419s # comment 1419s # comment: @comment@ 1419s # /*** END comment ***/ 1419s # 1419s # /*** BEGIN file-tail ***/ 1419s # file-tail 1419s # /*** END file-tail ***/ 1419s # 1419s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq21g8y3w/tmpuz2jpofy.template', '/tmp/tmpq21g8y3w/tmpavot9_ug.h'] 1419s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1419s # Output: comment 1419s # 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. 1419s # 1419s # 1419s # file-header 1419s # file-production 1419s # filename: /tmp/tmpq21g8y3w/tmpavot9_ug.h 1419s # basename: tmpavot9_ug.h 1419s # enumeration-production 1419s # EnumName: Foo 1419s # enum_name: foo_ 1419s # ENUMNAME: FOO_ 1419s # ENUMSHORT: 1419s # ENUMPREFIX: FOO 1419s # enumsince: 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-header 1419s # EnumName: Foo 1419s # enum_name: foo_ 1419s # ENUMNAME: FOO_ 1419s # ENUMSHORT: 1419s # ENUMPREFIX: FOO 1419s # enumsince: 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-production 1419s # VALUENAME: FOO_VALUE 1419s # valuenick: eek, a comma 1419s # valuenum: 0 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # value-tail 1419s # EnumName: Foo 1419s # enum_name: foo_ 1419s # ENUMNAME: FOO_ 1419s # ENUMSHORT: 1419s # ENUMPREFIX: FOO 1419s # enumsince: 1419s # type: enum 1419s # Type: Enum 1419s # TYPE: ENUM 1419s # file-tail 1419s # 1419s # comment 1419s # comment: Generated data ends here 1419s ok 19 __main__.TestRspMkenums.test_available_in 1419s # tmpdir: /tmp/tmp30ujx99s 1419s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1419s # /tmp/tmp30ujx99s/tmp8xds3lfi.h: 1419s # typedef enum { 1419s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1419s # } GDBusServerFlags; 1419s # 1419s # /tmp/tmp30ujx99s/tmpwadm_zel.template: 1419s # /*** BEGIN file-header ***/ 1419s # file-header 1419s # /*** END file-header ***/ 1419s # 1419s # /*** BEGIN file-production ***/ 1419s # file-production 1419s # filename: @filename@ 1419s # basename: @basename@ 1419s # /*** END file-production ***/ 1419s # 1419s # /*** BEGIN enumeration-production ***/ 1419s # enumeration-production 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END enumeration-production ***/ 1419s # 1419s # /*** BEGIN value-header ***/ 1419s # value-header 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-header ***/ 1419s # 1419s # /*** BEGIN value-production ***/ 1419s # value-production 1419s # VALUENAME: @VALUENAME@ 1419s # valuenick: @valuenick@ 1419s # valuenum: @valuenum@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-production ***/ 1419s # 1419s # /*** BEGIN value-tail ***/ 1419s # value-tail 1419s # EnumName: @EnumName@ 1419s # enum_name: @enum_name@ 1419s # ENUMNAME: @ENUMNAME@ 1419s # ENUMSHORT: @ENUMSHORT@ 1419s # ENUMPREFIX: @ENUMPREFIX@ 1419s # enumsince: @enumsince@ 1419s # type: @type@ 1419s # Type: @Type@ 1419s # TYPE: @TYPE@ 1419s # /*** END value-tail ***/ 1419s # 1419s # /*** BEGIN comment ***/ 1419s # comment 1419s # comment: @comment@ 1419s # /*** END comment ***/ 1419s # 1419s # /*** BEGIN file-tail ***/ 1419s # file-tail 1419s # /*** END file-tail ***/ 1419s # 1419s # Response file contains: --template /tmp/tmp30ujx99s/tmpwadm_zel.template /tmp/tmp30ujx99s/tmp8xds3lfi.h 1419s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp30ujx99s/tmpaxcyzw50'] 1419s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1419s # Output: comment 1419s # 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. 1419s # 1419s # 1419s # file-header 1419s # file-production 1419s # filename: /tmp/tmp30ujx99s/tmp8xds3lfi.h 1419s # basename: tmp8xds3lfi.h 1419s # enumeration-production 1419s # EnumName: GDBusServerFlags 1419s # enum_name: g_dbus_server_flags 1419s # ENUMNAME: G_DBUS_SERVER_FLAGS 1419s # ENUMSHORT: DBUS_SERVER_FLAGS 1419s # ENUMPREFIX: G 1419s # enumsince: 1419s # type: flags 1419s # Type: Flags 1419s # TYPE: FLAGS 1419s # value-header 1419s # EnumName: GDBusServerFlags 1419s # enum_name: g_dbus_server_flags 1419s # ENUMNAME: G_DBUS_SERVER_FLAGS 1419s # ENUMSHORT: DBUS_SERVER_FLAGS 1419s # ENUMPREFIX: G 1419s # enumsince: 1419s # type: flags 1419s # Type: Flags 1419s # TYPE: FLAGS 1419s # value-production 1419s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1419s # valuenick: user 1419s # valuenum: 4 1419s # type: flags 1419s # Type: Flags 1419s # TYPE: FLAGS 1419s # value-tail 1419s # EnumName: GDBusServerFlags 1419s # enum_name: g_dbus_server_flags 1419s # ENUMNAME: G_DBUS_SERVER_FLAGS 1419s # ENUMSHORT: DBUS_SERVER_FLAGS 1419s # ENUMPREFIX: G 1419s # enumsince: 1419s # type: flags 1419s # Type: Flags 1419s # TYPE: FLAGS 1419s # file-tail 1419s # 1419s # comment 1419s # comment: Generated data ends here 1420s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1420s # tmpdir: /tmp/tmp4y2x1o9i 1420s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1420s # /tmp/tmp4y2x1o9i/tmpjkrypkg2.h: 1420s # typedef enum { 1420s # ENUM_VALUE_WITH_COMMA = ',', 1420s # } TestCommaEnum; 1420s # 1420s # /tmp/tmp4y2x1o9i/tmpfs9pmg0m.template: 1420s # /*** BEGIN file-header ***/ 1420s # file-header 1420s # /*** END file-header ***/ 1420s # 1420s # /*** BEGIN file-production ***/ 1420s # file-production 1420s # filename: @filename@ 1420s # basename: @basename@ 1420s # /*** END file-production ***/ 1420s # 1420s # /*** BEGIN enumeration-production ***/ 1420s # enumeration-production 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END enumeration-production ***/ 1420s # 1420s # /*** BEGIN value-header ***/ 1420s # value-header 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-header ***/ 1420s # 1420s # /*** BEGIN value-production ***/ 1420s # value-production 1420s # VALUENAME: @VALUENAME@ 1420s # valuenick: @valuenick@ 1420s # valuenum: @valuenum@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-production ***/ 1420s # 1420s # /*** BEGIN value-tail ***/ 1420s # value-tail 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-tail ***/ 1420s # 1420s # /*** BEGIN comment ***/ 1420s # comment 1420s # comment: @comment@ 1420s # /*** END comment ***/ 1420s # 1420s # /*** BEGIN file-tail ***/ 1420s # file-tail 1420s # /*** END file-tail ***/ 1420s # 1420s # Response file contains: --template /tmp/tmp4y2x1o9i/tmpfs9pmg0m.template /tmp/tmp4y2x1o9i/tmpjkrypkg2.h 1420s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4y2x1o9i/tmpeqjdqzet'] 1420s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1420s # Output: comment 1420s # 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. 1420s # 1420s # 1420s # file-header 1420s # file-production 1420s # filename: /tmp/tmp4y2x1o9i/tmpjkrypkg2.h 1420s # basename: tmpjkrypkg2.h 1420s # enumeration-production 1420s # EnumName: TestCommaEnum 1420s # enum_name: test_comma_enum 1420s # ENUMNAME: TEST_COMMA_ENUM 1420s # ENUMSHORT: COMMA_ENUM 1420s # ENUMPREFIX: TEST 1420s # enumsince: 1420s # type: enum 1420s # Type: Enum 1420s # TYPE: ENUM 1420s # value-header 1420s # EnumName: TestCommaEnum 1420s # enum_name: test_comma_enum 1420s # ENUMNAME: TEST_COMMA_ENUM 1420s # ENUMSHORT: COMMA_ENUM 1420s # ENUMPREFIX: TEST 1420s # enumsince: 1420s # type: enum 1420s # Type: Enum 1420s # TYPE: ENUM 1420s # value-production 1420s # VALUENAME: ENUM_VALUE_WITH_COMMA 1420s # valuenick: comma 1420s # valuenum: 44 1420s # type: enum 1420s # Type: Enum 1420s # TYPE: ENUM 1420s # value-tail 1420s # EnumName: TestCommaEnum 1420s # enum_name: test_comma_enum 1420s # ENUMNAME: TEST_COMMA_ENUM 1420s # ENUMSHORT: COMMA_ENUM 1420s # ENUMPREFIX: TEST 1420s # enumsince: 1420s # type: enum 1420s # Type: Enum 1420s # TYPE: ENUM 1420s # file-tail 1420s # 1420s # comment 1420s # comment: Generated data ends here 1420s ok 21 __main__.TestRspMkenums.test_deprecated_in 1420s # tmpdir: /tmp/tmphellplt2 1420s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1420s # /tmp/tmphellplt2/tmp9b8zskdw.h: 1420s # typedef enum { 1420s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1420s # } GDBusServerFlags; 1420s # 1420s # /tmp/tmphellplt2/tmpu7ri5upe.template: 1420s # /*** BEGIN file-header ***/ 1420s # file-header 1420s # /*** END file-header ***/ 1420s # 1420s # /*** BEGIN file-production ***/ 1420s # file-production 1420s # filename: @filename@ 1420s # basename: @basename@ 1420s # /*** END file-production ***/ 1420s # 1420s # /*** BEGIN enumeration-production ***/ 1420s # enumeration-production 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END enumeration-production ***/ 1420s # 1420s # /*** BEGIN value-header ***/ 1420s # value-header 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-header ***/ 1420s # 1420s # /*** BEGIN value-production ***/ 1420s # value-production 1420s # VALUENAME: @VALUENAME@ 1420s # valuenick: @valuenick@ 1420s # valuenum: @valuenum@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-production ***/ 1420s # 1420s # /*** BEGIN value-tail ***/ 1420s # value-tail 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-tail ***/ 1420s # 1420s # /*** BEGIN comment ***/ 1420s # comment 1420s # comment: @comment@ 1420s # /*** END comment ***/ 1420s # 1420s # /*** BEGIN file-tail ***/ 1420s # file-tail 1420s # /*** END file-tail ***/ 1420s # 1420s # Response file contains: --template /tmp/tmphellplt2/tmpu7ri5upe.template /tmp/tmphellplt2/tmp9b8zskdw.h 1420s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphellplt2/tmpbfmxucwm'] 1420s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1420s # Output: comment 1420s # 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. 1420s # 1420s # 1420s # file-header 1420s # file-production 1420s # filename: /tmp/tmphellplt2/tmp9b8zskdw.h 1420s # basename: tmp9b8zskdw.h 1420s # enumeration-production 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-header 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-production 1420s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1420s # valuenick: user 1420s # valuenum: 4 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-tail 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # file-tail 1420s # 1420s # comment 1420s # comment: Generated data ends here 1420s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1420s # tmpdir: /tmp/tmpmuxvxt3g 1420s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1420s # /tmp/tmpmuxvxt3g/tmp6cx9erfh.h: 1420s # typedef enum { 1420s # 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) 1420s # } GDBusServerFlags; 1420s # 1420s # /tmp/tmpmuxvxt3g/tmp6pxpt439.template: 1420s # /*** BEGIN file-header ***/ 1420s # file-header 1420s # /*** END file-header ***/ 1420s # 1420s # /*** BEGIN file-production ***/ 1420s # file-production 1420s # filename: @filename@ 1420s # basename: @basename@ 1420s # /*** END file-production ***/ 1420s # 1420s # /*** BEGIN enumeration-production ***/ 1420s # enumeration-production 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END enumeration-production ***/ 1420s # 1420s # /*** BEGIN value-header ***/ 1420s # value-header 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-header ***/ 1420s # 1420s # /*** BEGIN value-production ***/ 1420s # value-production 1420s # VALUENAME: @VALUENAME@ 1420s # valuenick: @valuenick@ 1420s # valuenum: @valuenum@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-production ***/ 1420s # 1420s # /*** BEGIN value-tail ***/ 1420s # value-tail 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-tail ***/ 1420s # 1420s # /*** BEGIN comment ***/ 1420s # comment 1420s # comment: @comment@ 1420s # /*** END comment ***/ 1420s # 1420s # /*** BEGIN file-tail ***/ 1420s # file-tail 1420s # /*** END file-tail ***/ 1420s # 1420s # Response file contains: --template /tmp/tmpmuxvxt3g/tmp6pxpt439.template /tmp/tmpmuxvxt3g/tmp6cx9erfh.h 1420s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmuxvxt3g/tmpdkhio01z'] 1420s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1420s # Output: comment 1420s # 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. 1420s # 1420s # 1420s # file-header 1420s # file-production 1420s # filename: /tmp/tmpmuxvxt3g/tmp6cx9erfh.h 1420s # basename: tmp6cx9erfh.h 1420s # enumeration-production 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-header 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-production 1420s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1420s # valuenick: user 1420s # valuenum: 4 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # value-tail 1420s # EnumName: GDBusServerFlags 1420s # enum_name: g_dbus_server_flags 1420s # ENUMNAME: G_DBUS_SERVER_FLAGS 1420s # ENUMSHORT: DBUS_SERVER_FLAGS 1420s # ENUMPREFIX: G 1420s # enumsince: 1420s # type: flags 1420s # Type: Flags 1420s # TYPE: FLAGS 1420s # file-tail 1420s # 1420s # comment 1420s # comment: Generated data ends here 1420s ok 23 __main__.TestRspMkenums.test_empty_header 1420s # tmpdir: /tmp/tmps3h4buyw 1420s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1420s # /tmp/tmps3h4buyw/tmpqxlhlx0g.h: 1420s # /tmp/tmps3h4buyw/tmpzv9etwct.template: 1420s # /*** BEGIN file-header ***/ 1420s # file-header 1420s # /*** END file-header ***/ 1420s # 1420s # /*** BEGIN file-production ***/ 1420s # file-production 1420s # filename: @filename@ 1420s # basename: @basename@ 1420s # /*** END file-production ***/ 1420s # 1420s # /*** BEGIN enumeration-production ***/ 1420s # enumeration-production 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END enumeration-production ***/ 1420s # 1420s # /*** BEGIN value-header ***/ 1420s # value-header 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-header ***/ 1420s # 1420s # /*** BEGIN value-production ***/ 1420s # value-production 1420s # VALUENAME: @VALUENAME@ 1420s # valuenick: @valuenick@ 1420s # valuenum: @valuenum@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-production ***/ 1420s # 1420s # /*** BEGIN value-tail ***/ 1420s # value-tail 1420s # EnumName: @EnumName@ 1420s # enum_name: @enum_name@ 1420s # ENUMNAME: @ENUMNAME@ 1420s # ENUMSHORT: @ENUMSHORT@ 1420s # ENUMPREFIX: @ENUMPREFIX@ 1420s # enumsince: @enumsince@ 1420s # type: @type@ 1420s # Type: @Type@ 1420s # TYPE: @TYPE@ 1420s # /*** END value-tail ***/ 1420s # 1420s # /*** BEGIN comment ***/ 1420s # comment 1420s # comment: @comment@ 1420s # /*** END comment ***/ 1420s # 1420s # /*** BEGIN file-tail ***/ 1420s # file-tail 1420s # /*** END file-tail ***/ 1420s # 1420s # Response file contains: --template /tmp/tmps3h4buyw/tmpzv9etwct.template /tmp/tmps3h4buyw/tmpqxlhlx0g.h 1420s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps3h4buyw/tmptanc893h'] 1420s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1420s # Output: comment 1420s # 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. 1420s # 1420s # 1420s # file-header 1420s # file-tail 1420s # 1420s # comment 1420s # comment: Generated data ends here 1420s ok 24 __main__.TestRspMkenums.test_empty_template 1420s # tmpdir: /tmp/tmpbyt_3p0f 1420s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1420s # /tmp/tmpbyt_3p0f/tmpr025csfb.template: 1420s # Response file contains: --template /tmp/tmpbyt_3p0f/tmpr025csfb.template 1420s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbyt_3p0f/tmpqmvl1usu'] 1420s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1420s # 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. */ 1420s # 1420s # 1420s # /* Generated data ends here */ 1421s ok 25 __main__.TestRspMkenums.test_enum_name 1421s # tmpdir: /tmp/tmpk_1l2qf3 1421s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1421s # /tmp/tmpk_1l2qf3/tmplu2g27kw.h: 1421s # typedef enum _SomeEnumIdentifier { 1421s # ENUM_VALUE 1421s # } SomeEnumIdentifier; 1421s # 1421s # /tmp/tmpk_1l2qf3/tmpkwm8j4wq.template: 1421s # /*** BEGIN file-header ***/ 1421s # file-header 1421s # /*** END file-header ***/ 1421s # 1421s # /*** BEGIN file-production ***/ 1421s # file-production 1421s # filename: @filename@ 1421s # basename: @basename@ 1421s # /*** END file-production ***/ 1421s # 1421s # /*** BEGIN enumeration-production ***/ 1421s # enumeration-production 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END enumeration-production ***/ 1421s # 1421s # /*** BEGIN value-header ***/ 1421s # value-header 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-header ***/ 1421s # 1421s # /*** BEGIN value-production ***/ 1421s # value-production 1421s # VALUENAME: @VALUENAME@ 1421s # valuenick: @valuenick@ 1421s # valuenum: @valuenum@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-production ***/ 1421s # 1421s # /*** BEGIN value-tail ***/ 1421s # value-tail 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-tail ***/ 1421s # 1421s # /*** BEGIN comment ***/ 1421s # comment 1421s # comment: @comment@ 1421s # /*** END comment ***/ 1421s # 1421s # /*** BEGIN file-tail ***/ 1421s # file-tail 1421s # /*** END file-tail ***/ 1421s # 1421s # Response file contains: --template /tmp/tmpk_1l2qf3/tmpkwm8j4wq.template /tmp/tmpk_1l2qf3/tmplu2g27kw.h 1421s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk_1l2qf3/tmpp9iu1w3s'] 1421s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1421s # Output: comment 1421s # 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. 1421s # 1421s # 1421s # file-header 1421s # file-production 1421s # filename: /tmp/tmpk_1l2qf3/tmplu2g27kw.h 1421s # basename: tmplu2g27kw.h 1421s # enumeration-production 1421s # EnumName: SomeEnumIdentifier 1421s # enum_name: some_enum_identifier 1421s # ENUMNAME: SOME_ENUM_IDENTIFIER 1421s # ENUMSHORT: ENUM_IDENTIFIER 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-header 1421s # EnumName: SomeEnumIdentifier 1421s # enum_name: some_enum_identifier 1421s # ENUMNAME: SOME_ENUM_IDENTIFIER 1421s # ENUMSHORT: ENUM_IDENTIFIER 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-production 1421s # VALUENAME: ENUM_VALUE 1421s # valuenick: value 1421s # valuenum: 0 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-tail 1421s # EnumName: SomeEnumIdentifier 1421s # enum_name: some_enum_identifier 1421s # ENUMNAME: SOME_ENUM_IDENTIFIER 1421s # ENUMSHORT: ENUM_IDENTIFIER 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # file-tail 1421s # 1421s # comment 1421s # comment: Generated data ends here 1421s ok 26 __main__.TestRspMkenums.test_enum_private_public 1421s # tmpdir: /tmp/tmpst62x59b 1421s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1421s # /tmp/tmpst62x59b/tmplqvpkrou.h: 1421s # typedef enum { 1421s # ENUM_VALUE_PUBLIC1, 1421s # /*< private >*/ 1421s # ENUM_VALUE_PRIVATE, 1421s # } SomeEnumA 1421s # 1421s # /tmp/tmpst62x59b/tmpdmelsvox.template: 1421s # /*** BEGIN file-header ***/ 1421s # file-header 1421s # /*** END file-header ***/ 1421s # 1421s # /*** BEGIN file-production ***/ 1421s # file-production 1421s # filename: @filename@ 1421s # basename: @basename@ 1421s # /*** END file-production ***/ 1421s # 1421s # /*** BEGIN enumeration-production ***/ 1421s # enumeration-production 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END enumeration-production ***/ 1421s # 1421s # /*** BEGIN value-header ***/ 1421s # value-header 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-header ***/ 1421s # 1421s # /*** BEGIN value-production ***/ 1421s # value-production 1421s # VALUENAME: @VALUENAME@ 1421s # valuenick: @valuenick@ 1421s # valuenum: @valuenum@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-production ***/ 1421s # 1421s # /*** BEGIN value-tail ***/ 1421s # value-tail 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-tail ***/ 1421s # 1421s # /*** BEGIN comment ***/ 1421s # comment 1421s # comment: @comment@ 1421s # /*** END comment ***/ 1421s # 1421s # /*** BEGIN file-tail ***/ 1421s # file-tail 1421s # /*** END file-tail ***/ 1421s # 1421s # Response file contains: --template /tmp/tmpst62x59b/tmpdmelsvox.template /tmp/tmpst62x59b/tmplqvpkrou.h 1421s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpst62x59b/tmpsnj3aqua'] 1421s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1421s # Output: comment 1421s # 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. 1421s # 1421s # 1421s # file-header 1421s # file-production 1421s # filename: /tmp/tmpst62x59b/tmplqvpkrou.h 1421s # basename: tmplqvpkrou.h 1421s # enumeration-production 1421s # EnumName: SomeEnumA 1421s # enum_name: some_enum_a 1421s # ENUMNAME: SOME_ENUM_A 1421s # ENUMSHORT: ENUM_A 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-header 1421s # EnumName: SomeEnumA 1421s # enum_name: some_enum_a 1421s # ENUMNAME: SOME_ENUM_A 1421s # ENUMSHORT: ENUM_A 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-production 1421s # VALUENAME: ENUM_VALUE_PUBLIC1 1421s # valuenick: public1 1421s # valuenum: 0 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-tail 1421s # EnumName: SomeEnumA 1421s # enum_name: some_enum_a 1421s # ENUMNAME: SOME_ENUM_A 1421s # ENUMSHORT: ENUM_A 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # file-tail 1421s # 1421s # comment 1421s # comment: Generated data ends here 1421s # /tmp/tmpst62x59b/tmp69bffsow.h: 1421s # typedef enum { 1421s # /*< private >*/ 1421s # ENUM_VALUE_PRIVATE, 1421s # /*< public >*/ 1421s # ENUM_VALUE_PUBLIC2, 1421s # } SomeEnumB; 1421s # 1421s # /tmp/tmpst62x59b/tmprwzn_jp8.template: 1421s # /*** BEGIN file-header ***/ 1421s # file-header 1421s # /*** END file-header ***/ 1421s # 1421s # /*** BEGIN file-production ***/ 1421s # file-production 1421s # filename: @filename@ 1421s # basename: @basename@ 1421s # /*** END file-production ***/ 1421s # 1421s # /*** BEGIN enumeration-production ***/ 1421s # enumeration-production 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END enumeration-production ***/ 1421s # 1421s # /*** BEGIN value-header ***/ 1421s # value-header 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-header ***/ 1421s # 1421s # /*** BEGIN value-production ***/ 1421s # value-production 1421s # VALUENAME: @VALUENAME@ 1421s # valuenick: @valuenick@ 1421s # valuenum: @valuenum@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-production ***/ 1421s # 1421s # /*** BEGIN value-tail ***/ 1421s # value-tail 1421s # EnumName: @EnumName@ 1421s # enum_name: @enum_name@ 1421s # ENUMNAME: @ENUMNAME@ 1421s # ENUMSHORT: @ENUMSHORT@ 1421s # ENUMPREFIX: @ENUMPREFIX@ 1421s # enumsince: @enumsince@ 1421s # type: @type@ 1421s # Type: @Type@ 1421s # TYPE: @TYPE@ 1421s # /*** END value-tail ***/ 1421s # 1421s # /*** BEGIN comment ***/ 1421s # comment 1421s # comment: @comment@ 1421s # /*** END comment ***/ 1421s # 1421s # /*** BEGIN file-tail ***/ 1421s # file-tail 1421s # /*** END file-tail ***/ 1421s # 1421s # Response file contains: --template /tmp/tmpst62x59b/tmprwzn_jp8.template /tmp/tmpst62x59b/tmp69bffsow.h 1421s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpst62x59b/tmpn5fdl80w'] 1421s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1421s # Output: comment 1421s # 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. 1421s # 1421s # 1421s # file-header 1421s # file-production 1421s # filename: /tmp/tmpst62x59b/tmp69bffsow.h 1421s # basename: tmp69bffsow.h 1421s # enumeration-production 1421s # EnumName: SomeEnumB 1421s # enum_name: some_enum_b 1421s # ENUMNAME: SOME_ENUM_B 1421s # ENUMSHORT: ENUM_B 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-header 1421s # EnumName: SomeEnumB 1421s # enum_name: some_enum_b 1421s # ENUMNAME: SOME_ENUM_B 1421s # ENUMSHORT: ENUM_B 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-production 1421s # VALUENAME: ENUM_VALUE_PUBLIC2 1421s # valuenick: public2 1421s # valuenum: 1 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # value-tail 1421s # EnumName: SomeEnumB 1421s # enum_name: some_enum_b 1421s # ENUMNAME: SOME_ENUM_B 1421s # ENUMSHORT: ENUM_B 1421s # ENUMPREFIX: SOME 1421s # enumsince: 1421s # type: enum 1421s # Type: Enum 1421s # TYPE: ENUM 1421s # file-tail 1421s # 1421s # comment 1421s # comment: Generated data ends here 1422s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1422s # tmpdir: /tmp/tmpmx7i4p3w 1422s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1422s # /tmp/tmpmx7i4p3w/tmpdr5axy35.h: 1422s # typedef enum { 1422s # /*< private >*/ 1422s # ENUM_VALUE_PRIVATE = 5, 1422s # /*< public >*/ 1422s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1422s # } TestSymbolicEnum; 1422s # 1422s # /tmp/tmpmx7i4p3w/tmpq193j2li.template: 1422s # /*** BEGIN file-header ***/ 1422s # file-header 1422s # /*** END file-header ***/ 1422s # 1422s # /*** BEGIN file-production ***/ 1422s # file-production 1422s # filename: @filename@ 1422s # basename: @basename@ 1422s # /*** END file-production ***/ 1422s # 1422s # /*** BEGIN enumeration-production ***/ 1422s # enumeration-production 1422s # EnumName: @EnumName@ 1422s # enum_name: @enum_name@ 1422s # ENUMNAME: @ENUMNAME@ 1422s # ENUMSHORT: @ENUMSHORT@ 1422s # ENUMPREFIX: @ENUMPREFIX@ 1422s # enumsince: @enumsince@ 1422s # type: @type@ 1422s # Type: @Type@ 1422s # TYPE: @TYPE@ 1422s # /*** END enumeration-production ***/ 1422s # 1422s # /*** BEGIN value-header ***/ 1422s # value-header 1422s # EnumName: @EnumName@ 1422s # enum_name: @enum_name@ 1422s # ENUMNAME: @ENUMNAME@ 1422s # ENUMSHORT: @ENUMSHORT@ 1422s # ENUMPREFIX: @ENUMPREFIX@ 1422s # enumsince: @enumsince@ 1422s # type: @type@ 1422s # Type: @Type@ 1422s # TYPE: @TYPE@ 1422s # /*** END value-header ***/ 1422s # 1422s # /*** BEGIN value-production ***/ 1422s # value-production 1422s # VALUENAME: @VALUENAME@ 1422s # valuenick: @valuenick@ 1422s # valuenum: @valuenum@ 1422s # type: @type@ 1422s # Type: @Type@ 1422s # TYPE: @TYPE@ 1422s # /*** END value-production ***/ 1422s # 1422s # /*** BEGIN value-tail ***/ 1422s # value-tail 1422s # EnumName: @EnumName@ 1422s # enum_name: @enum_name@ 1422s # ENUMNAME: @ENUMNAME@ 1422s # ENUMSHORT: @ENUMSHORT@ 1422s # ENUMPREFIX: @ENUMPREFIX@ 1422s # enumsince: @enumsince@ 1422s # type: @type@ 1422s # Type: @Type@ 1422s # TYPE: @TYPE@ 1422s # /*** END value-tail ***/ 1422s # 1422s # /*** BEGIN comment ***/ 1422s # comment 1422s # comment: @comment@ 1422s # /*** END comment ***/ 1422s # 1422s # /*** BEGIN file-tail ***/ 1422s # file-tail 1422s # /*** END file-tail ***/ 1422s # 1422s # Response file contains: --template /tmp/tmpmx7i4p3w/tmpq193j2li.template /tmp/tmpmx7i4p3w/tmpdr5axy35.h 1422s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmx7i4p3w/tmpmziyz6lp'] 1422s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1422s # Output: comment 1422s # 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. 1422s # 1422s # 1422s # file-header 1422s # file-production 1422s # filename: /tmp/tmpmx7i4p3w/tmpdr5axy35.h 1422s # basename: tmpdr5axy35.h 1422s # enumeration-production 1422s # EnumName: TestSymbolicEnum 1422s # enum_name: test_symbolic_enum 1422s # ENUMNAME: TEST_SYMBOLIC_ENUM 1422s # ENUMSHORT: SYMBOLIC_ENUM 1422s # ENUMPREFIX: TEST 1422s # enumsince: 1422s # type: enum 1422s # Type: Enum 1422s # TYPE: ENUM 1422s # value-header 1422s # EnumName: TestSymbolicEnum 1422s # enum_name: test_symbolic_enum 1422s # ENUMNAME: TEST_SYMBOLIC_ENUM 1422s # ENUMSHORT: SYMBOLIC_ENUM 1422s # ENUMPREFIX: TEST 1422s # enumsince: 1422s # type: enum 1422s # Type: Enum 1422s # TYPE: ENUM 1422s # value-production 1422s # VALUENAME: ENUM_VALUE_PUBLIC 1422s # valuenick: public 1422s # valuenum: 7 1422s # type: enum 1422s # Type: Enum 1422s # TYPE: ENUM 1422s # value-tail 1422s # EnumName: TestSymbolicEnum 1422s # enum_name: test_symbolic_enum 1422s # ENUMNAME: TEST_SYMBOLIC_ENUM 1422s # ENUMSHORT: SYMBOLIC_ENUM 1422s # ENUMPREFIX: TEST 1422s # enumsince: 1422s # type: enum 1422s # Type: Enum 1422s # TYPE: ENUM 1422s # file-tail 1422s # 1422s # comment 1422s # comment: Generated data ends here 1422s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1422s # tmpdir: /tmp/tmpguga9e3g 1422s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1422s # /tmp/tmpguga9e3g/tmpo4ziuzyl.template: 1422s # /*** BEGIN file-header ***/ 1422s # file-header 1422s # filename: @filename@ 1422s # basename: @basename@ 1422s # /*** END file-header ***/ 1422s # 1422s # /*** BEGIN comment ***/ 1422s # comment 1422s # comment: @comment@ 1422s # /*** END comment ***/ 1422s # 1422s # /*** BEGIN file-tail ***/ 1422s # file-tail 1422s # filename: @filename@ 1422s # basename: @basename@ 1422s # /*** END file-tail ***/ 1422s # Response file contains: --template /tmp/tmpguga9e3g/tmpo4ziuzyl.template 1422s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpguga9e3g/tmp594tos27'] 1422s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1422s # Output: comment 1422s # 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. 1422s # 1422s # 1422s # file-header 1422s # filename: @filename@ 1422s # basename: @basename@ 1422s # file-tail 1422s # filename: @filename@ 1422s # basename: @basename@ 1422s # 1422s # comment 1422s # comment: Generated data ends here 1422s ok 29 __main__.TestRspMkenums.test_help 1422s # tmpdir: /tmp/tmpmfet2u7_ 1422s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1422s # Response file contains: --help 1422s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmfet2u7_/tmphq6d8rg5'] 1422s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1422s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1422s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1422s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1422s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1422s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1422s # [--output OUTPUT] [--version] 1422s # [args ...] 1422s # 1422s # positional arguments: 1422s # args One or more input files, or a single argument 1422s # @rspfile_path pointing to a file that contains the 1422s # actual arguments 1422s # 1422s # options: 1422s # -h, --help show this help message and exit 1422s # --identifier-prefix IDPREFIX 1422s # Identifier prefix 1422s # --symbol-prefix SYMPREFIX 1422s # Symbol prefix 1422s # --fhead FHEAD Output file header 1422s # --ftail FTAIL Output file footer 1422s # --fprod FPROD Put out TEXT every time a new input file is being 1422s # processed. 1422s # --eprod EPROD Per enum text, produced prior to value iterations 1422s # --vhead VHEAD Value header, produced before iterating over enum 1422s # values 1422s # --vprod VPROD Value text, produced for each enum value. 1422s # --vtail VTAIL Value tail, produced after iterating over enum values 1422s # --comments COMMENT_TMPL 1422s # Comment structure 1422s # --template TEMPLATE Template file 1422s # --output OUTPUT 1422s # --version, -v Print version information 1422s # 1422s # Production text substitutions: 1422s # @EnumName@ PrefixTheXEnum 1422s # @enum_name@ prefix_the_xenum 1422s # @ENUMNAME@ PREFIX_THE_XENUM 1422s # @ENUMSHORT@ THE_XENUM 1422s # @ENUMPREFIX@ PREFIX 1422s # @enumsince@ the user-provided since value given 1422s # @VALUENAME@ PREFIX_THE_XVALUE 1422s # @valuenick@ the-xvalue 1422s # @valuenum@ the integer value (limited support, Since: 2.26) 1422s # @type@ either enum or flags 1422s # @Type@ either Enum or Flags 1422s # @TYPE@ either ENUM or FLAGS 1422s # @filename@ name of current input file 1422s # @basename@ base name of the current input file (Since: 2.22) 1422s ok 30 __main__.TestRspMkenums.test_no_args 1422s # tmpdir: /tmp/tmp8478nn1z 1422s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1422s # Response file contains: 1422s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8478nn1z/tmpnw3fg1ad'] 1422s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1422s # 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. */ 1422s # 1422s # 1422s # /* Generated data ends here */ 1423s ok 31 __main__.TestRspMkenums.test_no_headers 1423s # tmpdir: /tmp/tmpjy8fh27p 1423s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1423s # /tmp/tmpjy8fh27p/tmpsedqkla7.template: 1423s # /*** BEGIN file-header ***/ 1423s # file-header 1423s # /*** END file-header ***/ 1423s # 1423s # /*** BEGIN file-production ***/ 1423s # file-production 1423s # filename: @filename@ 1423s # basename: @basename@ 1423s # /*** END file-production ***/ 1423s # 1423s # /*** BEGIN enumeration-production ***/ 1423s # enumeration-production 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END enumeration-production ***/ 1423s # 1423s # /*** BEGIN value-header ***/ 1423s # value-header 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-header ***/ 1423s # 1423s # /*** BEGIN value-production ***/ 1423s # value-production 1423s # VALUENAME: @VALUENAME@ 1423s # valuenick: @valuenick@ 1423s # valuenum: @valuenum@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-production ***/ 1423s # 1423s # /*** BEGIN value-tail ***/ 1423s # value-tail 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-tail ***/ 1423s # 1423s # /*** BEGIN comment ***/ 1423s # comment 1423s # comment: @comment@ 1423s # /*** END comment ***/ 1423s # 1423s # /*** BEGIN file-tail ***/ 1423s # file-tail 1423s # /*** END file-tail ***/ 1423s # 1423s # Response file contains: --template /tmp/tmpjy8fh27p/tmpsedqkla7.template 1423s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjy8fh27p/tmpz2vnp6w8'] 1423s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1423s # Output: comment 1423s # 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. 1423s # 1423s # 1423s # file-header 1423s # file-tail 1423s # 1423s # comment 1423s # comment: Generated data ends here 1423s ok 32 __main__.TestRspMkenums.test_no_nick 1423s # tmpdir: /tmp/tmprq36stk4 1423s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1423s # /tmp/tmprq36stk4/tmpsvj3_mmo.h: 1423s # typedef enum { 1423s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1423s # } GeglSamplerType; 1423s # 1423s # /tmp/tmprq36stk4/tmpop1t42nq.template: 1423s # /*** BEGIN file-header ***/ 1423s # file-header 1423s # /*** END file-header ***/ 1423s # 1423s # /*** BEGIN file-production ***/ 1423s # file-production 1423s # filename: @filename@ 1423s # basename: @basename@ 1423s # /*** END file-production ***/ 1423s # 1423s # /*** BEGIN enumeration-production ***/ 1423s # enumeration-production 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END enumeration-production ***/ 1423s # 1423s # /*** BEGIN value-header ***/ 1423s # value-header 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-header ***/ 1423s # 1423s # /*** BEGIN value-production ***/ 1423s # value-production 1423s # VALUENAME: @VALUENAME@ 1423s # valuenick: @valuenick@ 1423s # valuenum: @valuenum@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-production ***/ 1423s # 1423s # /*** BEGIN value-tail ***/ 1423s # value-tail 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-tail ***/ 1423s # 1423s # /*** BEGIN comment ***/ 1423s # comment 1423s # comment: @comment@ 1423s # /*** END comment ***/ 1423s # 1423s # /*** BEGIN file-tail ***/ 1423s # file-tail 1423s # /*** END file-tail ***/ 1423s # 1423s # Response file contains: --template /tmp/tmprq36stk4/tmpop1t42nq.template /tmp/tmprq36stk4/tmpsvj3_mmo.h 1423s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprq36stk4/tmpu8hw1jk4'] 1423s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1423s # Output: comment 1423s # 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. 1423s # 1423s # 1423s # file-header 1423s # file-production 1423s # filename: /tmp/tmprq36stk4/tmpsvj3_mmo.h 1423s # basename: tmpsvj3_mmo.h 1423s # enumeration-production 1423s # EnumName: GeglSamplerType 1423s # enum_name: gegl_sampler_type 1423s # ENUMNAME: GEGL_SAMPLER_TYPE 1423s # ENUMSHORT: SAMPLER_TYPE 1423s # ENUMPREFIX: GEGL 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-header 1423s # EnumName: GeglSamplerType 1423s # enum_name: gegl_sampler_type 1423s # ENUMNAME: GEGL_SAMPLER_TYPE 1423s # ENUMSHORT: SAMPLER_TYPE 1423s # ENUMPREFIX: GEGL 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-production 1423s # VALUENAME: GEGL_SAMPLER_NEAREST 1423s # valuenick: nearest 1423s # valuenum: 0 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-tail 1423s # EnumName: GeglSamplerType 1423s # enum_name: gegl_sampler_type 1423s # ENUMNAME: GEGL_SAMPLER_TYPE 1423s # ENUMSHORT: SAMPLER_TYPE 1423s # ENUMPREFIX: GEGL 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # file-tail 1423s # 1423s # comment 1423s # comment: Generated data ends here 1423s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1423s # tmpdir: /tmp/tmp7n2vay_h 1423s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1423s # /tmp/tmp7n2vay_h/tmphrfwbyze.h: 1423s # /* Copyright © La Peña */ 1423s # typedef enum { 1423s # ENUM_VALUE 1423s # } SomeEnumIdentifier; 1423s # 1423s # /tmp/tmp7n2vay_h/tmpesu_4i_i.template: 1423s # /*** BEGIN file-header ***/ 1423s # file-header 1423s # /*** END file-header ***/ 1423s # 1423s # /*** BEGIN file-production ***/ 1423s # file-production 1423s # filename: @filename@ 1423s # basename: @basename@ 1423s # /*** END file-production ***/ 1423s # 1423s # /*** BEGIN enumeration-production ***/ 1423s # enumeration-production 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END enumeration-production ***/ 1423s # 1423s # /*** BEGIN value-header ***/ 1423s # value-header 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-header ***/ 1423s # 1423s # /*** BEGIN value-production ***/ 1423s # value-production 1423s # VALUENAME: @VALUENAME@ 1423s # valuenick: @valuenick@ 1423s # valuenum: @valuenum@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-production ***/ 1423s # 1423s # /*** BEGIN value-tail ***/ 1423s # value-tail 1423s # EnumName: @EnumName@ 1423s # enum_name: @enum_name@ 1423s # ENUMNAME: @ENUMNAME@ 1423s # ENUMSHORT: @ENUMSHORT@ 1423s # ENUMPREFIX: @ENUMPREFIX@ 1423s # enumsince: @enumsince@ 1423s # type: @type@ 1423s # Type: @Type@ 1423s # TYPE: @TYPE@ 1423s # /*** END value-tail ***/ 1423s # 1423s # /*** BEGIN comment ***/ 1423s # comment 1423s # comment: @comment@ 1423s # /*** END comment ***/ 1423s # 1423s # /*** BEGIN file-tail ***/ 1423s # file-tail 1423s # /*** END file-tail ***/ 1423s # 1423s # Response file contains: --template /tmp/tmp7n2vay_h/tmpesu_4i_i.template /tmp/tmp7n2vay_h/tmphrfwbyze.h 1423s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7n2vay_h/tmp_o18ztuw'] 1423s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1423s # Output: comment 1423s # 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. 1423s # 1423s # 1423s # file-header 1423s # file-production 1423s # filename: /tmp/tmp7n2vay_h/tmphrfwbyze.h 1423s # basename: tmphrfwbyze.h 1423s # enumeration-production 1423s # EnumName: SomeEnumIdentifier 1423s # enum_name: some_enum_identifier 1423s # ENUMNAME: SOME_ENUM_IDENTIFIER 1423s # ENUMSHORT: ENUM_IDENTIFIER 1423s # ENUMPREFIX: SOME 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-header 1423s # EnumName: SomeEnumIdentifier 1423s # enum_name: some_enum_identifier 1423s # ENUMNAME: SOME_ENUM_IDENTIFIER 1423s # ENUMSHORT: ENUM_IDENTIFIER 1423s # ENUMPREFIX: SOME 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-production 1423s # VALUENAME: ENUM_VALUE 1423s # valuenick: value 1423s # valuenum: 0 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # value-tail 1423s # EnumName: SomeEnumIdentifier 1423s # enum_name: some_enum_identifier 1423s # ENUMNAME: SOME_ENUM_IDENTIFIER 1423s # ENUMSHORT: ENUM_IDENTIFIER 1423s # ENUMPREFIX: SOME 1423s # enumsince: 1423s # type: enum 1423s # Type: Enum 1423s # TYPE: ENUM 1423s # file-tail 1423s # 1423s # comment 1423s # comment: Generated data ends here 1424s ok 34 __main__.TestRspMkenums.test_reproducible 1424s # tmpdir: /tmp/tmpj31p2pr_ 1424s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1424s # /tmp/tmpj31p2pr_/tmp30d5bf0f.template: template 1424s # Response file contains: --template /tmp/tmpj31p2pr_/tmp30d5bf0f.template /tmp/tmpj31p2pr_/tmp3rnbjiq11.h /tmp/tmpj31p2pr_/tmpawexnzfj2.h 1424s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj31p2pr_/tmpqmk4el8o'] 1424s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1424s # 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. */ 1424s # 1424s # 1424s # /* Generated data ends here */ 1424s # /tmp/tmpj31p2pr_/tmpvfmkc1u7.template: template 1424s # Response file contains: --template /tmp/tmpj31p2pr_/tmpvfmkc1u7.template /tmp/tmpj31p2pr_/tmpawexnzfj2.h /tmp/tmpj31p2pr_/tmp3rnbjiq11.h 1424s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj31p2pr_/tmp8iw34zn9'] 1424s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1424s # 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. */ 1424s # 1424s # 1424s # /* Generated data ends here */ 1424s # Executing: glib/mkenums.py.test 1424s ok 35 __main__.TestRspMkenums.test_since 1424s # tmpdir: /tmp/tmpa5_kidsp 1424s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1424s # /tmp/tmpa5_kidsp/tmp6ykmibju.h: 1424s # typedef enum { /*< since=1.0 >*/ 1424s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1424s # } QmiWmsMessageProtocol; 1424s # 1424s # /tmp/tmpa5_kidsp/tmp1bjszx6x.template: 1424s # /*** BEGIN file-header ***/ 1424s # file-header 1424s # /*** END file-header ***/ 1424s # 1424s # /*** BEGIN file-production ***/ 1424s # file-production 1424s # filename: @filename@ 1424s # basename: @basename@ 1424s # /*** END file-production ***/ 1424s # 1424s # /*** BEGIN enumeration-production ***/ 1424s # enumeration-production 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END enumeration-production ***/ 1424s # 1424s # /*** BEGIN value-header ***/ 1424s # value-header 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-header ***/ 1424s # 1424s # /*** BEGIN value-production ***/ 1424s # value-production 1424s # VALUENAME: @VALUENAME@ 1424s # valuenick: @valuenick@ 1424s # valuenum: @valuenum@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-production ***/ 1424s # 1424s # /*** BEGIN value-tail ***/ 1424s # value-tail 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-tail ***/ 1424s # 1424s # /*** BEGIN comment ***/ 1424s # comment 1424s # comment: @comment@ 1424s # /*** END comment ***/ 1424s # 1424s # /*** BEGIN file-tail ***/ 1424s # file-tail 1424s # /*** END file-tail ***/ 1424s # 1424s # Response file contains: --template /tmp/tmpa5_kidsp/tmp1bjszx6x.template /tmp/tmpa5_kidsp/tmp6ykmibju.h 1424s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa5_kidsp/tmp9rx1f8k4'] 1424s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1424s # Output: comment 1424s # 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. 1424s # 1424s # 1424s # file-header 1424s # file-production 1424s # filename: /tmp/tmpa5_kidsp/tmp6ykmibju.h 1424s # basename: tmp6ykmibju.h 1424s # enumeration-production 1424s # EnumName: QmiWmsMessageProtocol 1424s # enum_name: qmi_wms_message_protocol 1424s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1424s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1424s # ENUMPREFIX: QMI 1424s # enumsince: 1.0 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-header 1424s # EnumName: QmiWmsMessageProtocol 1424s # enum_name: qmi_wms_message_protocol 1424s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1424s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1424s # ENUMPREFIX: QMI 1424s # enumsince: 1.0 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-production 1424s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1424s # valuenick: cdma 1424s # valuenum: 0 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-tail 1424s # EnumName: QmiWmsMessageProtocol 1424s # enum_name: qmi_wms_message_protocol 1424s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1424s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1424s # ENUMPREFIX: QMI 1424s # enumsince: 1.0 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # file-tail 1424s # 1424s # comment 1424s # comment: Generated data ends here 1424s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1424s # tmpdir: /tmp/tmpk0vsq7nw 1424s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1424s # /tmp/tmpk0vsq7nw/tmp75r5_crh.h: 1424s # typedef enum { 1424s # FOO_VALUE /*< nick="eek, a comma" >*/ 1424s # } Foo; 1424s # 1424s # /tmp/tmpk0vsq7nw/tmp5fub4xnw.template: 1424s # /*** BEGIN file-header ***/ 1424s # file-header 1424s # /*** END file-header ***/ 1424s # 1424s # /*** BEGIN file-production ***/ 1424s # file-production 1424s # filename: @filename@ 1424s # basename: @basename@ 1424s # /*** END file-production ***/ 1424s # 1424s # /*** BEGIN enumeration-production ***/ 1424s # enumeration-production 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END enumeration-production ***/ 1424s # 1424s # /*** BEGIN value-header ***/ 1424s # value-header 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-header ***/ 1424s # 1424s # /*** BEGIN value-production ***/ 1424s # value-production 1424s # VALUENAME: @VALUENAME@ 1424s # valuenick: @valuenick@ 1424s # valuenum: @valuenum@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-production ***/ 1424s # 1424s # /*** BEGIN value-tail ***/ 1424s # value-tail 1424s # EnumName: @EnumName@ 1424s # enum_name: @enum_name@ 1424s # ENUMNAME: @ENUMNAME@ 1424s # ENUMSHORT: @ENUMSHORT@ 1424s # ENUMPREFIX: @ENUMPREFIX@ 1424s # enumsince: @enumsince@ 1424s # type: @type@ 1424s # Type: @Type@ 1424s # TYPE: @TYPE@ 1424s # /*** END value-tail ***/ 1424s # 1424s # /*** BEGIN comment ***/ 1424s # comment 1424s # comment: @comment@ 1424s # /*** END comment ***/ 1424s # 1424s # /*** BEGIN file-tail ***/ 1424s # file-tail 1424s # /*** END file-tail ***/ 1424s # 1424s # Response file contains: --template /tmp/tmpk0vsq7nw/tmp5fub4xnw.template /tmp/tmpk0vsq7nw/tmp75r5_crh.h 1424s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk0vsq7nw/tmpu33oyj59'] 1424s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1424s # Output: comment 1424s # 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. 1424s # 1424s # 1424s # file-header 1424s # file-production 1424s # filename: /tmp/tmpk0vsq7nw/tmp75r5_crh.h 1424s # basename: tmp75r5_crh.h 1424s # enumeration-production 1424s # EnumName: Foo 1424s # enum_name: foo_ 1424s # ENUMNAME: FOO_ 1424s # ENUMSHORT: 1424s # ENUMPREFIX: FOO 1424s # enumsince: 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-header 1424s # EnumName: Foo 1424s # enum_name: foo_ 1424s # ENUMNAME: FOO_ 1424s # ENUMSHORT: 1424s # ENUMPREFIX: FOO 1424s # enumsince: 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-production 1424s # VALUENAME: FOO_VALUE 1424s # valuenick: eek, a comma 1424s # valuenum: 0 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # value-tail 1424s # EnumName: Foo 1424s # enum_name: foo_ 1424s # ENUMNAME: FOO_ 1424s # ENUMSHORT: 1424s # ENUMPREFIX: FOO 1424s # enumsince: 1424s # type: enum 1424s # Type: Enum 1424s # TYPE: ENUM 1424s # file-tail 1424s # 1424s # comment 1424s # comment: Generated data ends here 1424s 1..36 1424s ok - glib/mkenums.py.test 1424s # Running test: glib/hmac.test 1424s TAP version 13 1424s # random seed: R02S71a0fad6753d28cc71dcd8a826ba9624 1424s 1..37 1424s # Start of hmac tests 1424s ok 1 /hmac/sha1-1 1424s ok 2 /hmac/sha1-2 1424s ok 3 /hmac/sha1-3 1424s ok 4 /hmac/sha1-4 1424s ok 5 /hmac/sha1-5 1424s ok 6 /hmac/sha1-6 1424s ok 7 /hmac/sha1-7 1424s ok 8 /hmac/sha256-1 1424s ok 9 /hmac/sha256-2 1424s ok 10 /hmac/sha256-3 1424s ok 11 /hmac/sha256-4 1424s ok 12 /hmac/sha256-5 1424s ok 13 /hmac/sha256-6 1424s ok 14 /hmac/sha384-1 1424s ok 15 /hmac/sha384-2 1424s ok 16 /hmac/sha384-3 1424s ok 17 /hmac/sha384-4 1424s ok 18 /hmac/sha384-5 1424s ok 19 /hmac/sha384-6 1424s ok 20 /hmac/sha512-1 1424s ok 21 /hmac/sha512-2 1424s ok 22 /hmac/sha512-3 1424s ok 23 /hmac/sha512-4 1424s ok 24 /hmac/sha512-5 1424s ok 25 /hmac/sha512-6 1424s ok 26 /hmac/md5-1 1424s ok 27 /hmac/md5-2 1424s ok 28 /hmac/md5-3 1424s ok 29 /hmac/md5-4 1424s ok 30 /hmac/md5-5 1424s ok 31 /hmac/md5-6 1424s ok 32 /hmac/md5-7 1424s ok 33 /hmac/ref-unref 1424s ok 34 /hmac/copy 1424s ok 35 /hmac/for-data 1424s ok 36 /hmac/for-string 1424s ok 37 /hmac/for-bytes 1424s # End of hmac tests 1424s ok - glib/hmac.test 1424s # Running test: glib/pattern.test 1424s TAP version 13 1424s # random seed: R02Sb7a0c490e701f4522cb61096745b8fcc 1424s 1..90 1424s # Start of pattern tests 1424s # Start of compile tests 1424s ok 1 /pattern/compile/0 1424s ok 2 /pattern/compile/1 1424s ok 3 /pattern/compile/2 1424s ok 4 /pattern/compile/3 1424s ok 5 /pattern/compile/4 1424s ok 6 /pattern/compile/5 1424s ok 7 /pattern/compile/6 1424s ok 8 /pattern/compile/7 1424s ok 9 /pattern/compile/8 1424s ok 10 /pattern/compile/9 1424s ok 11 /pattern/compile/10 1424s ok 12 /pattern/compile/11 1424s ok 13 /pattern/compile/12 1424s ok 14 /pattern/compile/13 1424s # End of compile tests 1424s # Start of copy tests 1424s ok 15 /pattern/copy/0 1424s ok 16 /pattern/copy/1 1424s ok 17 /pattern/copy/2 1424s ok 18 /pattern/copy/3 1424s ok 19 /pattern/copy/4 1424s ok 20 /pattern/copy/5 1424s ok 21 /pattern/copy/6 1424s ok 22 /pattern/copy/7 1424s ok 23 /pattern/copy/8 1424s ok 24 /pattern/copy/9 1424s ok 25 /pattern/copy/10 1424s ok 26 /pattern/copy/11 1424s ok 27 /pattern/copy/12 1424s ok 28 /pattern/copy/13 1424s # End of copy tests 1424s # Start of match tests 1424s ok 29 /pattern/match/0 1424s ok 30 /pattern/match/1 1424s ok 31 /pattern/match/2 1424s ok 32 /pattern/match/3 1424s ok 33 /pattern/match/4 1424s ok 34 /pattern/match/5 1424s ok 35 /pattern/match/6 1424s ok 36 /pattern/match/7 1424s ok 37 /pattern/match/8 1424s ok 38 /pattern/match/9 1424s ok 39 /pattern/match/10 1424s ok 40 /pattern/match/11 1424s ok 41 /pattern/match/12 1424s ok 42 /pattern/match/13 1424s ok 43 /pattern/match/14 1424s ok 44 /pattern/match/15 1424s ok 45 /pattern/match/16 1424s ok 46 /pattern/match/17 1424s ok 47 /pattern/match/18 1424s ok 48 /pattern/match/19 1424s ok 49 /pattern/match/20 1424s ok 50 /pattern/match/21 1424s ok 51 /pattern/match/22 1424s ok 52 /pattern/match/23 1424s ok 53 /pattern/match/24 1424s ok 54 /pattern/match/25 1424s ok 55 /pattern/match/26 1424s ok 56 /pattern/match/27 1424s ok 57 /pattern/match/28 1424s ok 58 /pattern/match/29 1424s ok 59 /pattern/match/30 1424s ok 60 /pattern/match/31 1424s ok 61 /pattern/match/32 1424s ok 62 /pattern/match/33 1424s ok 63 /pattern/match/34 1424s ok 64 /pattern/match/35 1424s ok 65 /pattern/match/36 1424s ok 66 /pattern/match/37 1424s ok 67 /pattern/match/38 1424s ok 68 /pattern/match/39 1424s ok 69 /pattern/match/40 1424s ok 70 /pattern/match/41 1424s ok 71 /pattern/match/42 1424s ok 72 /pattern/match/43 1424s ok 73 /pattern/match/44 1424s ok 74 /pattern/match/45 1424s ok 75 /pattern/match/46 1424s ok 76 /pattern/match/47 1424s ok 77 /pattern/match/48 1424s ok 78 /pattern/match/49 1424s ok 79 /pattern/match/50 1424s # End of match tests 1424s # Start of equal tests 1424s ok 80 /pattern/equal/0 1424s ok 81 /pattern/equal/1 1424s ok 82 /pattern/equal/2 1424s ok 83 /pattern/equal/3 1424s ok 84 /pattern/equal/4 1424s ok 85 /pattern/equal/5 1424s ok 86 /pattern/equal/6 1424s ok 87 /pattern/equal/7 1424s ok 88 /pattern/equal/8 1424s ok 89 /pattern/equal/9 1424s ok 90 /pattern/equal/10 1424s # End of equal tests 1424s # End of pattern tests 1424s ok - glib/pattern.test 1424s # Running test: glib/async-close-output-stream.test 1424s TAP version 13 1424s # random seed: R02S61e289782de4581d626f0f7edf1ccd7f 1424s 1..3 1424s # Start of close-async tests 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1424s ok 1 /close-async/without-flush 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1424s ok 2 /close-async/with-flush 1424s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1424s ok 3 /close-async/with-async-flush 1424s # End of close-async tests 1424s ok - glib/async-close-output-stream.test 1424s # Running test: glib/1bit-mutex.test 1424s TAP version 13 1424s # random seed: R02S987a4c4cbbf49915e92ea57e39728f75 1424s 1..2 1424s # Start of glib tests 1424s # Start of 1bit-mutex tests 1429s # Executing: glib/1bit-mutex.test 1434s # Executing: glib/1bit-mutex.test 1435s ok 1 /glib/1bit-mutex/int 1435s # slow test /glib/1bit-mutex/int executed in 11.16 secs 1439s # Executing: glib/1bit-mutex.test 1444s # Executing: glib/1bit-mutex.test 1448s ok 2 /glib/1bit-mutex/pointer 1448s # slow test /glib/1bit-mutex/pointer executed in 12.15 secs 1448s # End of 1bit-mutex tests 1448s # End of glib tests 1448s ok - glib/1bit-mutex.test 1448s # Running test: glib/hash.test 1448s TAP version 13 1448s # random seed: R02S5267711090b3bc96b9c9a467eca8915d 1448s 1..34 1448s # Start of hash tests 1448s ok 1 /hash/misc 1448s ok 2 /hash/one 1448s ok 3 /hash/honeyman 1448s ok 4 /hash/direct 1448s ok 5 /hash/direct2 1448s ok 6 /hash/int 1448s ok 7 /hash/int64 1448s ok 8 /hash/double 1448s ok 9 /hash/string 1448s ok 10 /hash/set 1448s ok 11 /hash/set-ref 1448s ok 12 /hash/ref 1448s ok 13 /hash/remove-all 1448s ok 14 /hash/recursive-remove-all 1448s ok 15 /hash/find 1448s ok 16 /hash/foreach 1448s ok 17 /hash/foreach-steal 1448s ok 18 /hash/steal-extended 1448s ok 19 /hash/steal-all-keys 1448s ok 20 /hash/steal-all-values 1448s ok 21 /hash/lookup-extended 1448s ok 22 /hash/new-similar 1448s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1448s ok 23 /hash/lookup-null-key 1448s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1448s ok 24 /hash/destroy-modify 1448s ok 25 /hash/consistency 1448s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1448s ok 26 /hash/iter-replace 1448s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1448s ok 27 /hash/set-insert-corruption 1448s ok 28 /hash/set-to-strv 1448s ok 29 /hash/get-keys-as-ptr-array 1448s ok 30 /hash/get-values-as-ptr-array 1448s ok 31 /hash/primes 1448s # Start of int64 tests 1448s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1448s ok 32 /hash/int64/collisions 1448s # End of int64 tests 1448s # Start of double tests 1448s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1448s ok 33 /hash/double/collisions 1448s # End of double tests 1448s # Start of recursive-remove-all tests 1448s # End of recursive-remove-all tests 1448s # Start of steal-extended tests 1448s ok 34 /hash/steal-extended/optional 1448s # End of steal-extended tests 1448s # End of hash tests 1448s ok - glib/hash.test 1448s # Running test: glib/io-channel.test 1448s TAP version 13 1448s # random seed: R02S08bb4bd8760364a330bd8d81b3907ac1 1448s 1..2 1448s # Start of io-channel tests 1448s # Line one 1448s # 1448s # Line two 1448s # 1448s # Line three 1448s # 1448s # /* Hello */ 1448s # 1448s # \x1234\x567890\x6666 1448s # 1448s # read 62 bytes, wrote 62 bytes 1448s ok 1 /io-channel/read-write 1448s # Start of read-line tests 1448s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1448s ok 2 /io-channel/read-line/embedded-nuls 1448s # End of read-line tests 1448s # End of io-channel tests 1448s ok - glib/io-channel.test 1448s # Running test: glib/deprecated-properties.test 1448s TAP version 13 1448s # random seed: R02S0cfddf913adb5b2d0a1b0d07540606d3 1448s 1..3 1448s # Start of deprecated-properties tests 1448s ok 1 /deprecated-properties/construct 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1448s ok 2 /deprecated-properties/default-construct 1448s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1448s ok 3 /deprecated-properties/set 1448s # End of deprecated-properties tests 1448s ok - glib/deprecated-properties.test 1448s # Running test: glib/value.test 1448s TAP version 13 1448s # random seed: R02S5133acf602c9d6c669fd941c3e996854 1448s 1..8 1448s # Start of value tests 1448s ok 1 /value/basic 1448s ok 2 /value/collection 1448s ok 3 /value/copying 1448s ok 4 /value/enum-transformation 1448s ok 5 /value/gtype 1448s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1448s ok 6 /value/string 1448s # Next: GObject object in GValue of GObject to GValue of GObject 1448s # Next: GObject object in GValue of GObject to GValue of TestInterface 1448s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1448s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1448s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1448s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1448s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1448s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1448s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1448s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1448s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1448s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1448s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1448s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1448s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1448s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1448s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1448s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1448s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1448s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1448s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1448s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1448s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1448s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1448s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1448s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1448s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1448s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1448s ok 7 /value/transform-object 1448s # Start of array tests 1448s ok 8 /value/array/basic 1448s # End of array tests 1448s # End of value tests 1448s ok - glib/value.test 1448s # Running test: glib/gdbus-connection.test 1448s TAP version 13 1448s # random seed: R02Se5f4feee3b503cd5e4ccf4c8ac7a3031 1448s 1..9 1448s # Start of gdbus tests 1448s # Start of connection tests 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/bus-failure/.dirs/runtime 1448s ok 1 /gdbus/connection/bus-failure 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/basic/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 2 /gdbus/connection/basic 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/life-cycle/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 3 /gdbus/connection/life-cycle 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/send/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 4 /gdbus/connection/send 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signals/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 5 /gdbus/connection/signals 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/signal-match-rules/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 6 /gdbus/connection/signal-match-rules 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/filter/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 7 /gdbus/connection/filter 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/serials/.dirs/runtime 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1448s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s ok 8 /gdbus/connection/serials 1448s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/home 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/cache 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/system-config2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/config 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/system-data2 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/data 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/state 1448s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_0IXMK2/gdbus/connection/cancel/.dirs/runtime 1448s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1448s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1449s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1449s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1449s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1449s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1449s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1449s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1449s ok 9 /gdbus/connection/cancel 1449s # End of connection tests 1449s # End of gdbus tests 1449s ok - glib/gdbus-connection.test 1449s # Running test: glib/cache.test 1449s TAP version 13 1449s # random seed: R02Se3cf970678a407074b25231ce4492e7e 1449s 1..1 1449s # Start of cache tests 1449s ok 1 /cache/basic 1449s # End of cache tests 1449s ok - glib/cache.test 1449s # Running test: glib/simple-proxy.test 1449s TAP version 13 1449s # random seed: R02S4af560a685abb79a5fc2b4cb88dcc620 1449s 1..3 1449s # Start of static-proxy tests 1449s ok 1 /static-proxy/uri 1449s ok 2 /static-proxy/socks 1449s ok 3 /static-proxy/ignore 1449s # End of static-proxy tests 1449s ok - glib/simple-proxy.test 1449s # Running test: glib/thumbnail-verification.test 1449s TAP version 13 1449s # random seed: R02S6ca68d024368f89c2f1beeb34608eec3 1449s 1..1 1449s # Start of png-thumbs tests 1449s ok 1 /png-thumbs/validity 1449s # End of png-thumbs tests 1449s ok - glib/thumbnail-verification.test 1449s # Running test: glib/appmonitor.test 1449s TAP version 13 1449s # random seed: R02S2511b288940128c6df5724dfe039029b 1449s 1..1 1449s # Start of monitor tests 1449s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/home 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/cache 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_32PQK2/monitor/app/.dirs/system-config2 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/config 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_32PQK2/monitor/app/.dirs/system-data2 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/data 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/state 1449s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/runtime 1449s # Using data directory: /tmp/test_appmonitor_32PQK2/monitor/app/.dirs/data 1449s ok 1 /monitor/app 1449s # End of monitor tests 1449s # Executing: glib/appmonitor.test 1449s ok - glib/appmonitor.test 1449s # Running test: glib/date.test 1449s TAP version 13 1449s # random seed: R02S94799999a0f1708d4a07c8a622809751 1449s 1..121 1449s # Start of date tests 1449s ok 1 /date/basic 1449s ok 2 /date/empty 1449s ok 3 /date/dmy 1449s ok 4 /date/julian 1449s ok 5 /date/compare 1449s ok 6 /date/dates 1449s ok 7 /date/strftime 1449s ok 8 /date/two-digit-years 1449s ok 9 /date/parse 1449s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1449s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1449s ok 11 /date/month_substring 1449s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1449s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1449s ok 13 /date/clamp 1449s ok 14 /date/order 1449s ok 15 /date/copy 1449s # Vector 0: 0000-00-00, invalid 1449s # Vector 1: 0001-01-01, valid 1449s # Vector 2: 0000-01-01, invalid 1449s # Vector 3: 2000-02-30, invalid 1449s # Vector 4: 2000-02-29, valid 1449s # Vector 5: 2001-02-29, invalid 1449s # Vector 6: 65535-01-01, valid 1449s ok 16 /date/valid-dmy 1449s # Start of parse tests 1449s # Test 0 1449s # Test 1 1449s ok 17 /date/parse/invalid 1449s # End of parse tests 1449s # Start of year tests 1449s ok 18 /date/year/1 1449s ok 19 /date/year/2 1449s ok 20 /date/year/3 1449s ok 21 /date/year/4 1449s ok 22 /date/year/5 1449s ok 23 /date/year/6 1449s ok 24 /date/year/7 1449s ok 25 /date/year/8 1449s ok 26 /date/year/9 1449s ok 27 /date/year/10 1449s ok 28 /date/year/11 1449s ok 29 /date/year/12 1449s ok 30 /date/year/13 1449s ok 31 /date/year/14 1449s ok 32 /date/year/98 1449s ok 33 /date/year/99 1449s ok 34 /date/year/100 1449s ok 35 /date/year/101 1449s ok 36 /date/year/102 1449s ok 37 /date/year/103 1449s ok 38 /date/year/397 1449s ok 39 /date/year/398 1449s ok 40 /date/year/399 1449s ok 41 /date/year/400 1449s ok 42 /date/year/401 1449s ok 43 /date/year/402 1449s ok 44 /date/year/403 1449s ok 45 /date/year/404 1449s ok 46 /date/year/405 1449s ok 47 /date/year/406 1449s ok 48 /date/year/1598 1449s ok 49 /date/year/1599 1449s ok 50 /date/year/1600 1449s ok 51 /date/year/1601 1449s ok 52 /date/year/1602 1450s ok 53 /date/year/1650 1450s ok 54 /date/year/1651 1450s ok 55 /date/year/1897 1450s ok 56 /date/year/1898 1450s ok 57 /date/year/1899 1450s ok 58 /date/year/1900 1450s ok 59 /date/year/1901 1450s ok 60 /date/year/1902 1450s ok 61 /date/year/1903 1450s ok 62 /date/year/1961 1450s ok 63 /date/year/1962 1450s ok 64 /date/year/1963 1450s ok 65 /date/year/1964 1450s ok 66 /date/year/1965 1450s ok 67 /date/year/1967 1450s ok 68 /date/year/1968 1450s ok 69 /date/year/1969 1450s ok 70 /date/year/1970 1450s ok 71 /date/year/1971 1450s ok 72 /date/year/1972 1450s ok 73 /date/year/1973 1450s ok 74 /date/year/1974 1450s ok 75 /date/year/1975 1450s ok 76 /date/year/1976 1450s ok 77 /date/year/1977 1450s ok 78 /date/year/1978 1450s ok 79 /date/year/1979 1450s ok 80 /date/year/1980 1450s ok 81 /date/year/1981 1450s ok 82 /date/year/1982 1450s ok 83 /date/year/1983 1450s ok 84 /date/year/1984 1450s ok 85 /date/year/1985 1450s ok 86 /date/year/1986 1450s ok 87 /date/year/1987 1450s ok 88 /date/year/1988 1450s ok 89 /date/year/1989 1450s ok 90 /date/year/1990 1450s ok 91 /date/year/1991 1450s ok 92 /date/year/1992 1450s ok 93 /date/year/1993 1450s ok 94 /date/year/1994 1450s ok 95 /date/year/1995 1450s ok 96 /date/year/1996 1450s ok 97 /date/year/1997 1450s ok 98 /date/year/1998 1450s ok 99 /date/year/1999 1450s ok 100 /date/year/2000 1450s ok 101 /date/year/2001 1450s ok 102 /date/year/2002 1450s ok 103 /date/year/2003 1450s ok 104 /date/year/2004 1450s ok 105 /date/year/2005 1450s ok 106 /date/year/2006 1450s ok 107 /date/year/2007 1450s ok 108 /date/year/2008 1450s ok 109 /date/year/2009 1450s ok 110 /date/year/2010 1450s ok 111 /date/year/2011 1450s ok 112 /date/year/2012 1450s ok 113 /date/year/3000 1450s ok 114 /date/year/3001 1450s ok 115 /date/year/3002 1450s ok 116 /date/year/3998 1450s ok 117 /date/year/3999 1450s ok 118 /date/year/4000 1451s ok 119 /date/year/4001 1451s ok 120 /date/year/4002 1451s ok 121 /date/year/4003 1451s # End of year tests 1451s # End of date tests 1451s ok - glib/date.test 1451s # Running test: glib/thread-pool.test 1451s TAP version 13 1451s # random seed: R02S2eb4bb7a7fbebd03bf3a4602c14bb551 1451s 1..5 1451s # Start of thread_pool tests 1451s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1451s ok 1 /thread_pool/shared 1451s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1451s ok 2 /thread_pool/exclusive 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1451s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1451s ok 3 /thread_pool/create_shared_after_exclusive 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1451s ok 4 /thread_pool/create_full 1451s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1451s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1451s ok 5 /thread_pool/create_exclusive_after_shared 1451s # End of thread_pool tests 1451s ok - glib/thread-pool.test 1451s # Running test: glib/resolver-parsing.test 1451s TAP version 13 1451s # random seed: R02Sa0a71d42c56b61412575e9fdc05358f3 1451s 1..20 1451s # Start of gresolver tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/invalid-header/.dirs/runtime 1451s ok 1 /gresolver/invalid-header 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/unknown-record-type/.dirs/runtime 1451s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1451s ok 2 /gresolver/unknown-record-type 1451s # Start of mx tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/valid/.dirs/runtime 1451s ok 3 /gresolver/mx/valid 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/.dirs/runtime 1451s ok 4 /gresolver/mx/invalid 1451s # Start of invalid tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short/.dirs/runtime 1451s ok 5 /gresolver/mx/invalid/too-short 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1451s ok 6 /gresolver/mx/invalid/too-short2 1451s # End of invalid tests 1451s # End of mx tests 1451s # Start of ns tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/valid/.dirs/runtime 1451s ok 7 /gresolver/ns/valid 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/ns/invalid/.dirs/runtime 1451s ok 8 /gresolver/ns/invalid 1451s # End of ns tests 1451s # Start of soa tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/valid/.dirs/runtime 1451s ok 9 /gresolver/soa/valid 1451s # Start of invalid tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/mname/.dirs/runtime 1451s ok 10 /gresolver/soa/invalid/mname 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/rname/.dirs/runtime 1451s ok 11 /gresolver/soa/invalid/rname 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/soa/invalid/too-short/.dirs/runtime 1451s ok 12 /gresolver/soa/invalid/too-short 1451s # End of invalid tests 1451s # End of soa tests 1451s # Start of srv tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/valid/.dirs/runtime 1451s ok 13 /gresolver/srv/valid 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/.dirs/runtime 1451s ok 14 /gresolver/srv/invalid 1451s # Start of invalid tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short/.dirs/runtime 1451s ok 15 /gresolver/srv/invalid/too-short 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1451s ok 16 /gresolver/srv/invalid/too-short2 1451s # End of invalid tests 1451s # End of srv tests 1451s # Start of txt tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/.dirs/runtime 1451s ok 17 /gresolver/txt/valid 1451s # Start of valid tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1451s ok 18 /gresolver/txt/valid/multiple-strings 1451s # End of valid tests 1451s # Start of invalid tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/empty/.dirs/runtime 1451s ok 19 /gresolver/txt/invalid/empty 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4XWOK2/gresolver/txt/invalid/overflow/.dirs/runtime 1451s ok 20 /gresolver/txt/invalid/overflow 1451s # End of invalid tests 1451s # End of txt tests 1451s # End of gresolver tests 1451s ok - glib/resolver-parsing.test 1451s # Running test: glib/gdbus-connection-slow.test 1451s TAP version 13 1451s # random seed: R02S1fbfb5d115c8385ddb5b28a1a66495e3 1451s 1..2 1451s # Start of gdbus tests 1451s # Start of connection tests 1451s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/home 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/cache 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/system-config2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/config 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/system-data2 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/data 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/state 1451s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/flush/.dirs/runtime 1451s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1454s # Executing: glib/gdbus-connection-slow.test 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s ok 1 /gdbus/connection/flush 1454s # slow test /gdbus/connection/flush executed in 3.25 secs 1454s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/home 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/cache 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/system-config2 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/config 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/system-data2 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/data 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/state 1454s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_I2ONK2/gdbus/connection/large_message/.dirs/runtime 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1454s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1454s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1457s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1457s ok 2 /gdbus/connection/large_message 1457s # slow test /gdbus/connection/large_message executed in 3.26 secs 1457s # End of connection tests 1457s # End of gdbus tests 1457s ok - glib/gdbus-connection-slow.test 1457s # Running test: glib/throws.test 1457s TAP version 13 1457s # random seed: R02S8a08db5d4cd0f076f32e67baf7005a1c 1457s 1..3 1457s # Start of throws tests 1457s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/home 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/cache 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/system-config2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/config 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/system-data2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/data 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/state 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ADMXK2/throws/invoke-gerror/.dirs/runtime 1457s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1457s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1457s ok 1 /throws/invoke-gerror 1457s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/home 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/cache 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/config 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/data 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/state 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ADMXK2/throws/vfunc-can-throw-gerror/.dirs/runtime 1457s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1457s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1457s ok 2 /throws/vfunc-can-throw-gerror 1457s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/home 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/cache 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/system-config2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/config 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/system-data2 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/data 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/state 1457s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ADMXK2/throws/callback-can-throw-gerror/.dirs/runtime 1457s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1457s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1457s ok 3 /throws/callback-can-throw-gerror 1457s # End of throws tests 1457s ok - glib/throws.test 1458s # Running test: glib/gdbus-sasl.test 1458s TAP version 13 1458s # random seed: R02S2e5ca05e8810b60401474bf69de554b6 1458s 1..1 1458s # Start of gdbus tests 1458s # Start of sasl tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_UPJUK2/gdbus/sasl/server/.dirs/runtime 1458s # New handshake: EXTERNAL with incorrect initial response 1458s # C:“AUTH EXTERNAL 30” 1458s # Expect: /^REJECTED.*$/ 1458s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1458s # New handshake: EXTERNAL without initial response, failing to authenticate 1458s # C:“AUTH EXTERNAL” 1458s # Expect: /^DATA$/ 1458s # S:“DATA” 1458s # C:“DATA 30” 1458s # Expect: /^REJECTED.*$/ 1458s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1458s # New handshake: EXTERNAL with initial response 1458s # C:“AUTH EXTERNAL 31303030” 1458s # Expect: /^OK [0-9a-f]+$/ 1458s # S:“OK 365c10dbe2543e5cd42fb7cd65f7952f” 1458s # New handshake: EXTERNAL without initial response 1458s # C:“AUTH EXTERNAL” 1458s # Expect: /^DATA$/ 1458s # S:“DATA” 1458s # C:“DATA 31303030” 1458s # Expect: /^OK [0-9a-f]+$/ 1458s # S:“OK 365c10dbe2543e5cd42fb7cd65f7952f” 1458s # New handshake: EXTERNAL with empty authorization identity 1458s # C:“AUTH EXTERNAL” 1458s # Expect: /^DATA$/ 1458s # S:“DATA” 1458s # C:“DATA” 1458s # Expect: /^OK [0-9a-f]+$/ 1458s # S:“OK 365c10dbe2543e5cd42fb7cd65f7952f” 1458s # New handshake: EXTERNAL with empty authorization identity and whitespace 1458s # C:“AUTH EXTERNAL” 1458s # Expect: /^DATA$/ 1458s # S:“DATA” 1458s # C:“DATA ” 1458s # Expect: /^OK [0-9a-f]+$/ 1458s # S:“OK 365c10dbe2543e5cd42fb7cd65f7952f” 1458s ok 1 /gdbus/sasl/server 1458s # End of sasl tests 1458s # End of gdbus tests 1458s ok - glib/gdbus-sasl.test 1458s # Running test: glib/module-test-library.test 1458s TAP version 13 1458s # random seed: R02S0f4e1bb7710d37a991ea6b8f217ef5dd 1458s 1..2 1458s # Start of module tests 1458s ok 1 /module/basics 1458s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1458s ok 2 /module/invalid-libtool-archive 1458s # End of module tests 1458s ok - glib/module-test-library.test 1458s # Running test: glib/repository.test 1458s TAP version 13 1458s # random seed: R02Se5f2c27e45daf86412c28c6ac95af81f 1458s 1..21 1458s # Start of repository tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/basic/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/basic/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/basic/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/basic/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/basic/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/basic/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/basic/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/basic/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/basic/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/basic/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1458s ok 1 /repository/basic 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/info/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/info/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1458s ok 2 /repository/info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/dependencies/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/dependencies/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/dependencies/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1458s ok 3 /repository/dependencies 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/arg-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/arg-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/arg-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1458s ok 4 /repository/arg-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/callable-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/callable-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/callable-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1458s ok 5 /repository/callable-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/callback-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/callback-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/callback-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1458s ok 6 /repository/callback-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/char-types/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/char-types/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/char-types/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1458s ok 7 /repository/char-types 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/constructor-return-type/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1458s ok 8 /repository/constructor-return-type 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/enum-info-c-identifier/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1458s ok 9 /repository/enum-info-c-identifier 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/enum-info-static-methods/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/enum-info-static-methods summary: Test an enum with methods 1458s ok 10 /repository/enum-info-static-methods 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/error-quark/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/error-quark/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/error-quark/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/error-quark summary: Test finding an error quark by error domain 1458s ok 11 /repository/error-quark 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/flags-info-c-identifier/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1458s ok 12 /repository/flags-info-c-identifier 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/fundamental-ref-func/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1458s ok 13 /repository/fundamental-ref-func 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/instance-method-ownership-transfer/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1458s ok 14 /repository/instance-method-ownership-transfer 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/object-gtype-interfaces/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1458s ok 15 /repository/object-gtype-interfaces 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1458s ok 16 /repository/signal-info-with-array-length-arg 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/type-info-name/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1458s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1458s ok 17 /repository/type-info-name 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1458s ok 18 /repository/vfunc-info-with-no-invoker 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1458s ok 19 /repository/vfunc-info-with-invoker-on-interface 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1458s ok 20 /repository/vfunc-info-with-invoker-on-object 1458s # Start of base-info tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_R3RRK2/repository/base-info/clear/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1458s ok 21 /repository/base-info/clear 1458s # End of base-info tests 1458s # End of repository tests 1458s ok - glib/repository.test 1458s # Running test: glib/trash.test 1458s TAP version 13 1458s # random seed: R02S25ac121f350d3dfb0dccfc139d81e39b 1458s 1..2 1458s # Start of trash tests 1458s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1458s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1458s # File: /tmp/test-trashCXFOK2 (parent st_dev: 70) 1458s # Home: /home/ubuntu (st_dev: 70) 1458s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1458s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1458s # Target: /home/ubuntu/.local (mount: /) 1458s # Tmp: /tmp/test-trashSJBNK2 (mount: /) 1458s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1458s # End of trash tests 1458s ok - glib/trash.test 1458s # Running test: glib/power-profile-monitor.test 1458s TAP version 13 1458s # random seed: R02Sd5494d42067d3dbffb796949b456033a 1458s 1..1 1458s # Start of power-profile-monitor tests 1458s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1458s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1458s ok 1 /power-profile-monitor/default 1458s # End of power-profile-monitor tests 1458s ok - glib/power-profile-monitor.test 1458s # Running test: glib/gdbus-threading.test 1458s TAP version 13 1458s # random seed: R02S0875169f3de79b644eda69e444b53c6a 1458s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1458s ok - glib/gdbus-threading.test 1458s # Running test: glib/singleton.test 1458s TAP version 13 1458s # random seed: R02S091a887d0003bfb4315ccf19b6eaac77 1458s 1..2 1458s # Start of gobject tests 1458s # Start of singleton tests 1458s ok 1 /gobject/singleton/construction 1458s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1458s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1458s ok 2 /gobject/singleton/construct-property 1458s # End of singleton tests 1458s # End of gobject tests 1458s ok - glib/singleton.test 1458s # Running test: glib/buffered-output-stream.test 1458s TAP version 13 1458s # random seed: R02S96c26867636075a0d94c4766bd8de6d6 1458s 1..5 1458s # Start of buffered-output-stream tests 1458s ok 1 /buffered-output-stream/write 1458s ok 2 /buffered-output-stream/grow 1458s ok 3 /buffered-output-stream/seek 1458s ok 4 /buffered-output-stream/truncate 1458s # End of buffered-output-stream tests 1458s # Start of filter-output-stream tests 1458s ok 5 /filter-output-stream/close 1458s # End of filter-output-stream tests 1458s ok - glib/buffered-output-stream.test 1458s # Running test: glib/option-argv0.test 1458s TAP version 13 1458s # random seed: R02S4244c9d1448d21ae71a511a17df64393 1458s 1..1 1458s # Start of option tests 1458s ok 1 /option/argv0 1458s # End of option tests 1458s ok - glib/option-argv0.test 1458s # Running test: glib/gdbus-introspection.test 1458s TAP version 13 1458s # random seed: R02Sdd6542d0fa82d7d09fa422784fd97806 1458s 1..4 1458s # Start of gdbus tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-parser/.dirs/runtime 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s ok 1 /gdbus/introspection-parser 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-generate/.dirs/runtime 1458s ok 2 /gdbus/introspection-generate 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-default-direction/.dirs/runtime 1458s ok 3 /gdbus/introspection-default-direction 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_II83K2/gdbus/introspection-extra-data/.dirs/runtime 1458s ok 4 /gdbus/introspection-extra-data 1458s # End of gdbus tests 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s cleaning up pid 9281 1458s ok - glib/gdbus-introspection.test 1458s # Running test: glib/accumulator.test 1458s TAP version 13 1458s # random seed: R02Sfeede84ce10557503108caab419ec949 1458s 1..1 1458s # Start of gobject tests 1458s ok 1 /gobject/accumulator 1458s # End of gobject tests 1458s ok - glib/accumulator.test 1458s # Running test: glib/autoptr-girepository.test 1458s TAP version 13 1458s # random seed: R02S2b5c4511bb11ae0183dcbab8f96a978b 1458s 1..24 1458s # Start of autoptr tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/repository/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 1 /autoptr/repository 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/typelib/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 2 /autoptr/typelib 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/base-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 3 /autoptr/base-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/arg-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 4 /autoptr/arg-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/callable-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 5 /autoptr/callable-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/callback-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 6 /autoptr/callback-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/constant-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 7 /autoptr/constant-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/enum-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 8 /autoptr/enum-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/field-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 9 /autoptr/field-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/flags-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 10 /autoptr/flags-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/function-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 11 /autoptr/function-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/interface-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 12 /autoptr/interface-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/object-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 13 /autoptr/object-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/property-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 14 /autoptr/property-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/registered-type-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 15 /autoptr/registered-type-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/signal-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 16 /autoptr/signal-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/struct-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 17 /autoptr/struct-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/type-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 18 /autoptr/type-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/union-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 19 /autoptr/union-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/value-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 20 /autoptr/value-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/autoptr/vfunc-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 21 /autoptr/vfunc-info 1458s # End of autoptr tests 1458s # Start of auto tests 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/auto/arg-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 22 /auto/arg-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/auto/type-info/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 23 /auto/type-info 1458s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/home 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/cache 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/system-config2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/config 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/system-data2 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/data 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/state 1458s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_AON2K2/auto/function-invoker/.dirs/runtime 1458s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1458s ok 24 /auto/function-invoker 1458s # End of auto tests 1458s ok - glib/autoptr-girepository.test 1458s # Running test: glib/g-file-info-filesystem-readonly.test 1458s TAP version 13 1458s # random seed: R02Sf84ed7827dd5e89a2c1ec33da4dfce24 1458s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1458s 1..2 1458s # Start of g-file-info-filesystem-readonly tests 1458s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1458s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1458s # End of g-file-info-filesystem-readonly tests 1458s ok - glib/g-file-info-filesystem-readonly.test 1458s # Running test: glib/thread-deprecated.test 1458s TAP version 13 1458s # random seed: R02S4f6a80a3b189b238d8f9c765cef5ea0c 1458s 1..6 1458s # Start of thread tests 1459s ok 1 /thread/mutex 1459s # Executing: glib/thread-deprecated.test 1459s ok 2 /thread/static-rec-mutex 1463s ok 3 /thread/static-private 1463s # slow test /thread/static-private executed in 4.44 secs 1464s # Executing: glib/thread-deprecated.test 1468s ok 4 /thread/static-rw-lock 1468s # slow test /thread/static-rw-lock executed in 5.01 secs 1468s ok 5 /thread/once 1469s # Executing: glib/thread-deprecated.test 1474s # Executing: glib/thread-deprecated.test 1479s ok 6 /thread/rerun-all 1479s # slow test /thread/rerun-all executed in 10.14 secs 1479s # End of thread tests 1479s ok - glib/thread-deprecated.test 1479s # Running test: glib/unix.test 1479s TAP version 13 1479s # random seed: R02Sa396f9ee347a756b1d0fbbad2e26a105 1479s 1..17 1479s # Start of glib-unix tests 1479s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1479s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1479s ok 1 /glib-unix/closefrom 1479s ok 2 /glib-unix/pipe 1479s # /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 1479s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1479s ok 3 /glib-unix/pipe-stdio-overwrite 1479s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1479s ok 4 /glib-unix/pipe-struct 1479s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1479s ok 5 /glib-unix/pipe-struct-auto 1479s ok 6 /glib-unix/error 1479s ok 7 /glib-unix/nonblocking 1479s # Executing: glib/unix.test 1479s ok 8 /glib-unix/sighup 1479s # slow test /glib-unix/sighup executed in 0.52 secs 1480s ok 9 /glib-unix/sigterm 1480s # slow test /glib-unix/sigterm executed in 0.50 secs 1480s ok 10 /glib-unix/sighup_again 1480s # slow test /glib-unix/sighup_again executed in 0.51 secs 1480s ok 11 /glib-unix/sighup_add_remove 1480s ok 12 /glib-unix/sighup_nested 1482s ok 13 /glib-unix/callback_after_signal 1482s # slow test /glib-unix/callback_after_signal executed in 2.01 secs 1482s ok 14 /glib-unix/child-wait 1482s # Start of closefrom tests 1482s # Start of subprocess tests 1482s # End of subprocess tests 1482s # End of closefrom tests 1482s # Start of pipe tests 1482s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1482s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1482s ok 15 /glib-unix/pipe/fd-cloexec 1482s # End of pipe tests 1482s # Start of get-passwd-entry tests 1482s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1482s ok 16 /glib-unix/get-passwd-entry/root 1482s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1482s ok 17 /glib-unix/get-passwd-entry/nonexistent 1482s # End of get-passwd-entry tests 1482s # End of glib-unix tests 1482s ok - glib/unix.test 1482s # Running test: glib/task.test 1482s TAP version 13 1482s # random seed: R02Sd0f8ef6f1e55f5c7c861c1a3ad43f4b9 1482s 1..36 1482s # Start of gtask tests 1482s ok 1 /gtask/basic 1482s ok 2 /gtask/error 1482s ok 3 /gtask/error-literal 1482s ok 4 /gtask/error-literal-from-variable 1482s ok 5 /gtask/return-from-same-iteration 1482s ok 6 /gtask/return-from-toplevel 1482s ok 7 /gtask/return-from-anon-thread 1482s ok 8 /gtask/return-from-wrong-thread 1482s ok 9 /gtask/no-callback 1482s ok 10 /gtask/report-error 1482s ok 11 /gtask/priority 1482s ok 12 /gtask/name 1482s ok 13 /gtask/static-name 1482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1482s ok 14 /gtask/asynchronous-cancellation 1483s ok 15 /gtask/check-cancellable 1483s ok 16 /gtask/return-if-cancelled 1483s ok 17 /gtask/run-in-thread 1483s ok 18 /gtask/run-in-thread-sync 1483s ok 19 /gtask/run-in-thread-priority 1483s ok 20 /gtask/run-in-thread-nested 1483s ok 21 /gtask/run-in-thread-overflow 1483s # slow test /gtask/run-in-thread-overflow executed in 0.54 secs 1483s # GLib-GIO-DEBUG: GTask 0x1c3d9c8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1483s # GLib-GIO-DEBUG: GTask 0x1c3d930 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1483s ok 22 /gtask/return-on-cancel 1483s # GLib-GIO-DEBUG: GTask 0x1c3df50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1483s # GLib-GIO-DEBUG: GTask 0x1c3d590 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1483s ok 23 /gtask/return-on-cancel-sync 1483s ok 24 /gtask/return-on-cancel-atomic 1483s ok 25 /gtask/return-pointer 1483s ok 26 /gtask/return-value 1483s ok 27 /gtask/return-prefixed-error 1483s ok 28 /gtask/object-keepalive 1483s ok 29 /gtask/legacy-error 1483s ok 30 /gtask/finalize-without-return 1483s # Start of name tests 1483s ok 31 /gtask/name/macro-wrapper 1483s # End of name tests 1483s # Start of return tests 1483s ok 32 /gtask/return/error-first 1483s ok 33 /gtask/return/value-first 1483s # Start of in-idle tests 1483s ok 34 /gtask/return/in-idle/error-first 1483s ok 35 /gtask/return/in-idle/value-first 1483s # End of in-idle tests 1483s # End of return tests 1483s # Start of attach-source tests 1483s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1483s ok 36 /gtask/attach-source/set-name 1483s # End of attach-source tests 1483s # End of gtask tests 1483s ok - glib/task.test 1483s # Running test: glib/performance-threaded.test 1483s Running test "liststore-is-a" 1484s # Executing: glib/performance-threaded.test 1484s 3047 runs, min/avg/max = 0.259/0.324/13.730 ms 1484s Running test "liststore-interface-peek" 1485s 3767 runs, min/avg/max = 0.173/0.261/28.061 ms 1485s Running test "liststore-interface-peek-same" 1486s 4827 runs, min/avg/max = 0.173/0.203/8.839 ms 1487s ok - glib/performance-threaded.test 1487s # Running test: glib/markup-parse.test 1487s TAP version 13 1487s # random seed: R02S14536743ada13b95668fb6d03f054383 1487s 1..71 1487s # Start of markup tests 1487s # Start of parse tests 1487s ok 1 /markup/parse/fail-1.gmarkup 1487s ok 2 /markup/parse/fail-10.gmarkup 1487s ok 3 /markup/parse/fail-11.gmarkup 1487s ok 4 /markup/parse/fail-12.gmarkup 1487s ok 5 /markup/parse/fail-13.gmarkup 1487s ok 6 /markup/parse/fail-14.gmarkup 1487s ok 7 /markup/parse/fail-15.gmarkup 1487s ok 8 /markup/parse/fail-16.gmarkup 1487s ok 9 /markup/parse/fail-17.gmarkup 1487s ok 10 /markup/parse/fail-18.gmarkup 1487s ok 11 /markup/parse/fail-19.gmarkup 1487s ok 12 /markup/parse/fail-2.gmarkup 1487s ok 13 /markup/parse/fail-20.gmarkup 1487s ok 14 /markup/parse/fail-21.gmarkup 1487s ok 15 /markup/parse/fail-22.gmarkup 1487s ok 16 /markup/parse/fail-23.gmarkup 1487s ok 17 /markup/parse/fail-24.gmarkup 1487s ok 18 /markup/parse/fail-25.gmarkup 1487s ok 19 /markup/parse/fail-26.gmarkup 1487s ok 20 /markup/parse/fail-27.gmarkup 1487s ok 21 /markup/parse/fail-28.gmarkup 1487s ok 22 /markup/parse/fail-29.gmarkup 1487s ok 23 /markup/parse/fail-3.gmarkup 1487s ok 24 /markup/parse/fail-30.gmarkup 1487s ok 25 /markup/parse/fail-31.gmarkup 1487s ok 26 /markup/parse/fail-32.gmarkup 1487s ok 27 /markup/parse/fail-33.gmarkup 1487s ok 28 /markup/parse/fail-34.gmarkup 1487s ok 29 /markup/parse/fail-35.gmarkup 1487s ok 30 /markup/parse/fail-36.gmarkup 1487s ok 31 /markup/parse/fail-37.gmarkup 1487s ok 32 /markup/parse/fail-38.gmarkup 1487s ok 33 /markup/parse/fail-39.gmarkup 1487s ok 34 /markup/parse/fail-4.gmarkup 1487s ok 35 /markup/parse/fail-40.gmarkup 1487s ok 36 /markup/parse/fail-41.gmarkup 1487s ok 37 /markup/parse/fail-42.gmarkup 1487s ok 38 /markup/parse/fail-43.gmarkup 1487s ok 39 /markup/parse/fail-44.gmarkup 1487s ok 40 /markup/parse/fail-45.gmarkup 1487s ok 41 /markup/parse/fail-46.gmarkup 1487s ok 42 /markup/parse/fail-47.gmarkup 1487s ok 43 /markup/parse/fail-48.gmarkup 1487s ok 44 /markup/parse/fail-49.gmarkup 1487s ok 45 /markup/parse/fail-5.gmarkup 1487s ok 46 /markup/parse/fail-50.gmarkup 1487s ok 47 /markup/parse/fail-51.gmarkup 1487s ok 48 /markup/parse/fail-52.gmarkup 1487s ok 49 /markup/parse/fail-53.gmarkup 1487s ok 50 /markup/parse/fail-54.gmarkup 1487s ok 51 /markup/parse/fail-6.gmarkup 1487s ok 52 /markup/parse/fail-7.gmarkup 1487s ok 53 /markup/parse/fail-8.gmarkup 1487s ok 54 /markup/parse/fail-9.gmarkup 1487s ok 55 /markup/parse/valid-1.gmarkup 1487s ok 56 /markup/parse/valid-10.gmarkup 1487s ok 57 /markup/parse/valid-11.gmarkup 1487s ok 58 /markup/parse/valid-12.gmarkup 1487s ok 59 /markup/parse/valid-13.gmarkup 1487s ok 60 /markup/parse/valid-14.gmarkup 1487s ok 61 /markup/parse/valid-15.gmarkup 1487s ok 62 /markup/parse/valid-16.gmarkup 1487s ok 63 /markup/parse/valid-17.gmarkup 1487s ok 64 /markup/parse/valid-2.gmarkup 1487s ok 65 /markup/parse/valid-3.gmarkup 1487s ok 66 /markup/parse/valid-4.gmarkup 1487s ok 67 /markup/parse/valid-5.gmarkup 1487s ok 68 /markup/parse/valid-6.gmarkup 1487s ok 69 /markup/parse/valid-7.gmarkup 1487s ok 70 /markup/parse/valid-8.gmarkup 1487s ok 71 /markup/parse/valid-9.gmarkup 1487s # End of parse tests 1487s # End of markup tests 1487s ok - glib/markup-parse.test 1487s # Running test: glib/static-link.test 1487s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1487s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1487s and make sure you have glib build dependencies installed, including 1487s meson. 1487s ok # SKIP - glib/static-link.test 1487s # Running test: glib/mutex.test 1487s TAP version 13 1487s # random seed: R02S3fd9bd748387cd3d703f21c0333a81fe 1487s 1..17 1487s # Start of thread tests 1487s ok 1 /thread/mutex1 1487s ok 2 /thread/mutex2 1487s ok 3 /thread/mutex3 1487s ok 4 /thread/mutex4 1489s # Executing: glib/mutex.test 1494s # Executing: glib/mutex.test 1495s ok 5 /thread/mutex5 1495s # slow test /thread/mutex5 executed in 7.66 secs 1495s # Start of mutex tests 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1495s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1496s ok 6 /thread/mutex/errno 1496s # slow test /thread/mutex/errno executed in 0.97 secs 1496s # Start of perf tests 1496s # max perf: 1.000000 mips 1496s ok 7 /thread/mutex/perf/uncontended 1496s # Start of contended tests 1496s # max perf: 2.000000 mips 1496s ok 8 /thread/mutex/perf/contended/1 1496s # max perf: 1.500000 mips 1496s ok 9 /thread/mutex/perf/contended/2 1496s # max perf: 2.000000 mips 1496s ok 10 /thread/mutex/perf/contended/3 1496s # max perf: 2.500000 mips 1496s ok 11 /thread/mutex/perf/contended/4 1496s # max perf: 3.000000 mips 1496s ok 12 /thread/mutex/perf/contended/5 1496s # max perf: 7.000000 mips 1496s ok 13 /thread/mutex/perf/contended/6 1496s # max perf: 4.000000 mips 1496s ok 14 /thread/mutex/perf/contended/7 1496s # max perf: 1.500000 mips 1496s ok 15 /thread/mutex/perf/contended/8 1496s # max perf: 1.428571 mips 1496s ok 16 /thread/mutex/perf/contended/9 1496s # max perf: 0.018003 mips 1496s ok 17 /thread/mutex/perf/contended/10 1496s # End of contended tests 1496s # End of perf tests 1496s # End of mutex tests 1496s # End of thread tests 1496s ok - glib/mutex.test 1496s # Running test: glib/atomic-c-17.test 1496s TAP version 13 1496s # random seed: R02S998a74cbac445ef300b636a994214d1a 1496s 1..2 1496s # Start of atomic tests 1496s ok 1 /atomic/types 1496s ok 2 /atomic/threaded 1496s # End of atomic tests 1496s ok - glib/atomic-c-17.test 1496s # Running test: glib/credentials.test 1496s TAP version 13 1496s # random seed: R02Sed84e55818c84bf16d26c68108563496 1496s 1..1 1496s # Start of credentials tests 1496s # GCredentials:linux-ucred:pid=9673,uid=1000,gid=1000 1496s # GCredentials:linux-ucred:pid=9673,uid=0,gid=1000 1496s ok 1 /credentials/basic 1496s # End of credentials tests 1496s ok - glib/credentials.test 1496s # Running test: glib/signals-refcount2.test 1496s TAP version 13 1496s # random seed: R02S44fca6d3d82349127b2344c26c19f915 1496s 1..1 1496s # Start of gobject tests 1496s # Start of refcount tests 1496s # init 0x1179a50 1496s # 1496s # init 0x1179ba8 1496s # 1499s # Executing: glib/signals-refcount2.test 1501s # dispose 0x1179a50! 1501s # 1501s # dispose 0x1179ba8! 1501s # 1501s ok 1 /gobject/refcount/signals 1501s # slow test /gobject/refcount/signals executed in 5.01 secs 1501s # End of refcount tests 1501s # End of gobject tests 1501s ok - glib/signals-refcount2.test 1501s # Running test: glib/scannerapi.test 1501s TAP version 13 1501s # random seed: R02S5f9a05bf95cbfb5632ba133c9c9d51cf 1501s 1..4 1501s # Start of scanner tests 1501s ok 1 /scanner/warn 1501s ok 2 /scanner/error 1501s ok 3 /scanner/symbols 1501s ok 4 /scanner/tokens 1501s # End of scanner tests 1501s ok - glib/scannerapi.test 1501s # Running test: glib/spawn-test.test 1501s TAP version 13 1501s # random seed: R02Sc69aad54e58f1cde7d2694ec6563d16c 1501s 1..2 1501s # Start of spawn tests 1501s ok 1 /spawn/basics 1501s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1501s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1501s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1501s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1501s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1501s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1501s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1501s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1501s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1501s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1501s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1501s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1501s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1501s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1501s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1501s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1501s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1501s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1501s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1501s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1501s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1501s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1501s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1501s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1501s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1501s # Fetching GSpawn result with stdin open, stdout open, stderr open 1501s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1501s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1501s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1501s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1501s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1501s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1501s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1501s ok 2 /spawn/stdio-overwrite 1501s # End of spawn tests 1501s ok - glib/spawn-test.test 1501s # Running test: glib/async-splice-output-stream.test 1501s TAP version 13 1501s # random seed: R02Sbe657a6d9dfad92454b7c4d38dcecc96 1501s 1..5 1501s # Start of async-splice tests 1501s ok 1 /async-splice/copy-chunks 1501s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1501s ok 2 /async-splice/copy-chunks-threaded-input 1501s ok 3 /async-splice/copy-chunks-threaded-output 1501s ok 4 /async-splice/copy-chunks-threaded 1501s ok 5 /async-splice/cancelled 1501s # End of async-splice tests 1501s ok - glib/async-splice-output-stream.test 1501s # Running test: glib/642026.test 1501s TAP version 13 1501s # random seed: R02Sb2323281bdc5d3c416fc3b8dab5467a9 1501s 1..1 1501s # Start of glib tests 1501s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1502s ok 1 /glib/642026 1502s # slow test /glib/642026 executed in 0.73 secs 1502s # End of glib tests 1502s ok - glib/642026.test 1502s # Running test: glib/hostutils.test 1502s TAP version 13 1502s # random seed: R02S7d8c8c90a8ba6d4ffa667e0478d3c32d 1502s 1..3 1502s # Start of hostutils tests 1502s ok 1 /hostutils/to_ascii 1502s ok 2 /hostutils/to_unicode 1502s ok 3 /hostutils/is_ip_addr 1502s # End of hostutils tests 1502s ok - glib/hostutils.test 1502s # Running test: glib/tls-database.test 1502s TAP version 13 1502s # random seed: R02Sc7ef34a76ab356b4db386f6c3ba61b42 1502s 1..1 1502s # Start of tls-backend tests 1502s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1502s ok 1 /tls-backend/set-default-database 1502s # End of tls-backend tests 1502s ok - glib/tls-database.test 1502s # Running test: glib/timer.test 1502s TAP version 13 1502s # random seed: R02Scc37c0574845e0a69ca2dc0ad184f185 1502s 1..10 1502s # Start of timer tests 1502s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1502s ok 2 /timer/stop 1502s ok 3 /timer/continue 1502s ok 4 /timer/reset 1502s ok 5 /timer/is_active 1502s # End of timer tests 1502s # Start of timeval tests 1502s ok 6 /timeval/add 1502s ok 7 /timeval/from-iso8601 1502s ok 8 /timeval/to-iso8601 1502s # Start of to-iso8601 tests 1502s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 1502s # End of to-iso8601 tests 1502s # End of timeval tests 1502s # Start of usleep tests 1502s ok 10 /usleep/with-zero-wait 1502s # End of usleep tests 1502s ok - glib/timer.test 1502s # Running test: glib/tls-certificate.test 1502s TAP version 13 1502s # random seed: R02Sa1938dee523394103107841d8fdba322 1502s 1..19 1502s # Start of tls-certificate tests 1502s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1502s ok 1 /tls-certificate/pem-parser 1502s ok 2 /tls-certificate/pem-parser-handles-chain 1502s ok 3 /tls-certificate/from_file 1502s ok 4 /tls-certificate/from_files 1502s ok 5 /tls-certificate/from_files_crlf 1502s ok 6 /tls-certificate/from_files_pkcs8 1502s ok 7 /tls-certificate/from_files_pkcs8enc 1502s ok 8 /tls-certificate/list_from_file 1502s ok 9 /tls-certificate/pkcs11-uri 1502s ok 10 /tls-certificate/pkcs11-uri-unsupported 1502s ok 11 /tls-certificate/from_pkcs12 1502s ok 12 /tls-certificate/from_pkcs12_file 1502s ok 13 /tls-certificate/not-valid-before 1502s ok 14 /tls-certificate/not-valid-after 1502s ok 15 /tls-certificate/subject-name 1502s ok 16 /tls-certificate/issuer-name 1502s ok 17 /tls-certificate/dns-names 1502s ok 18 /tls-certificate/ip-addresses 1502s ok 19 /tls-certificate/pem-parser-no-sentinel 1502s # End of tls-certificate tests 1502s ok - glib/tls-certificate.test 1502s # Running test: glib/defaultvalue.test 1502s TAP version 13 1502s # random seed: R02S457ab5bb435cbfb23d77f6f0bf8f6c52 1502s 1..84 1502s # Start of Default Values tests 1502s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1502s ok 2 /Default Values/GAppLaunchContext 1502s ok 3 /Default Values/GApplicationCommandLine 1502s # skipping GApplication:is-remote 1502s ok 4 /Default Values/GApplication 1502s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1502s ok 6 /Default Values/GBindingGroup 1502s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1502s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1502s ok 9 /Default Values/GBytesIcon 1502s ok 10 /Default Values/GCancellable 1502s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1502s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1502s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1502s ok 14 /Default Values/GCredentials 1502s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1502s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1502s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1502s ok 18 /Default Values/GDBusAuthObserver 1502s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1502s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1502s ok 21 /Default Values/GDBusMessage 1502s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1502s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1502s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1502s ok 25 /Default Values/GDBusObjectProxy 1502s ok 26 /Default Values/GDBusObjectSkeleton 1502s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1502s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1502s ok 29 /Default Values/GEmblem 1502s ok 30 /Default Values/GEmblemedIcon 1502s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1502s ok 32 /Default Values/GFileInfo 1502s ok 33 /Default Values/GFileInputStream 1502s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1502s ok 35 /Default Values/GFileOutputStream 1502s ok 36 /Default Values/GFilenameCompleter 1502s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1502s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1502s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1502s ok 40 /Default Values/GInitiallyUnowned 1502s ok 41 /Default Values/GIOModule 1502s ok 42 /Default Values/GListStore 1502s ok 43 /Default Values/GMemoryInputStream 1502s ok 44 /Default Values/GMemoryOutputStream 1502s ok 45 /Default Values/GMenu 1502s ok 46 /Default Values/GMenuItem 1502s ok 47 /Default Values/GMountOperation 1502s ok 48 /Default Values/GNativeSocketAddress 1502s ok 49 /Default Values/GNetworkAddress 1502s ok 50 /Default Values/GNetworkService 1502s ok 51 /Default Values/GNotification 1502s ok 52 /Default Values/GObject 1502s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1502s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1502s # skipping GProxyAddressEnumerator:proxy-resolver 1502s ok 54 /Default Values/GProxyAddressEnumerator 1502s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1502s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1502s ok 57 /Default Values/GSignalGroup 1502s ok 58 /Default Values/GSimpleAction 1502s ok 59 /Default Values/GSimpleActionGroup 1502s ok 60 /Default Values/GSimpleAsyncResult 1502s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1502s ok 62 /Default Values/GSimplePermission 1502s ok 63 /Default Values/GSimpleProxyResolver 1502s # skipping GSocketClient:proxy-resolver 1502s ok 64 /Default Values/GSocketClient 1502s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1502s ok 66 /Default Values/GSocket # SKIP initialization failed 1502s ok 67 /Default Values/GSocketListener 1502s ok 68 /Default Values/GSocketService 1502s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1502s ok 70 /Default Values/GSubprocessLauncher 1502s # GLib-GIO-DEBUG: GTask 0xa0b010 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1502s ok 71 /Default Values/GTask 1502s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1502s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1502s ok 74 /Default Values/GTestDBus 1502s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1502s ok 76 /Default Values/GThreadedSocketService 1502s ok 77 /Default Values/GTlsInteraction 1502s ok 78 /Default Values/GTlsPassword 1502s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1502s ok 80 /Default Values/GUnixFDList 1502s ok 81 /Default Values/GVfs 1502s ok 82 /Default Values/GVolumeMonitor 1502s ok 83 /Default Values/GZlibCompressor 1502s ok 84 /Default Values/GZlibDecompressor 1502s # End of Default Values tests 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1502s ok - glib/defaultvalue.test 1502s # Running test: glib/signalgroup.test 1502s TAP version 13 1502s # random seed: R02Sf17a9022de49b748760c06f5d13e55bd 1502s 1..9 1502s # Start of GObject tests 1502s # Start of SignalGroup tests 1502s ok 1 /GObject/SignalGroup/invalid 1502s ok 2 /GObject/SignalGroup/simple 1502s ok 3 /GObject/SignalGroup/changing-target 1502s ok 4 /GObject/SignalGroup/blocking 1502s ok 5 /GObject/SignalGroup/weak-ref-target 1502s ok 6 /GObject/SignalGroup/connect-object 1502s ok 7 /GObject/SignalGroup/signal-parsing 1502s ok 8 /GObject/SignalGroup/properties 1502s ok 9 /GObject/SignalGroup/interface 1502s # Start of signal-parsing tests 1502s # End of signal-parsing tests 1502s # End of SignalGroup tests 1502s # End of GObject tests 1502s ok - glib/signalgroup.test 1502s # Running test: glib/cxx-11.test 1502s TAP version 13 1502s # random seed: R02S2d30f52c3bb02e545fe319fe0f742efb 1502s 1..2 1502s # Start of gtask tests 1502s # 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. 1502s ok 1 /gtask/name 1502s # Start of name tests 1502s # 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. 1502s ok 2 /gtask/name/macro-wrapper 1502s # End of name tests 1502s # End of gtask tests 1502s ok - glib/cxx-11.test 1502s # Running test: glib/regex.test 1502s TAP version 13 1502s # random seed: R02S79ce515355537449c40e5423ec5ce64d 1502s 1..848 1502s # Start of regex tests 1502s ok 1 /regex/properties 1502s ok 2 /regex/class 1502s ok 3 /regex/lookahead 1502s ok 4 /regex/lookbehind 1502s ok 5 /regex/subpattern 1502s ok 6 /regex/condition 1502s ok 7 /regex/recursion 1502s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1502s ok 8 /regex/multiline 1502s ok 9 /regex/explicit-crlf 1502s ok 10 /regex/max-lookbehind 1502s ok 11 /regex/compile-errors 1502s ok 12 /regex/jit-unsupported-matching 1502s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1502s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1502s ok 13 /regex/unmatched-named-subpattern 1502s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1502s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1502s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1503s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1503s ok 14 /regex/compiled-regex-after-jit-failure 1503s # Start of new tests 1503s ok 15 /regex/new/1 1503s ok 16 /regex/new/2 1503s ok 17 /regex/new/3 1503s ok 18 /regex/new/4 1503s ok 19 /regex/new/5 1503s ok 20 /regex/new/6 1503s ok 21 /regex/new/7 1503s ok 22 /regex/new/8 1503s ok 23 /regex/new/9 1503s ok 24 /regex/new/10 1503s ok 25 /regex/new/11 1503s ok 26 /regex/new/12 1503s ok 27 /regex/new/13 1503s ok 28 /regex/new/14 1503s ok 29 /regex/new/15 1503s ok 30 /regex/new/16 1503s ok 31 /regex/new/17 1503s ok 32 /regex/new/18 1503s ok 33 /regex/new/19 1503s ok 34 /regex/new/71 1503s ok 35 /regex/new/80 1503s ok 36 /regex/new/82 1503s # End of new tests 1503s # Start of new-check-flags tests 1503s ok 37 /regex/new-check-flags/20 1503s ok 38 /regex/new-check-flags/21 1503s ok 39 /regex/new-check-flags/22 1503s ok 40 /regex/new-check-flags/23 1503s ok 41 /regex/new-check-flags/24 1503s ok 42 /regex/new-check-flags/25 1503s ok 43 /regex/new-check-flags/26 1503s ok 44 /regex/new-check-flags/27 1503s ok 45 /regex/new-check-flags/28 1503s ok 46 /regex/new-check-flags/29 1503s ok 47 /regex/new-check-flags/30 1503s ok 48 /regex/new-check-flags/31 1503s ok 49 /regex/new-check-flags/32 1503s ok 50 /regex/new-check-flags/33 1503s ok 51 /regex/new-check-flags/34 1503s ok 52 /regex/new-check-flags/35 1503s ok 53 /regex/new-check-flags/36 1503s # End of new-check-flags tests 1503s # Start of new-fail tests 1503s ok 54 /regex/new-fail/37 1503s ok 55 /regex/new-fail/38 1503s ok 56 /regex/new-fail/39 1503s ok 57 /regex/new-fail/40 1503s ok 58 /regex/new-fail/41 1503s ok 59 /regex/new-fail/42 1503s ok 60 /regex/new-fail/43 1503s ok 61 /regex/new-fail/44 1503s ok 62 /regex/new-fail/45 1503s ok 63 /regex/new-fail/46 1503s ok 64 /regex/new-fail/47 1503s ok 65 /regex/new-fail/48 1503s ok 66 /regex/new-fail/49 1503s ok 67 /regex/new-fail/50 1503s ok 68 /regex/new-fail/51 1503s ok 69 /regex/new-fail/52 1503s ok 70 /regex/new-fail/53 1503s ok 71 /regex/new-fail/54 1503s ok 72 /regex/new-fail/55 1503s ok 73 /regex/new-fail/56 1503s ok 74 /regex/new-fail/57 1503s ok 75 /regex/new-fail/58 1503s ok 76 /regex/new-fail/59 1503s ok 77 /regex/new-fail/60 1503s ok 78 /regex/new-fail/61 1503s ok 79 /regex/new-fail/62 1503s ok 80 /regex/new-fail/63 1503s ok 81 /regex/new-fail/64 1503s ok 82 /regex/new-fail/65 1503s ok 83 /regex/new-fail/66 1503s ok 84 /regex/new-fail/67 1503s ok 85 /regex/new-fail/68 1503s ok 86 /regex/new-fail/69 1503s ok 87 /regex/new-fail/70 1503s ok 88 /regex/new-fail/72 1503s ok 89 /regex/new-fail/73 1503s ok 90 /regex/new-fail/74 1503s ok 91 /regex/new-fail/75 1503s ok 92 /regex/new-fail/76 1503s ok 93 /regex/new-fail/77 1503s ok 94 /regex/new-fail/78 1503s ok 95 /regex/new-fail/79 1503s ok 96 /regex/new-fail/81 1503s ok 97 /regex/new-fail/83 1503s ok 98 /regex/new-fail/84 1503s ok 99 /regex/new-fail/85 1503s ok 100 /regex/new-fail/86 1503s ok 101 /regex/new-fail/87 1503s ok 102 /regex/new-fail/88 1503s ok 103 /regex/new-fail/89 1503s ok 104 /regex/new-fail/90 1503s ok 105 /regex/new-fail/91 1503s # End of new-fail tests 1503s # Start of match-simple tests 1503s ok 106 /regex/match-simple/92 1503s ok 107 /regex/match-simple/93 1503s ok 108 /regex/match-simple/94 1503s ok 109 /regex/match-simple/95 1503s ok 110 /regex/match-simple/96 1503s ok 111 /regex/match-simple/97 1503s ok 112 /regex/match-simple/98 1503s ok 113 /regex/match-simple/99 1503s ok 114 /regex/match-simple/100 1503s ok 115 /regex/match-simple/101 1503s ok 116 /regex/match-simple/102 1503s ok 117 /regex/match-simple/103 1503s ok 118 /regex/match-simple/104 1503s ok 119 /regex/match-simple/105 1503s ok 120 /regex/match-simple/106 1503s ok 121 /regex/match-simple/107 1503s ok 122 /regex/match-simple/108 1503s ok 123 /regex/match-simple/109 1503s ok 124 /regex/match-simple/110 1503s ok 125 /regex/match-simple/111 1503s ok 126 /regex/match-simple/112 1503s ok 127 /regex/match-simple/113 1503s ok 128 /regex/match-simple/114 1503s ok 129 /regex/match-simple/115 1503s ok 130 /regex/match-simple/116 1503s ok 131 /regex/match-simple/117 1503s ok 132 /regex/match-simple/118 1503s ok 133 /regex/match-simple/119 1503s ok 134 /regex/match-simple/120 1503s ok 135 /regex/match-simple/121 1503s ok 136 /regex/match-simple/122 1503s ok 137 /regex/match-simple/123 1503s ok 138 /regex/match-simple/124 1503s ok 139 /regex/match-simple/125 1503s ok 140 /regex/match-simple/126 1503s ok 141 /regex/match-simple/127 1503s ok 142 /regex/match-simple/128 1503s ok 143 /regex/match-simple/129 1503s ok 144 /regex/match-simple/130 1503s ok 145 /regex/match-simple/131 1503s ok 146 /regex/match-simple/132 1503s ok 147 /regex/match-simple/133 1503s ok 148 /regex/match-simple/134 1503s ok 149 /regex/match-simple/135 1503s ok 150 /regex/match-simple/136 1503s ok 151 /regex/match-simple/137 1503s ok 152 /regex/match-simple/138 1503s ok 153 /regex/match-simple/139 1503s ok 154 /regex/match-simple/140 1503s ok 155 /regex/match-simple/141 1503s ok 156 /regex/match-simple/142 1503s ok 157 /regex/match-simple/143 1503s ok 158 /regex/match-simple/144 1503s ok 159 /regex/match-simple/145 1503s ok 160 /regex/match-simple/146 1503s ok 161 /regex/match-simple/147 1503s ok 162 /regex/match-simple/148 1503s ok 163 /regex/match-simple/149 1503s ok 164 /regex/match-simple/150 1503s ok 165 /regex/match-simple/151 1503s ok 166 /regex/match-simple/152 1503s ok 167 /regex/match-simple/153 1503s ok 168 /regex/match-simple/154 1503s ok 169 /regex/match-simple/155 1503s ok 170 /regex/match-simple/156 1503s ok 171 /regex/match-simple/157 1503s ok 172 /regex/match-simple/158 1503s ok 173 /regex/match-simple/159 1503s ok 174 /regex/match-simple/160 1503s ok 175 /regex/match-simple/161 1503s ok 176 /regex/match-simple/162 1503s ok 177 /regex/match-simple/163 1503s ok 178 /regex/match-simple/164 1503s # End of match-simple tests 1503s # Start of match-simple-optimized tests 1503s ok 179 /regex/match-simple-optimized/92 1503s ok 180 /regex/match-simple-optimized/93 1503s ok 181 /regex/match-simple-optimized/94 1503s ok 182 /regex/match-simple-optimized/95 1503s ok 183 /regex/match-simple-optimized/96 1503s ok 184 /regex/match-simple-optimized/97 1503s ok 185 /regex/match-simple-optimized/98 1503s ok 186 /regex/match-simple-optimized/99 1503s ok 187 /regex/match-simple-optimized/100 1503s ok 188 /regex/match-simple-optimized/101 1503s ok 189 /regex/match-simple-optimized/102 1503s ok 190 /regex/match-simple-optimized/103 1503s ok 191 /regex/match-simple-optimized/104 1503s ok 192 /regex/match-simple-optimized/105 1503s ok 193 /regex/match-simple-optimized/106 1503s ok 194 /regex/match-simple-optimized/107 1503s ok 195 /regex/match-simple-optimized/108 1503s ok 196 /regex/match-simple-optimized/109 1503s ok 197 /regex/match-simple-optimized/110 1503s ok 198 /regex/match-simple-optimized/111 1503s ok 199 /regex/match-simple-optimized/112 1503s ok 200 /regex/match-simple-optimized/113 1503s ok 201 /regex/match-simple-optimized/114 1503s ok 202 /regex/match-simple-optimized/115 1503s ok 203 /regex/match-simple-optimized/116 1503s ok 204 /regex/match-simple-optimized/117 1503s ok 205 /regex/match-simple-optimized/118 1503s ok 206 /regex/match-simple-optimized/119 1503s ok 207 /regex/match-simple-optimized/120 1503s ok 208 /regex/match-simple-optimized/121 1503s ok 209 /regex/match-simple-optimized/122 1503s ok 210 /regex/match-simple-optimized/123 1503s ok 211 /regex/match-simple-optimized/124 1503s ok 212 /regex/match-simple-optimized/125 1503s ok 213 /regex/match-simple-optimized/126 1503s ok 214 /regex/match-simple-optimized/127 1503s ok 215 /regex/match-simple-optimized/128 1503s ok 216 /regex/match-simple-optimized/129 1503s ok 217 /regex/match-simple-optimized/130 1503s ok 218 /regex/match-simple-optimized/131 1503s ok 219 /regex/match-simple-optimized/132 1503s ok 220 /regex/match-simple-optimized/133 1503s ok 221 /regex/match-simple-optimized/134 1503s ok 222 /regex/match-simple-optimized/135 1503s ok 223 /regex/match-simple-optimized/136 1503s ok 224 /regex/match-simple-optimized/137 1503s ok 225 /regex/match-simple-optimized/138 1503s ok 226 /regex/match-simple-optimized/139 1503s ok 227 /regex/match-simple-optimized/140 1503s ok 228 /regex/match-simple-optimized/141 1503s ok 229 /regex/match-simple-optimized/142 1503s ok 230 /regex/match-simple-optimized/143 1503s ok 231 /regex/match-simple-optimized/144 1503s ok 232 /regex/match-simple-optimized/145 1503s ok 233 /regex/match-simple-optimized/146 1503s ok 234 /regex/match-simple-optimized/147 1503s ok 235 /regex/match-simple-optimized/148 1503s ok 236 /regex/match-simple-optimized/149 1503s ok 237 /regex/match-simple-optimized/150 1503s ok 238 /regex/match-simple-optimized/151 1503s ok 239 /regex/match-simple-optimized/152 1503s ok 240 /regex/match-simple-optimized/153 1503s ok 241 /regex/match-simple-optimized/154 1503s ok 242 /regex/match-simple-optimized/155 1503s ok 243 /regex/match-simple-optimized/156 1503s ok 244 /regex/match-simple-optimized/157 1503s ok 245 /regex/match-simple-optimized/158 1503s ok 246 /regex/match-simple-optimized/159 1503s ok 247 /regex/match-simple-optimized/160 1503s ok 248 /regex/match-simple-optimized/161 1503s ok 249 /regex/match-simple-optimized/162 1503s ok 250 /regex/match-simple-optimized/163 1503s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1503s ok 251 /regex/match-simple-optimized/164 1503s # End of match-simple-optimized tests 1503s # Start of match tests 1503s ok 252 /regex/match/165 1503s ok 253 /regex/match/166 1503s ok 254 /regex/match/167 1503s ok 255 /regex/match/168 1503s ok 256 /regex/match/169 1503s ok 257 /regex/match/170 1503s ok 258 /regex/match/171 1503s ok 259 /regex/match/172 1503s ok 260 /regex/match/173 1503s ok 261 /regex/match/174 1503s ok 262 /regex/match/175 1503s ok 263 /regex/match/176 1503s ok 264 /regex/match/177 1503s ok 265 /regex/match/178 1503s ok 266 /regex/match/179 1503s ok 267 /regex/match/180 1503s ok 268 /regex/match/181 1503s ok 269 /regex/match/182 1503s ok 270 /regex/match/183 1503s ok 271 /regex/match/184 1503s ok 272 /regex/match/185 1503s ok 273 /regex/match/186 1503s ok 274 /regex/match/187 1503s ok 275 /regex/match/188 1503s ok 276 /regex/match/189 1503s ok 277 /regex/match/190 1503s ok 278 /regex/match/191 1503s ok 279 /regex/match/192 1503s ok 280 /regex/match/193 1503s ok 281 /regex/match/194 1503s ok 282 /regex/match/195 1503s ok 283 /regex/match/196 1503s ok 284 /regex/match/197 1503s ok 285 /regex/match/198 1503s ok 286 /regex/match/199 1503s ok 287 /regex/match/200 1503s ok 288 /regex/match/201 1503s ok 289 /regex/match/202 1503s ok 290 /regex/match/203 1503s ok 291 /regex/match/204 1503s ok 292 /regex/match/205 1503s ok 293 /regex/match/206 1503s ok 294 /regex/match/207 1503s ok 295 /regex/match/208 1503s ok 296 /regex/match/209 1503s ok 297 /regex/match/210 1503s ok 298 /regex/match/211 1503s ok 299 /regex/match/212 1503s ok 300 /regex/match/213 1503s ok 301 /regex/match/214 1503s ok 302 /regex/match/215 1503s ok 303 /regex/match/216 1503s ok 304 /regex/match/217 1503s ok 305 /regex/match/218 1503s ok 306 /regex/match/219 1503s ok 307 /regex/match/220 1503s ok 308 /regex/match/221 1503s ok 309 /regex/match/222 1503s ok 310 /regex/match/223 1503s ok 311 /regex/match/224 1503s ok 312 /regex/match/225 1503s ok 313 /regex/match/226 1503s ok 314 /regex/match/227 1503s ok 315 /regex/match/228 1503s ok 316 /regex/match/229 1503s ok 317 /regex/match/230 1503s ok 318 /regex/match/231 1503s ok 319 /regex/match/232 1503s ok 320 /regex/match/233 1503s ok 321 /regex/match/234 1503s ok 322 /regex/match/235 1503s ok 323 /regex/match/236 1503s ok 324 /regex/match/237 1503s ok 325 /regex/match/238 1503s ok 326 /regex/match/239 1503s ok 327 /regex/match/240 1503s ok 328 /regex/match/241 1503s ok 329 /regex/match/242 1503s ok 330 /regex/match/243 1503s ok 331 /regex/match/244 1503s ok 332 /regex/match/245 1503s ok 333 /regex/match/246 1503s ok 334 /regex/match/partial281 1503s ok 335 /regex/match/partial282 1503s ok 336 /regex/match/partial283 1503s ok 337 /regex/match/partial284 1503s ok 338 /regex/match/partial285 1503s ok 339 /regex/match/partial286 1503s ok 340 /regex/match/partial287 1503s ok 341 /regex/match/partial288 1503s ok 342 /regex/match/partial289 1503s ok 343 /regex/match/partial290 1503s ok 344 /regex/match/partial291 1503s ok 345 /regex/match/partial292 1503s ok 346 /regex/match/partial293 1503s ok 347 /regex/match/partial294 1503s ok 348 /regex/match/partial295 1503s ok 349 /regex/match/partial296 1503s ok 350 /regex/match/partial297 1503s ok 351 /regex/match/partial298 1503s ok 352 /regex/match/partial299 1503s ok 353 /regex/match/partial300 1503s ok 354 /regex/match/partial301 1503s ok 355 /regex/match/partial302 1503s # Start of next0 tests 1503s ok 356 /regex/match/next0/247 1503s ok 357 /regex/match/next0/248 1503s ok 358 /regex/match/next0/249 1503s ok 359 /regex/match/next0/250 1503s # End of next0 tests 1503s # Start of next1 tests 1503s ok 360 /regex/match/next1/251 1503s ok 361 /regex/match/next1/252 1503s ok 362 /regex/match/next1/253 1503s ok 363 /regex/match/next1/254 1503s ok 364 /regex/match/next1/255 1503s # End of next1 tests 1503s # Start of next2 tests 1503s ok 365 /regex/match/next2/256 1503s ok 366 /regex/match/next2/257 1503s ok 367 /regex/match/next2/258 1503s ok 368 /regex/match/next2/259 1503s ok 369 /regex/match/next2/260 1503s ok 370 /regex/match/next2/261 1503s ok 371 /regex/match/next2/262 1503s ok 372 /regex/match/next2/263 1503s # End of next2 tests 1503s # Start of next3 tests 1503s ok 373 /regex/match/next3/264 1503s ok 374 /regex/match/next3/265 1503s ok 375 /regex/match/next3/266 1503s ok 376 /regex/match/next3/267 1503s ok 377 /regex/match/next3/268 1503s ok 378 /regex/match/next3/269 1503s # End of next3 tests 1503s # Start of next4 tests 1503s ok 379 /regex/match/next4/270 1503s # End of next4 tests 1503s # Start of count tests 1503s ok 380 /regex/match/count/271 1503s ok 381 /regex/match/count/272 1503s ok 382 /regex/match/count/273 1503s ok 383 /regex/match/count/274 1503s ok 384 /regex/match/count/275 1503s ok 385 /regex/match/count/276 1503s ok 386 /regex/match/count/277 1503s ok 387 /regex/match/count/278 1503s ok 388 /regex/match/count/279 1503s ok 389 /regex/match/count/280 1503s # End of count tests 1503s # Start of count-optimized tests 1503s ok 390 /regex/match/count-optimized/271 1503s ok 391 /regex/match/count-optimized/272 1503s ok 392 /regex/match/count-optimized/273 1503s ok 393 /regex/match/count-optimized/274 1503s ok 394 /regex/match/count-optimized/275 1503s ok 395 /regex/match/count-optimized/276 1503s ok 396 /regex/match/count-optimized/277 1503s ok 397 /regex/match/count-optimized/278 1503s ok 398 /regex/match/count-optimized/279 1503s ok 399 /regex/match/count-optimized/280 1503s # End of count-optimized tests 1503s # Start of partial-optimized tests 1503s ok 400 /regex/match/partial-optimized/281 1503s ok 401 /regex/match/partial-optimized/282 1503s ok 402 /regex/match/partial-optimized/283 1503s ok 403 /regex/match/partial-optimized/284 1503s ok 404 /regex/match/partial-optimized/285 1503s ok 405 /regex/match/partial-optimized/286 1503s ok 406 /regex/match/partial-optimized/287 1503s ok 407 /regex/match/partial-optimized/288 1503s ok 408 /regex/match/partial-optimized/289 1503s ok 409 /regex/match/partial-optimized/290 1503s ok 410 /regex/match/partial-optimized/291 1503s ok 411 /regex/match/partial-optimized/292 1503s ok 412 /regex/match/partial-optimized/293 1503s ok 413 /regex/match/partial-optimized/294 1503s ok 414 /regex/match/partial-optimized/295 1503s ok 415 /regex/match/partial-optimized/296 1503s ok 416 /regex/match/partial-optimized/297 1503s ok 417 /regex/match/partial-optimized/298 1503s ok 418 /regex/match/partial-optimized/299 1503s ok 419 /regex/match/partial-optimized/300 1503s ok 420 /regex/match/partial-optimized/301 1503s ok 421 /regex/match/partial-optimized/302 1503s # End of partial-optimized tests 1503s # Start of subpattern tests 1503s ok 422 /regex/match/subpattern/303 1503s ok 423 /regex/match/subpattern/304 1503s ok 424 /regex/match/subpattern/305 1503s ok 425 /regex/match/subpattern/306 1503s ok 426 /regex/match/subpattern/307 1503s ok 427 /regex/match/subpattern/308 1503s ok 428 /regex/match/subpattern/309 1503s ok 429 /regex/match/subpattern/310 1503s ok 430 /regex/match/subpattern/311 1503s ok 431 /regex/match/subpattern/312 1503s ok 432 /regex/match/subpattern/313 1503s ok 433 /regex/match/subpattern/314 1503s ok 434 /regex/match/subpattern/315 1503s # Start of named tests 1503s # Start of dupnames tests 1503s ok 435 /regex/match/subpattern/named/dupnames/325 1503s ok 436 /regex/match/subpattern/named/dupnames/326 1503s ok 437 /regex/match/subpattern/named/dupnames/327 1503s ok 438 /regex/match/subpattern/named/dupnames/328 1503s ok 439 /regex/match/subpattern/named/dupnames/329 1503s # End of dupnames tests 1503s # End of named tests 1503s # End of subpattern tests 1503s # Start of subpattern-optimized tests 1503s ok 440 /regex/match/subpattern-optimized/303 1503s ok 441 /regex/match/subpattern-optimized/304 1503s ok 442 /regex/match/subpattern-optimized/305 1503s ok 443 /regex/match/subpattern-optimized/306 1503s ok 444 /regex/match/subpattern-optimized/307 1503s ok 445 /regex/match/subpattern-optimized/308 1503s ok 446 /regex/match/subpattern-optimized/309 1503s ok 447 /regex/match/subpattern-optimized/310 1503s ok 448 /regex/match/subpattern-optimized/311 1503s ok 449 /regex/match/subpattern-optimized/312 1503s ok 450 /regex/match/subpattern-optimized/313 1503s ok 451 /regex/match/subpattern-optimized/314 1503s ok 452 /regex/match/subpattern-optimized/315 1503s # End of subpattern-optimized tests 1503s # Start of named tests 1503s # Start of subpattern tests 1503s ok 453 /regex/match/named/subpattern/316 1503s ok 454 /regex/match/named/subpattern/317 1503s ok 455 /regex/match/named/subpattern/318 1503s ok 456 /regex/match/named/subpattern/319 1503s ok 457 /regex/match/named/subpattern/320 1503s ok 458 /regex/match/named/subpattern/321 1503s ok 459 /regex/match/named/subpattern/322 1503s ok 460 /regex/match/named/subpattern/323 1503s ok 461 /regex/match/named/subpattern/324 1503s ok 462 /regex/match/named/subpattern/330 1503s ok 463 /regex/match/named/subpattern/331 1503s ok 464 /regex/match/named/subpattern/332 1503s ok 465 /regex/match/named/subpattern/333 1503s ok 466 /regex/match/named/subpattern/334 1503s # End of subpattern tests 1503s # End of named tests 1503s # End of match tests 1503s # Start of match-optimized tests 1503s ok 467 /regex/match-optimized/165 1503s ok 468 /regex/match-optimized/166 1503s ok 469 /regex/match-optimized/167 1503s ok 470 /regex/match-optimized/168 1503s ok 471 /regex/match-optimized/169 1503s ok 472 /regex/match-optimized/170 1503s ok 473 /regex/match-optimized/171 1503s ok 474 /regex/match-optimized/172 1503s ok 475 /regex/match-optimized/173 1503s ok 476 /regex/match-optimized/174 1503s ok 477 /regex/match-optimized/175 1503s ok 478 /regex/match-optimized/176 1503s ok 479 /regex/match-optimized/177 1503s ok 480 /regex/match-optimized/178 1503s ok 481 /regex/match-optimized/179 1503s ok 482 /regex/match-optimized/180 1503s ok 483 /regex/match-optimized/181 1503s ok 484 /regex/match-optimized/182 1503s ok 485 /regex/match-optimized/183 1503s ok 486 /regex/match-optimized/184 1503s ok 487 /regex/match-optimized/185 1503s ok 488 /regex/match-optimized/186 1503s ok 489 /regex/match-optimized/187 1503s ok 490 /regex/match-optimized/188 1503s ok 491 /regex/match-optimized/189 1503s ok 492 /regex/match-optimized/190 1503s ok 493 /regex/match-optimized/191 1503s ok 494 /regex/match-optimized/192 1503s ok 495 /regex/match-optimized/193 1503s ok 496 /regex/match-optimized/194 1503s ok 497 /regex/match-optimized/195 1503s ok 498 /regex/match-optimized/196 1503s ok 499 /regex/match-optimized/197 1503s ok 500 /regex/match-optimized/198 1503s ok 501 /regex/match-optimized/199 1503s ok 502 /regex/match-optimized/200 1503s ok 503 /regex/match-optimized/201 1503s ok 504 /regex/match-optimized/202 1503s ok 505 /regex/match-optimized/203 1503s ok 506 /regex/match-optimized/204 1503s ok 507 /regex/match-optimized/205 1503s ok 508 /regex/match-optimized/206 1503s ok 509 /regex/match-optimized/207 1503s ok 510 /regex/match-optimized/208 1503s ok 511 /regex/match-optimized/209 1503s ok 512 /regex/match-optimized/210 1503s ok 513 /regex/match-optimized/211 1503s ok 514 /regex/match-optimized/212 1503s ok 515 /regex/match-optimized/213 1503s ok 516 /regex/match-optimized/214 1503s ok 517 /regex/match-optimized/215 1503s ok 518 /regex/match-optimized/216 1503s ok 519 /regex/match-optimized/217 1503s ok 520 /regex/match-optimized/218 1503s ok 521 /regex/match-optimized/219 1503s ok 522 /regex/match-optimized/220 1503s ok 523 /regex/match-optimized/221 1503s ok 524 /regex/match-optimized/222 1503s ok 525 /regex/match-optimized/223 1503s ok 526 /regex/match-optimized/224 1503s ok 527 /regex/match-optimized/225 1503s ok 528 /regex/match-optimized/226 1503s ok 529 /regex/match-optimized/227 1503s ok 530 /regex/match-optimized/228 1503s ok 531 /regex/match-optimized/229 1503s ok 532 /regex/match-optimized/230 1503s ok 533 /regex/match-optimized/231 1503s ok 534 /regex/match-optimized/232 1503s ok 535 /regex/match-optimized/233 1503s ok 536 /regex/match-optimized/234 1503s ok 537 /regex/match-optimized/235 1503s ok 538 /regex/match-optimized/236 1503s ok 539 /regex/match-optimized/237 1503s ok 540 /regex/match-optimized/238 1503s ok 541 /regex/match-optimized/239 1503s ok 542 /regex/match-optimized/240 1503s ok 543 /regex/match-optimized/241 1503s ok 544 /regex/match-optimized/242 1503s ok 545 /regex/match-optimized/243 1503s ok 546 /regex/match-optimized/244 1503s ok 547 /regex/match-optimized/245 1503s ok 548 /regex/match-optimized/246 1503s # End of match-optimized tests 1503s # Start of fetch-all0 tests 1503s ok 549 /regex/fetch-all0/335 1503s ok 550 /regex/fetch-all0/336 1503s # End of fetch-all0 tests 1503s # Start of fetch-all1 tests 1503s ok 551 /regex/fetch-all1/337 1503s ok 552 /regex/fetch-all1/338 1503s ok 553 /regex/fetch-all1/339 1503s # End of fetch-all1 tests 1503s # Start of fetch-all2 tests 1503s ok 554 /regex/fetch-all2/340 1503s ok 555 /regex/fetch-all2/341 1503s ok 556 /regex/fetch-all2/342 1503s # End of fetch-all2 tests 1503s # Start of fetch-all3 tests 1503s ok 557 /regex/fetch-all3/343 1503s ok 558 /regex/fetch-all3/344 1503s ok 559 /regex/fetch-all3/345 1503s ok 560 /regex/fetch-all3/346 1503s ok 561 /regex/fetch-all3/347 1503s # End of fetch-all3 tests 1503s # Start of split tests 1503s # Start of simple0 tests 1503s ok 562 /regex/split/simple0/348 1503s ok 563 /regex/split/simple0/349 1503s ok 564 /regex/split/simple0/364 1503s ok 565 /regex/split/simple0/365 1503s # End of simple0 tests 1503s # Start of simple1 tests 1503s ok 566 /regex/split/simple1/350 1503s ok 567 /regex/split/simple1/351 1503s # End of simple1 tests 1503s # Start of simple2 tests 1503s ok 568 /regex/split/simple2/352 1503s ok 569 /regex/split/simple2/358 1503s ok 570 /regex/split/simple2/360 1503s # End of simple2 tests 1503s # Start of simple3 tests 1503s ok 571 /regex/split/simple3/353 1503s ok 572 /regex/split/simple3/354 1503s ok 573 /regex/split/simple3/355 1503s ok 574 /regex/split/simple3/356 1503s ok 575 /regex/split/simple3/357 1503s ok 576 /regex/split/simple3/359 1503s ok 577 /regex/split/simple3/361 1503s ok 578 /regex/split/simple3/362 1503s ok 579 /regex/split/simple3/363 1503s # End of simple3 tests 1503s # End of split tests 1503s # Start of split0 tests 1503s ok 580 /regex/split0/366 1503s ok 581 /regex/split0/368 1503s # End of split0 tests 1503s # Start of full-split0 tests 1503s ok 582 /regex/full-split0/367 1503s ok 583 /regex/full-split0/369 1503s ok 584 /regex/full-split0/370 1503s ok 585 /regex/full-split0/371 1503s ok 586 /regex/full-split0/372 1503s # End of full-split0 tests 1503s # Start of split1 tests 1503s ok 587 /regex/split1/373 1503s ok 588 /regex/split1/376 1503s # End of split1 tests 1503s # Start of full-split1 tests 1503s ok 589 /regex/full-split1/374 1503s ok 590 /regex/full-split1/375 1503s ok 591 /regex/full-split1/377 1503s ok 592 /regex/full-split1/378 1503s ok 593 /regex/full-split1/404 1503s # End of full-split1 tests 1503s # Start of split2 tests 1503s ok 594 /regex/split2/379 1503s ok 595 /regex/split2/383 1503s ok 596 /regex/split2/395 1503s # End of split2 tests 1503s # Start of full-split2 tests 1503s ok 597 /regex/full-split2/380 1503s ok 598 /regex/full-split2/381 1503s ok 599 /regex/full-split2/382 1503s ok 600 /regex/full-split2/384 1503s ok 601 /regex/full-split2/396 1503s ok 602 /regex/full-split2/399 1503s ok 603 /regex/full-split2/405 1503s # End of full-split2 tests 1503s # Start of split3 tests 1503s ok 604 /regex/split3/385 1503s ok 605 /regex/split3/387 1503s ok 606 /regex/split3/389 1503s ok 607 /regex/split3/391 1503s ok 608 /regex/split3/393 1503s ok 609 /regex/split3/397 1503s ok 610 /regex/split3/400 1503s ok 611 /regex/split3/402 1503s # End of split3 tests 1503s # Start of full-split3 tests 1503s ok 612 /regex/full-split3/386 1503s ok 613 /regex/full-split3/388 1503s ok 614 /regex/full-split3/390 1503s ok 615 /regex/full-split3/392 1503s ok 616 /regex/full-split3/394 1503s ok 617 /regex/full-split3/398 1503s ok 618 /regex/full-split3/401 1503s ok 619 /regex/full-split3/403 1503s ok 620 /regex/full-split3/406 1503s ok 621 /regex/full-split3/407 1503s # End of full-split3 tests 1503s # Start of check-repacement tests 1503s ok 622 /regex/check-repacement/408 1503s ok 623 /regex/check-repacement/409 1503s ok 624 /regex/check-repacement/410 1503s ok 625 /regex/check-repacement/411 1503s ok 626 /regex/check-repacement/412 1503s ok 627 /regex/check-repacement/413 1503s ok 628 /regex/check-repacement/414 1503s ok 629 /regex/check-repacement/415 1503s # End of check-repacement tests 1503s # Start of expand tests 1503s ok 630 /regex/expand/416 1503s ok 631 /regex/expand/417 1503s ok 632 /regex/expand/418 1503s ok 633 /regex/expand/419 1503s ok 634 /regex/expand/420 1503s ok 635 /regex/expand/421 1503s ok 636 /regex/expand/422 1503s ok 637 /regex/expand/423 1503s ok 638 /regex/expand/424 1503s ok 639 /regex/expand/425 1503s ok 640 /regex/expand/426 1503s ok 641 /regex/expand/427 1503s ok 642 /regex/expand/428 1503s ok 643 /regex/expand/429 1503s ok 644 /regex/expand/430 1503s ok 645 /regex/expand/431 1503s ok 646 /regex/expand/432 1503s ok 647 /regex/expand/433 1503s ok 648 /regex/expand/434 1503s ok 649 /regex/expand/435 1503s ok 650 /regex/expand/436 1503s ok 651 /regex/expand/437 1503s ok 652 /regex/expand/438 1503s ok 653 /regex/expand/439 1503s ok 654 /regex/expand/440 1503s ok 655 /regex/expand/441 1503s ok 656 /regex/expand/442 1503s ok 657 /regex/expand/443 1503s ok 658 /regex/expand/444 1503s ok 659 /regex/expand/445 1503s ok 660 /regex/expand/446 1503s ok 661 /regex/expand/447 1503s ok 662 /regex/expand/448 1503s ok 663 /regex/expand/449 1503s ok 664 /regex/expand/450 1503s ok 665 /regex/expand/451 1503s ok 666 /regex/expand/452 1503s ok 667 /regex/expand/453 1503s ok 668 /regex/expand/454 1503s ok 669 /regex/expand/455 1503s ok 670 /regex/expand/456 1503s ok 671 /regex/expand/457 1503s ok 672 /regex/expand/458 1503s ok 673 /regex/expand/459 1503s ok 674 /regex/expand/460 1503s ok 675 /regex/expand/461 1503s ok 676 /regex/expand/462 1503s ok 677 /regex/expand/463 1503s ok 678 /regex/expand/464 1503s ok 679 /regex/expand/465 1503s ok 680 /regex/expand/466 1503s ok 681 /regex/expand/467 1503s ok 682 /regex/expand/468 1503s ok 683 /regex/expand/469 1503s ok 684 /regex/expand/470 1503s ok 685 /regex/expand/471 1503s ok 686 /regex/expand/472 1503s ok 687 /regex/expand/473 1503s ok 688 /regex/expand/474 1503s ok 689 /regex/expand/475 1503s ok 690 /regex/expand/476 1503s ok 691 /regex/expand/477 1503s ok 692 /regex/expand/478 1503s ok 693 /regex/expand/479 1503s ok 694 /regex/expand/480 1503s ok 695 /regex/expand/481 1503s # End of expand tests 1503s # Start of replace tests 1503s ok 696 /regex/replace/482 1503s ok 697 /regex/replace/483 1503s ok 698 /regex/replace/484 1503s ok 699 /regex/replace/485 1503s ok 700 /regex/replace/486 1503s ok 701 /regex/replace/487 1503s ok 702 /regex/replace/488 1503s ok 703 /regex/replace/489 1503s ok 704 /regex/replace/490 1503s ok 705 /regex/replace/491 1503s ok 706 /regex/replace/492 1503s ok 707 /regex/replace/493 1503s ok 708 /regex/replace/494 1503s ok 709 /regex/replace/495 1503s ok 710 /regex/replace/496 1503s ok 711 /regex/replace/497 1503s ok 712 /regex/replace/498 1503s ok 713 /regex/replace/499 1503s ok 714 /regex/replace/500 1503s ok 715 /regex/replace/501 1503s ok 716 /regex/replace/502 1503s ok 717 /regex/replace/503 1503s ok 718 /regex/replace/504 1503s ok 719 /regex/replace/505 1503s ok 720 /regex/replace/506 1503s ok 721 /regex/replace/507 1503s ok 722 /regex/replace/508 1503s ok 723 /regex/replace/509 1503s # End of replace tests 1503s # Start of replace-optimized tests 1503s ok 724 /regex/replace-optimized/482 1503s ok 725 /regex/replace-optimized/483 1503s ok 726 /regex/replace-optimized/484 1503s ok 727 /regex/replace-optimized/485 1503s ok 728 /regex/replace-optimized/486 1503s ok 729 /regex/replace-optimized/487 1503s ok 730 /regex/replace-optimized/488 1503s ok 731 /regex/replace-optimized/489 1503s ok 732 /regex/replace-optimized/490 1503s ok 733 /regex/replace-optimized/491 1503s ok 734 /regex/replace-optimized/492 1503s ok 735 /regex/replace-optimized/493 1503s ok 736 /regex/replace-optimized/494 1503s ok 737 /regex/replace-optimized/495 1503s ok 738 /regex/replace-optimized/496 1503s ok 739 /regex/replace-optimized/497 1503s ok 740 /regex/replace-optimized/498 1503s ok 741 /regex/replace-optimized/499 1503s ok 742 /regex/replace-optimized/500 1503s ok 743 /regex/replace-optimized/501 1503s ok 744 /regex/replace-optimized/502 1503s ok 745 /regex/replace-optimized/503 1503s ok 746 /regex/replace-optimized/504 1503s ok 747 /regex/replace-optimized/505 1503s ok 748 /regex/replace-optimized/506 1503s ok 749 /regex/replace-optimized/507 1503s ok 750 /regex/replace-optimized/508 1503s ok 751 /regex/replace-optimized/509 1503s # End of replace-optimized tests 1503s # Start of replace-literally tests 1503s ok 752 /regex/replace-literally/510 1503s ok 753 /regex/replace-literally/511 1503s ok 754 /regex/replace-literally/512 1503s ok 755 /regex/replace-literally/513 1503s ok 756 /regex/replace-literally/514 1503s ok 757 /regex/replace-literally/515 1503s ok 758 /regex/replace-literally/516 1503s ok 759 /regex/replace-literally/517 1503s ok 760 /regex/replace-literally/518 1503s ok 761 /regex/replace-literally/519 1503s ok 762 /regex/replace-literally/520 1503s ok 763 /regex/replace-literally/521 1503s ok 764 /regex/replace-literally/522 1503s ok 765 /regex/replace-literally/523 1503s ok 766 /regex/replace-literally/524 1503s ok 767 /regex/replace-literally/525 1503s ok 768 /regex/replace-literally/526 1503s ok 769 /regex/replace-literally/527 1503s ok 770 /regex/replace-literally/528 1503s ok 771 /regex/replace-literally/529 1503s # End of replace-literally tests 1503s # Start of string-number tests 1503s ok 772 /regex/string-number/530 1503s ok 773 /regex/string-number/531 1503s ok 774 /regex/string-number/532 1503s ok 775 /regex/string-number/533 1503s ok 776 /regex/string-number/534 1503s ok 777 /regex/string-number/535 1503s ok 778 /regex/string-number/536 1503s ok 779 /regex/string-number/537 1503s ok 780 /regex/string-number/538 1503s ok 781 /regex/string-number/539 1503s ok 782 /regex/string-number/540 1503s ok 783 /regex/string-number/541 1503s ok 784 /regex/string-number/542 1503s ok 785 /regex/string-number/543 1503s ok 786 /regex/string-number/544 1503s # End of string-number tests 1503s # Start of escape_nul tests 1503s ok 787 /regex/escape_nul/545 1503s ok 788 /regex/escape_nul/546 1503s ok 789 /regex/escape_nul/547 1503s ok 790 /regex/escape_nul/548 1503s ok 791 /regex/escape_nul/549 1503s ok 792 /regex/escape_nul/550 1503s ok 793 /regex/escape_nul/551 1503s ok 794 /regex/escape_nul/552 1503s ok 795 /regex/escape_nul/553 1503s ok 796 /regex/escape_nul/554 1503s ok 797 /regex/escape_nul/555 1503s ok 798 /regex/escape_nul/556 1503s ok 799 /regex/escape_nul/557 1503s ok 800 /regex/escape_nul/558 1503s ok 801 /regex/escape_nul/559 1503s # End of escape_nul tests 1503s # Start of escape tests 1503s ok 802 /regex/escape/560 1503s ok 803 /regex/escape/561 1503s ok 804 /regex/escape/562 1503s ok 805 /regex/escape/563 1503s ok 806 /regex/escape/564 1503s ok 807 /regex/escape/565 1503s ok 808 /regex/escape/566 1503s ok 809 /regex/escape/567 1503s ok 810 /regex/escape/568 1503s ok 811 /regex/escape/569 1503s ok 812 /regex/escape/570 1503s ok 813 /regex/escape/571 1503s ok 814 /regex/escape/572 1503s ok 815 /regex/escape/573 1503s ok 816 /regex/escape/574 1503s ok 817 /regex/escape/575 1503s ok 818 /regex/escape/576 1503s ok 819 /regex/escape/577 1503s # End of escape tests 1503s # Start of match-all0 tests 1503s ok 820 /regex/match-all0/578 1503s ok 821 /regex/match-all0/580 1503s # End of match-all0 tests 1503s # Start of match-all-full0 tests 1503s ok 822 /regex/match-all-full0/579 1503s ok 823 /regex/match-all-full0/581 1503s ok 824 /regex/match-all-full0/582 1503s ok 825 /regex/match-all-full0/583 1503s # End of match-all-full0 tests 1503s # Start of match-all1 tests 1503s ok 826 /regex/match-all1/584 1503s ok 827 /regex/match-all1/586 1503s ok 828 /regex/match-all1/591 1503s # End of match-all1 tests 1503s # Start of match-all-full1 tests 1503s ok 829 /regex/match-all-full1/585 1503s ok 830 /regex/match-all-full1/587 1503s ok 831 /regex/match-all-full1/588 1503s ok 832 /regex/match-all-full1/589 1503s ok 833 /regex/match-all-full1/590 1503s ok 834 /regex/match-all-full1/592 1503s # End of match-all-full1 tests 1503s # Start of match-all2 tests 1503s ok 835 /regex/match-all2/593 1503s ok 836 /regex/match-all2/595 1503s ok 837 /regex/match-all2/597 1503s # End of match-all2 tests 1503s # Start of match-all-full2 tests 1503s ok 838 /regex/match-all-full2/594 1503s ok 839 /regex/match-all-full2/596 1503s ok 840 /regex/match-all-full2/598 1503s # End of match-all-full2 tests 1503s # Start of match-all3 tests 1503s ok 841 /regex/match-all3/599 1503s ok 842 /regex/match-all3/601 1503s # End of match-all3 tests 1503s # Start of match-all-full3 tests 1503s ok 843 /regex/match-all-full3/600 1503s ok 844 /regex/match-all-full3/602 1503s # End of match-all-full3 tests 1503s # Start of match-notempty tests 1503s ok 845 /regex/match-notempty/603 1503s # End of match-notempty tests 1503s # Start of match-notempty-optimized tests 1503s ok 846 /regex/match-notempty-optimized/603 1503s # End of match-notempty-optimized tests 1503s # Start of match-notempty-atstart tests 1503s ok 847 /regex/match-notempty-atstart/604 1503s # End of match-notempty-atstart tests 1503s # Start of match-notempty-atstart-optimized tests 1503s ok 848 /regex/match-notempty-atstart-optimized/604 1503s # End of match-notempty-atstart-optimized tests 1503s # End of regex tests 1503s ok - glib/regex.test 1503s # Running test: glib/mappedfile.test 1503s TAP version 13 1503s # random seed: R02S4ffadc800eec5be158d007d315d5aee3 1503s 1..7 1503s # Start of mappedfile tests 1503s ok 1 /mappedfile/basic 1503s ok 2 /mappedfile/empty 1503s ok 3 /mappedfile/device 1503s ok 4 /mappedfile/nonexisting 1503s ok 5 /mappedfile/writable 1503s ok 6 /mappedfile/writable_fd 1503s ok 7 /mappedfile/gbytes 1503s # End of mappedfile tests 1503s ok - glib/mappedfile.test 1503s # Running test: glib/io-channel-basic.test 1503s TAP version 13 1503s # random seed: R02Seb11c484a1032eca991e4b5d76aa0153 1503s 1..1 1503s # Start of gio tests 1503s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1503s # # random seed: R02S353c71230ca5f0336fdfea10e498505e 1503s # # GLib-DEBUG: io-channel-basic: child writing 8+4206 bytes to 6 1503s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1503s # GLib-DEBUG: io-channel-basic: ...from 5: 4206 bytes 1503s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1504s # # GLib-DEBUG: io-channel-basic: child writing 8+2378 bytes to 6 1504s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1504s # GLib-DEBUG: io-channel-basic: ...from 5: 2378 bytes 1504s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1504s # Executing: glib/io-channel-basic.test 1504s # # GLib-DEBUG: io-channel-basic: child writing 8+1643 bytes to 6 1504s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1504s # GLib-DEBUG: io-channel-basic: ...from 5: 1643 bytes 1504s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1504s # # GLib-DEBUG: io-channel-basic: child writing 8+471 bytes to 6 1504s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1504s # GLib-DEBUG: io-channel-basic: ...from 5: 471 bytes 1504s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1504s # # GLib-DEBUG: io-channel-basic: child writing 8+2804 bytes to 6 1504s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1504s # GLib-DEBUG: io-channel-basic: ...from 5: 2804 bytes 1504s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1505s # # GLib-DEBUG: io-channel-basic: child writing 8+888 bytes to 6 1505s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1505s # GLib-DEBUG: io-channel-basic: ...from 5: 888 bytes 1505s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1505s # # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 6 1505s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1505s # GLib-DEBUG: io-channel-basic: ...from 5: 1774 bytes 1505s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1505s # # GLib-DEBUG: io-channel-basic: child writing 8+2751 bytes to 6 1505s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1505s # GLib-DEBUG: io-channel-basic: ...from 5: 2751 bytes 1505s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1505s # # GLib-DEBUG: io-channel-basic: child writing 8+3200 bytes to 6 1505s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1505s # GLib-DEBUG: io-channel-basic: ...from 5: 3200 bytes 1505s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1506s # # GLib-DEBUG: io-channel-basic: child writing 8+4414 bytes to 6 1506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1506s # GLib-DEBUG: io-channel-basic: ...from 5: 4414 bytes 1506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1506s # # GLib-DEBUG: io-channel-basic: child writing 8+4596 bytes to 6 1506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1506s # GLib-DEBUG: io-channel-basic: ...from 5: 4596 bytes 1506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1506s # # GLib-DEBUG: io-channel-basic: child writing 8+939 bytes to 6 1506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1506s # GLib-DEBUG: io-channel-basic: ...from 5: 939 bytes 1506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1507s # # GLib-DEBUG: io-channel-basic: child writing 8+3691 bytes to 6 1507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1507s # GLib-DEBUG: io-channel-basic: ...from 5: 3691 bytes 1507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1507s # # GLib-DEBUG: io-channel-basic: child writing 8+3018 bytes to 6 1507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1507s # GLib-DEBUG: io-channel-basic: ...from 5: 3018 bytes 1507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1507s # # GLib-DEBUG: io-channel-basic: child writing 8+869 bytes to 6 1507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1507s # GLib-DEBUG: io-channel-basic: ...from 5: 869 bytes 1507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1507s # # GLib-DEBUG: io-channel-basic: child writing 8+1552 bytes to 6 1507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1507s # GLib-DEBUG: io-channel-basic: ...from 5: 1552 bytes 1507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # # GLib-DEBUG: io-channel-basic: child writing 8+2830 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 2830 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # # GLib-DEBUG: io-channel-basic: child writing 8+3057 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 3057 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # # GLib-DEBUG: io-channel-basic: child writing 8+2479 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 2479 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1508s # # GLib-DEBUG: io-channel-basic: child writing 8+1354 bytes to 6 1508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1508s # GLib-DEBUG: io-channel-basic: ...from 5: 1354 bytes 1508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+660 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 660 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # Executing: glib/io-channel-basic.test 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+3070 bytes to 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 3070 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+928 bytes to 6 1509s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 5: 928 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1509s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 1509s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1509s # # random seed: R02S5fedff4ab782e059b4074e6a9cc79a38 1509s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1509s # # random seed: R02S1bfc4fd243b01015420e7ec4c1e0880f 1509s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1509s # # random seed: R02Sc97c9ce6a5170bc6cb697497cbee0779 1509s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1509s # # random seed: R02Sc553b0d19957ebb62c112d008e4ba077 1509s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1509s # # random seed: R02S897922a1550b2ab1dbd2b0614cbf22ab 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+4561 bytes to 11 1509s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 10: 4561 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+2144 bytes to 17 1509s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 16: 2144 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1509s # # GLib-DEBUG: io-channel-basic: child writing 8+4334 bytes to 15 1509s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1509s # GLib-DEBUG: io-channel-basic: ...from 14: 4334 bytes 1509s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+4811 bytes to 9 1510s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 8: 4811 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+4354 bytes to 13 1510s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 12: 4354 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+3407 bytes to 17 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+254 bytes to 15 1510s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 14: 254 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1510s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 16: 3407 bytes 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1211 bytes to 9 1510s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1510s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 8: 1211 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1694 bytes to 11 1510s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 10: 1694 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+4150 bytes to 13 1510s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 12: 4150 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1397 bytes to 17 1510s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 16: 1397 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1168 bytes to 9 1510s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 8: 1168 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+2486 bytes to 11 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+2999 bytes to 15 1510s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 10: 2486 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1510s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 14: 2999 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+4067 bytes to 13 1510s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 12: 4067 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1013 bytes to 9 1510s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 8: 1013 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 17 1510s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 16: 2171 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+4766 bytes to 13 1510s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 12: 4766 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+459 bytes to 15 1510s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 14: 459 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1510s # # GLib-DEBUG: io-channel-basic: child writing 8+1078 bytes to 11 1510s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1510s # GLib-DEBUG: io-channel-basic: ...from 10: 1078 bytes 1510s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+3875 bytes to 9 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+3710 bytes to 17 1511s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 8: 3875 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1511s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 16: 3710 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+1975 bytes to 13 1511s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 12: 1975 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+3268 bytes to 15 1511s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 14: 3268 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+2868 bytes to 11 1511s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 10: 2868 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+3972 bytes to 9 1511s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 8: 3972 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+4491 bytes to 17 1511s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 16: 4491 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+2333 bytes to 15 1511s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 14: 2333 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+4800 bytes to 13 1511s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 12: 4800 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+4857 bytes to 11 1511s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 10: 4857 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+2000 bytes to 9 1511s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 8: 2000 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+852 bytes to 17 1511s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 16: 852 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+2917 bytes to 15 1511s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 14: 2917 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+1243 bytes to 13 1511s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 12: 1243 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+1496 bytes to 11 1511s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 10: 1496 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+1875 bytes to 9 1511s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 8: 1875 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 17 1511s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 16: 2524 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+915 bytes to 15 1511s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 14: 915 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+4645 bytes to 13 1511s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 12: 4645 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1511s # # GLib-DEBUG: io-channel-basic: child writing 8+4507 bytes to 11 1511s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1511s # GLib-DEBUG: io-channel-basic: ...from 10: 4507 bytes 1511s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3110 bytes to 9 1512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 8: 3110 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+522 bytes to 17 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+162 bytes to 15 1512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 14: 162 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 16: 522 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3353 bytes to 13 1512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 12: 3353 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+4976 bytes to 11 1512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 10: 4976 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+1871 bytes to 9 1512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 8: 1871 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+2209 bytes to 15 1512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 14: 2209 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3213 bytes to 17 1512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 16: 3213 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3866 bytes to 13 1512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 12: 3866 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+1641 bytes to 11 1512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 10: 1641 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+2410 bytes to 9 1512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 8: 2410 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+4412 bytes to 15 1512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 14: 4412 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+974 bytes to 17 1512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 16: 974 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+4157 bytes to 13 1512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 12: 4157 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+2174 bytes to 11 1512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 10: 2174 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+1366 bytes to 9 1512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 8: 1366 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3963 bytes to 15 1512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 14: 3963 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+3635 bytes to 17 1512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 16: 3635 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+1593 bytes to 13 1512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 12: 1593 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1512s # # GLib-DEBUG: io-channel-basic: child writing 8+2929 bytes to 11 1512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1512s # GLib-DEBUG: io-channel-basic: ...from 10: 2929 bytes 1512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+2140 bytes to 9 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+1493 bytes to 15 1513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 8: 2140 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 14: 1493 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+2316 bytes to 17 1513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 16: 2316 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+3330 bytes to 13 1513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 12: 3330 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+3202 bytes to 11 1513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 10: 3202 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+1852 bytes to 9 1513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 8: 1852 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+4650 bytes to 15 1513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 14: 4650 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+32 bytes to 17 1513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 16: 32 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+242 bytes to 13 1513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 12: 242 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+3530 bytes to 11 1513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 10: 3530 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+1633 bytes to 9 1513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 8: 1633 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+39 bytes to 15 1513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 14: 39 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+4262 bytes to 17 1513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 16: 4262 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+2258 bytes to 13 1513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 12: 2258 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+3280 bytes to 11 1513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 10: 3280 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+4678 bytes to 9 1513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 8: 4678 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+4686 bytes to 17 1513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 16: 4686 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1513s # # GLib-DEBUG: io-channel-basic: child writing 8+2373 bytes to 15 1513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1513s # GLib-DEBUG: io-channel-basic: ...from 14: 2373 bytes 1513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+517 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 517 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+2294 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 2294 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+476 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 476 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # Executing: glib/io-channel-basic.test 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+2712 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 2712 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+4486 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 4486 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+4769 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 4769 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+4959 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 4959 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+1959 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 1959 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+3466 bytes to 17 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 3466 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+2130 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 2130 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+4574 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 4574 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+644 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 644 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+1900 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 1900 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+4566 bytes to 17 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+2225 bytes to 15 1514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 14: 2225 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 16: 4566 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+599 bytes to 13 1514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 12: 599 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+385 bytes to 11 1514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 10: 385 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1514s # # GLib-DEBUG: io-channel-basic: child writing 8+1410 bytes to 9 1514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1514s # GLib-DEBUG: io-channel-basic: ...from 8: 1410 bytes 1514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+2165 bytes to 17 1515s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+26 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 26 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1515s # GLib-DEBUG: io-channel-basic: ...from 16: 2165 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 3139 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+3987 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 3987 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+1194 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 1194 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+1930 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 1930 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+1975 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 1975 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+138 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 138 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+1729 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 1729 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+3417 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 3417 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+32 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 32 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+4500 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 4500 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+4320 bytes to 9 1515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 8: 4320 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+4660 bytes to 15 1515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 14: 4660 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+3461 bytes to 13 1515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 12: 3461 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1515s # # GLib-DEBUG: io-channel-basic: child writing 8+2488 bytes to 11 1515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1515s # GLib-DEBUG: io-channel-basic: ...from 10: 2488 bytes 1515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+4125 bytes to 9 1516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 8: 4125 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+4483 bytes to 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 4483 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+4981 bytes to 13 1516s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1516s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1516s # GLib-DEBUG: io-channel-basic: ...from 12: 4981 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+2388 bytes to 11 1516s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1516s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1516s # GLib-DEBUG: io-channel-basic: ...from 10: 2388 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+1462 bytes to 9 1516s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1516s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1516s # GLib-DEBUG: io-channel-basic: ...from 8: 1462 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+4379 bytes to 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 4379 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s # # GLib-DEBUG: io-channel-basic: child writing 8+3816 bytes to 15 1516s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1516s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1516s # GLib-DEBUG: io-channel-basic: ...from 14: 3816 bytes 1516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1516s ok 1 /gio/io-basics 1516s # slow test /gio/io-basics executed in 13.02 secs 1516s # End of gio tests 1516s ok - glib/io-channel-basic.test 1516s # Running test: glib/deftype.test 1516s ok - glib/deftype.test 1516s # Running test: glib/type-flags.test 1516s TAP version 13 1516s # random seed: R02S4c0a8a80f7c5b759975248ed71cf265c 1516s 1..4 1516s # Start of type tests 1516s # Start of flags tests 1516s ok 1 /type/flags/interface 1516s ok 2 /type/flags/final 1516s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1516s ok 3 /type/flags/deprecated 1516s # Start of final tests 1516s ok 4 /type/flags/final/instance-check 1516s # End of final tests 1516s # End of flags tests 1516s # End of type tests 1516s ok - glib/type-flags.test 1516s # Running test: glib/convert.test 1516s TAP version 13 1516s # random seed: R02Se2efe9a4d52f487c77b835409079e2bb 1516s 1..14 1516s # Start of conversion tests 1516s ok 1 /conversion/no-conv 1516s ok 2 /conversion/iconv-state 1516s ok 3 /conversion/illegal-sequence 1516s ok 4 /conversion/byte-order 1516s ok 5 /conversion/unicode 1516s ok 6 /conversion/filename-utf8 1516s ok 7 /conversion/filename-display 1516s ok 8 /conversion/convert-embedded-nul 1516s # Start of locale-to-utf8 tests 1516s ok 9 /conversion/locale-to-utf8/embedded-nul 1516s # Start of embedded-nul tests 1516s # Start of subprocess tests 1516s # End of subprocess tests 1516s # End of embedded-nul tests 1516s # End of locale-to-utf8 tests 1516s # Start of locale-from-utf8 tests 1516s ok 10 /conversion/locale-from-utf8/embedded-nul 1516s # Start of embedded-nul tests 1516s # Start of subprocess tests 1516s # End of subprocess tests 1516s # End of embedded-nul tests 1516s # End of locale-from-utf8 tests 1516s # Start of filename-to-utf8 tests 1516s ok 11 /conversion/filename-to-utf8/embedded-nul 1516s # Start of embedded-nul tests 1516s # Start of subprocess tests 1516s # End of subprocess tests 1516s # End of embedded-nul tests 1516s # End of filename-to-utf8 tests 1516s # Start of filename-from-utf8 tests 1516s ok 12 /conversion/filename-from-utf8/embedded-nul 1516s # Start of embedded-nul tests 1516s # Start of subprocess tests 1516s # End of subprocess tests 1516s # End of embedded-nul tests 1516s # End of filename-from-utf8 tests 1516s # Start of filename-from-uri tests 1516s ok 13 /conversion/filename-from-uri/query-is-ignored 1516s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1516s # End of filename-from-uri tests 1516s # End of conversion tests 1516s ok - glib/convert.test 1516s # Running test: glib/win32-appinfo.test 1516s TAP version 13 1516s # random seed: R02S03f0aa247aec378180773ea56daf09bb 1516s 1..5 1516s # Start of appinfo tests 1516s ok 1 /appinfo/utf16-strfuncs 1516s ok 2 /appinfo/win32-extract-executable 1516s ok 3 /appinfo/win32-rundll32-fixup 1516s ok 4 /appinfo/win32-parse-filename 1516s ok 5 /appinfo/win32-utf16-conversion-fail 1516s # Start of subprocess tests 1516s # End of subprocess tests 1516s # End of appinfo tests 1516s ok - glib/win32-appinfo.test 1516s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1516s TAP version 13 1516s # random seed: R02S8c3e309535604db633752cf90e58a116 1516s 1..8 1516s # Start of gdbus tests 1516s # Start of codegen tests 1516s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/home 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/cache 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/system-config2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/config 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/system-data2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/data 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/state 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/annotations/.dirs/runtime 1516s ok 1 /gdbus/codegen/annotations 1516s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/home 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/cache 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/system-config2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/config 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/system-data2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/data 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/state 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/interface_stability/.dirs/runtime 1516s ok 2 /gdbus/codegen/interface_stability 1516s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/home 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/cache 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/system-config2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/config 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/system-data2 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/data 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/state 1516s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/object-manager/.dirs/runtime 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s ok 3 /gdbus/codegen/object-manager 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/property-naming/.dirs/runtime 1517s ok 4 /gdbus/codegen/property-naming 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/autocleanups/.dirs/runtime 1517s ok 5 /gdbus/codegen/autocleanups 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/deprecations/.dirs/runtime 1517s ok 6 /gdbus/codegen/deprecations 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1517s ok 7 /gdbus/codegen/standalone-interface-info 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_MTUXK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1517s ok 8 /gdbus/codegen/unix-fd-list 1517s # End of codegen tests 1517s # End of gdbus tests 1517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1517s ok - glib/gdbus-test-codegen-min-required-2-64.test 1517s # Running test: glib/gdbus-serialization.test 1517s TAP version 13 1517s # random seed: R02S8d34c5c4bcb6dc3f4dd1315a308c544f 1517s 1..18 1517s # Start of gdbus tests 1517s # Start of message-serialize tests 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/basic/.dirs/runtime 1517s ok 1 /gdbus/message-serialize/basic 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/complex/.dirs/runtime 1517s ok 2 /gdbus/message-serialize/complex 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/invalid/.dirs/runtime 1517s ok 3 /gdbus/message-serialize/invalid 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/.dirs/runtime 1517s ok 4 /gdbus/message-serialize/header-checks 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/double-array/.dirs/runtime 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1517s ok 5 /gdbus/message-serialize/double-array 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1517s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1517s ok 6 /gdbus/message-serialize/empty-structure 1517s # Start of header-checks tests 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1517s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1517s ok 7 /gdbus/message-serialize/header-checks/valid 1517s # End of header-checks tests 1517s # End of message-serialize tests 1517s # Start of message-parse tests 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1517s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1517s ok 9 /gdbus/message-parse/non-signature-header 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1517s ok 10 /gdbus/message-parse/empty-signature-header 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1517s ok 11 /gdbus/message-parse/multiple-signature-header 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1517s ok 12 /gdbus/message-parse/over-long-signature-header 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1517s ok 13 /gdbus/message-parse/deep-header-nesting 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1517s ok 14 /gdbus/message-parse/deep-body-nesting 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/truncated/.dirs/runtime 1517s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1517s ok 15 /gdbus/message-parse/truncated 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/empty-structure/.dirs/runtime 1517s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1517s ok 16 /gdbus/message-parse/empty-structure 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/missing-header/.dirs/runtime 1517s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1517s ok 17 /gdbus/message-parse/missing-header 1517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/home 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/config 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/data 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/state 1517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XR1QK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1517s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1517s ok 18 /gdbus/message-parse/invalid-header-type 1517s # End of message-parse tests 1517s # End of gdbus tests 1517s ok - glib/gdbus-serialization.test 1517s # Running test: glib/option-context.test 1517s TAP version 13 1517s # random seed: R02S2886dfde925cc34234fcacaea401360a 1517s 1..57 1517s # Start of option tests 1517s ok 1 /option/basic 1517s ok 2 /option/translate 1517s ok 3 /option/strict-posix 1517s # Start of help tests 1517s ok 4 /option/help/options 1517s ok 5 /option/help/no-options 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1517s ok 6 /option/help/no-help-options 1517s # End of help tests 1517s # Start of group tests 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1517s ok 7 /option/group/captions 1517s ok 8 /option/group/main 1517s ok 9 /option/group/error-hook 1517s ok 10 /option/group/parse 1517s # Start of captions tests 1517s # Start of subprocess tests 1517s # End of subprocess tests 1517s # End of captions tests 1517s # End of group tests 1517s # Start of restoration tests 1517s ok 11 /option/restoration/int 1517s ok 12 /option/restoration/string 1517s ok 13 /option/restoration/boolean 1517s # End of restoration tests 1517s # Start of arg tests 1517s ok 14 /option/arg/reverse-string 1517s ok 15 /option/arg/optional-int 1517s # Start of repetition tests 1517s ok 16 /option/arg/repetition/int 1517s ok 17 /option/arg/repetition/string 1517s ok 18 /option/arg/repetition/filename 1517s ok 19 /option/arg/repetition/double 1517s ok 20 /option/arg/repetition/locale 1517s ok 21 /option/arg/repetition/int64 1517s # End of repetition tests 1517s # Start of array tests 1517s ok 22 /option/arg/array/string 1517s # End of array tests 1517s # Start of callback tests 1517s ok 23 /option/arg/callback/string 1517s ok 24 /option/arg/callback/count 1517s ok 25 /option/arg/callback/optional1 1517s ok 26 /option/arg/callback/optional2 1517s ok 27 /option/arg/callback/optional3 1517s ok 28 /option/arg/callback/optional4 1517s ok 29 /option/arg/callback/optional5 1517s ok 30 /option/arg/callback/optional6 1517s ok 31 /option/arg/callback/optional7 1517s ok 32 /option/arg/callback/optional8 1517s # End of callback tests 1517s # Start of remaining tests 1517s ok 33 /option/arg/remaining/callback 1517s ok 34 /option/arg/remaining/callback-false 1517s ok 35 /option/arg/remaining/non-option 1517s ok 36 /option/arg/remaining/separator 1517s ok 37 /option/arg/remaining/array 1517s # End of remaining tests 1517s # Start of ignore tests 1517s ok 38 /option/arg/ignore/long 1517s ok 39 /option/arg/ignore/short 1517s ok 40 /option/arg/ignore/arg 1517s # End of ignore tests 1517s # Start of rest tests 1517s ok 41 /option/arg/rest/non-option 1517s ok 42 /option/arg/rest/separator1 1517s ok 43 /option/arg/rest/separator2 1517s ok 44 /option/arg/rest/separator3 1517s ok 45 /option/arg/rest/separator4 1517s ok 46 /option/arg/rest/separator5 1517s # End of rest tests 1517s # End of arg tests 1517s # Start of context tests 1517s ok 47 /option/context/add 1517s ok 48 /option/context/empty2 1517s ok 49 /option/context/empty3 1517s # End of context tests 1517s # Start of bug tests 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1517s ok 50 /option/bug/unknown-short 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1517s ok 51 /option/bug/lonely-dash 1517s ok 52 /option/bug/triple-dash 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1517s ok 53 /option/bug/missing-arg 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1517s ok 54 /option/bug/dash-arg 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1517s ok 55 /option/bug/short-remaining 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1517s ok 56 /option/bug/double-free 1517s ok 57 /option/bug/double-zero 1517s # End of bug tests 1517s # End of option tests 1517s ok - glib/option-context.test 1517s # Running test: glib/flags.test 1517s TAP version 13 1517s # random seed: R02Sdc0b3bc70d61671c1b2246c355767476 1517s 1..1 1517s # Start of gobject tests 1517s # Start of flags tests 1517s ok 1 /gobject/flags/validate 1517s # End of flags tests 1517s # End of gobject tests 1517s ok - glib/flags.test 1517s # Running test: glib/data-output-stream.test 1517s TAP version 13 1517s # random seed: R02S7730524eb30cb7a161c309188ec6e25e 1517s 1..7 1517s # Start of data-output-stream tests 1517s ok 1 /data-output-stream/basic 1517s ok 2 /data-output-stream/write-lines-LF 1517s ok 3 /data-output-stream/write-lines-CR 1517s ok 4 /data-output-stream/write-lines-CR-LF 1517s ok 5 /data-output-stream/write-int 1517s ok 6 /data-output-stream/seek 1517s ok 7 /data-output-stream/truncate 1517s # End of data-output-stream tests 1517s ok - glib/data-output-stream.test 1517s # Running test: glib/network-monitor-race.test 1517s TAP version 13 1517s # random seed: R02Sb7ccd2d33167f614c282bb74e554445c 1517s 1..1 1517s # Start of network-monitor tests 1517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1519s # Executing: glib/network-monitor-race.test 1520s ok 1 /network-monitor/create-in-thread 1520s # slow test /network-monitor/create-in-thread executed in 2.70 secs 1520s # End of network-monitor tests 1520s ok - glib/network-monitor-race.test 1520s # Running test: glib/ifaceproperties.test 1520s TAP version 13 1520s # random seed: R02S0bd9895577cab3284785a28db725f3a4 1520s 1..7 1520s # Start of interface tests 1520s # Start of properties tests 1520s ok 1 /interface/properties/set 1520s ok 2 /interface/properties/notify 1520s ok 3 /interface/properties/find-overridden 1520s ok 4 /interface/properties/list-overridden 1520s ok 5 /interface/properties/find-interface 1520s ok 6 /interface/properties/list-interface 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1520s ok 7 /interface/properties/not-overridden 1520s # End of properties tests 1520s # End of interface tests 1520s ok - glib/ifaceproperties.test 1520s # Running test: glib/memory-output-stream.test 1520s TAP version 13 1520s # random seed: R02Scd5134c651d1243250359332fef50816 1520s 1..10 1520s # Start of memory-output-stream tests 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1520s ok 1 /memory-output-stream/truncate 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1520s ok 2 /memory-output-stream/get-data-size 1520s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1520s ok 3 /memory-output-stream/properties 1520s ok 4 /memory-output-stream/write-bytes 1520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1520s ok 5 /memory-output-stream/write-null 1520s ok 6 /memory-output-stream/writev 1520s ok 7 /memory-output-stream/writev_nonblocking 1520s ok 8 /memory-output-stream/steal_as_bytes 1520s # Start of seek tests 1520s ok 9 /memory-output-stream/seek/fixed 1520s ok 10 /memory-output-stream/seek/resizable 1520s # End of seek tests 1520s # End of memory-output-stream tests 1520s ok - glib/memory-output-stream.test 1520s # Running test: glib/permission.test 1520s TAP version 13 1520s # random seed: R02S3df09c3fb790e708f6cb99d0c516e655 1520s 1..1 1520s # Start of permission tests 1520s ok 1 /permission/simple 1520s # End of permission tests 1520s ok - glib/permission.test 1520s # Running test: glib/gnotification.test 1520s TAP version 13 1520s # random seed: R02Se37bbd878d887d4dee10be1370678e0c 1520s 1..2 1520s # Start of gnotification tests 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s ok 1 /gnotification/basic 1520s ok 2 /gnotification/properties 1520s # End of gnotification tests 1520s ok - glib/gnotification.test 1520s # Running test: glib/cmph-bdz.test 1520s TAP version 13 1520s # random seed: R02Sfdaf79a7b50cdd3acfca944cf4beaa4d 1520s 1..2 1520s # Start of cmph-bdz tests 1520s ok 1 /cmph-bdz/search 1520s ok 2 /cmph-bdz/search-packed 1520s # End of cmph-bdz tests 1520s ok - glib/cmph-bdz.test 1520s # Running test: glib/gdbus-bz627724.test 1520s TAP version 13 1520s # random seed: R02S7fc3cb63c1a8d8607069afb7c228f9f2 1520s 1..1 1520s # Start of gdbus tests 1520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/home 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/cache 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/system-config2 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/config 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/system-data2 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/data 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/state 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_CZ0MK2/gdbus/bz627724/.dirs/runtime 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1520s ok 1 /gdbus/bz627724 1520s # End of gdbus tests 1520s ok - glib/gdbus-bz627724.test 1520s # Running test: glib/gdbus-proxy-threads.test 1520s TAP version 13 1520s # random seed: R02S17c45f602bd81efa286bbea52dc78a1e 1520s 1..1 1520s # Start of gdbus tests 1520s # Start of proxy tests 1520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/home 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/cache 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/system-config2 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/config 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/system-data2 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/data 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/state 1520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_X8JKK2/gdbus/proxy/vs-threads/.dirs/runtime 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # Executing: glib/gdbus-proxy-threads.test 1526s ok 1 /gdbus/proxy/vs-threads 1526s # slow test /gdbus/proxy/vs-threads executed in 6.21 secs 1526s # End of proxy tests 1526s # End of gdbus tests 1526s cleaning up pid 10945 1526s ok - glib/gdbus-proxy-threads.test 1526s # Running test: glib/autoptr.test 1526s TAP version 13 1526s # random seed: R02S78e135fb66eb4bfb26f0fd1f050202c0 1526s 1..6 1526s # Start of autoptr tests 1526s ok 1 /autoptr/autoptr 1526s ok 2 /autoptr/autoptr_steal 1526s ok 3 /autoptr/autolist 1526s ok 4 /autoptr/autoslist 1526s ok 5 /autoptr/autoqueue 1526s ok 6 /autoptr/autoclass 1526s # End of autoptr tests 1526s ok - glib/autoptr.test 1526s # Running test: glib/gdbus-address-get-session.test 1526s TAP version 13 1526s # random seed: R02S14a65420b198279c31e0a992d82c6857 1526s 1..2 1526s # Start of gdbus tests 1526s ok 1 /gdbus/x11-autolaunch 1526s ok 2 /gdbus/xdg-runtime 1526s # End of gdbus tests 1526s ok - glib/gdbus-address-get-session.test 1526s # Running test: glib/642026-ec.test 1526s TAP version 13 1526s # random seed: R02Se83ca852354554fc8ab70b070d3cd9ab 1526s 1..1 1526s # Start of glib tests 1526s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1527s ok 1 /glib/642026 1527s # slow test /glib/642026 executed in 0.76 secs 1527s # End of glib tests 1527s ok - glib/642026-ec.test 1527s # Running test: glib/gobject-query.py.test 1527s TAP version 13 1527s ok 1 __main__.TestGobjectQuery.test_froots 1527s # gobject-query: /usr/bin/gobject-query 1527s # Running: ['/usr/bin/gobject-query', 'froots'] 1527s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1527s # Output: ├void 1527s # ├GInterface 1527s # │ └GTypePlugin 1527s # ├gchar 1527s # ├guchar 1527s # ├gboolean 1527s # ├gint 1527s # ├guint 1527s # ├glong 1527s # ├gulong 1527s # ├gint64 1527s # ├guint64 1527s # ├GEnum 1527s # ├GFlags 1527s # ├gfloat 1527s # ├gdouble 1527s # ├gchararray 1527s # ├gpointer 1527s # │ └GType 1527s # ├GBoxed 1527s # │ └GValueArray 1527s # ├GParam 1527s # │ ├GParamChar 1527s # │ ├GParamUChar 1527s # │ ├GParamBoolean 1527s # │ ├GParamInt 1527s # │ ├GParamUInt 1527s # │ ├GParamLong 1527s # │ ├GParamULong 1527s # │ ├GParamInt64 1527s # │ ├GParamUInt64 1527s # │ ├GParamUnichar 1527s # │ ├GParamEnum 1527s # │ ├GParamFlags 1527s # │ ├GParamFloat 1527s # │ ├GParamDouble 1527s # │ ├GParamString 1527s # │ ├GParamParam 1527s # │ ├GParamBoxed 1527s # │ ├GParamPointer 1527s # │ ├GParamValueArray 1527s # │ ├GParamObject 1527s # │ ├GParamOverride 1527s # │ ├GParamGType 1527s # │ └GParamVariant 1527s # ├GObject 1527s # └GVariant 1527s ok 2 __main__.TestGobjectQuery.test_help 1527s # gobject-query: /usr/bin/gobject-query 1527s # Running: ['/usr/bin/gobject-query', '--help'] 1527s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1527s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1527s # -r specify root type 1527s # -n don't descend type tree 1527s # -h show help 1527s # -b specify indent string 1527s # -i specify incremental indent string 1527s # -s specify line spacing 1527s # qualifiers: 1527s # froots iterate over fundamental roots 1527s # tree print type tree 1527s ok 3 __main__.TestGobjectQuery.test_tree 1527s # gobject-query: /usr/bin/gobject-query 1527s # Running: ['/usr/bin/gobject-query', 'tree'] 1527s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1527s # Output: GObject 1527s ok 4 __main__.TestGobjectQuery.test_version 1527s # gobject-query: /usr/bin/gobject-query 1527s # Running: ['/usr/bin/gobject-query', '--version'] 1527s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1527s # Output: 2.79.3 1527s 1..4 1527s ok - glib/gobject-query.py.test 1527s # Running test: glib/private.test 1527s TAP version 13 1527s # random seed: R02Se4887e3c1ff42eff0e4247137f5bc71f 1527s 1..8 1527s # Start of thread tests 1527s ok 1 /thread/private1 1529s # Executing: glib/private.test 1529s ok 2 /thread/private2 1529s # slow test /thread/private2 executed in 1.60 secs 1529s ok 3 /thread/private3 1529s ok 4 /thread/staticprivate1 1529s ok 5 /thread/staticprivate2 1529s ok 6 /thread/staticprivate3 1531s ok 7 /thread/staticprivate4 1531s # slow test /thread/staticprivate4 executed in 1.69 secs 1531s ok 8 /thread/staticprivate5 1531s # End of thread tests 1531s ok - glib/private.test 1531s # Running test: glib/bitlock.test 1531s TAP version 13 1531s # random seed: R02Saffc4774b0594e3cfe3b04a0c80a8bdd 1531s 1..1 1531s # Start of bitlock tests 1531s # Start of performance tests 1531s # max perf: iterations per second 1531s ok 1 /bitlock/performance/uncontended 1531s # End of performance tests 1531s # End of bitlock tests 1531s ok - glib/bitlock.test 1531s # Running test: glib/cxx-98.test 1531s TAP version 13 1531s # random seed: R02S951c701699bff3b633c1d9ef17652ed9 1531s 1..2 1531s # Start of gtask tests 1531s # 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. 1531s ok 1 /gtask/name 1531s # Start of name tests 1531s # 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. 1531s ok 2 /gtask/name/macro-wrapper 1531s # End of name tests 1531s # End of gtask tests 1531s ok - glib/cxx-98.test 1531s # Running test: glib/gdbus-proxy-unique-name.test 1531s TAP version 13 1531s # random seed: R02Sddda0b76de233ed1a46705f3c7dfb6c6 1531s 1..1 1531s # Start of gdbus tests 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_LO8OK2/gdbus/proxy-unique-name/.dirs/runtime 1531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s ok 1 /gdbus/proxy-unique-name 1531s # End of gdbus tests 1531s ok - glib/gdbus-proxy-unique-name.test 1531s # Running test: glib/gdbus-connection-loss.test 1531s TAP version 13 1531s # random seed: R02S6d02755946f0216eade925a0b2050460 1531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1531s 1..1 1531s # Start of gdbus tests 1531s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/home 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/cache 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/system-config2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/config 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/system-data2 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/data 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/state 1531s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_E90LK2/gdbus/connection-loss/.dirs/runtime 1531s ok 1 /gdbus/connection-loss 1531s # End of gdbus tests 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1531s ok - glib/gdbus-connection-loss.test 1531s # Running test: glib/memory-monitor-portal.test 1532s TAP version 13 1532s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1532s 1..1 1532s ok - glib/memory-monitor-portal.test 1532s # Running test: glib/contexts.test 1532s TAP version 13 1532s # random seed: R02Sdfd995e49fb338c147a932d930f2e5bf 1532s 1..5 1532s # Start of gio tests 1532s # Start of contexts tests 1532s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1532s ok 1 /gio/contexts/thread-independence 1532s ok 2 /gio/contexts/context-independence 1532s # Start of context-specific tests 1532s ok 3 /gio/contexts/context-specific/identity 1534s # Executing: glib/contexts.test 1534s ok 4 /gio/contexts/context-specific/emit 1534s # slow test /gio/contexts/context-specific/emit executed in 2.00 secs 1534s ok 5 /gio/contexts/context-specific/emit-and-unref 1534s # End of context-specific tests 1534s # End of contexts tests 1534s # End of gio tests 1534s ok - glib/contexts.test 1534s # Running test: glib/signals-refcount1.test 1534s TAP version 13 1534s # random seed: R02S06768e9527fdc84172438db7a37054c7 1534s 1..1 1534s # Start of gobject tests 1534s # Start of refcount tests 1534s # init 0x2069a50 1534s # 1534s # init 0x2069ba8 1534s # 1539s # Executing: glib/signals-refcount1.test 1539s # dispose 0x2069a50! 1539s # 1539s # dispose 0x2069ba8! 1539s # 1539s ok 1 /gobject/refcount/signals 1539s # slow test /gobject/refcount/signals executed in 5.01 secs 1539s # End of refcount tests 1539s # End of gobject tests 1539s ok - glib/signals-refcount1.test 1539s # Running test: glib/guuid.test 1539s TAP version 13 1539s # random seed: R02S9c4cfabeda61124e5423e159cfdddc15 1539s 1..2 1539s # Start of uuid tests 1539s ok 1 /uuid/string 1539s ok 2 /uuid/random 1539s # End of uuid tests 1539s ok - glib/guuid.test 1539s # Running test: glib/unicode-normalize.test 1539s TAP version 13 1539s # random seed: R02Sdf1e78ade30cddf0439c0b724c93ae57 1539s 1..3 1539s # Start of unicode tests 1539s # Processing Part0 # Specific cases 1539s # Processing Part1 # Character by character test 1540s # Processing Part2 # Canonical Order Test 1540s # Processing Part3 # PRI #29 Test 1540s ok 1 /unicode/normalize 1540s # Invalid UTF-8 vector 0 1540s # Invalid UTF-8 vector 1 1540s # Invalid UTF-8 vector 2 1540s # Invalid UTF-8 vector 3 1540s # Invalid UTF-8 vector 4 1540s # Invalid UTF-8 vector 5 1540s # Invalid UTF-8 vector 6 1540s # Invalid UTF-8 vector 7 1540s # Invalid UTF-8 vector 8 1540s # Invalid UTF-8 vector 9 1540s # Invalid UTF-8 vector 10 1540s # Invalid UTF-8 vector 11 1540s # Invalid UTF-8 vector 12 1540s ok 2 /unicode/normalize-invalid 1540s # Start of normalize tests 1540s ok 3 /unicode/normalize/bad-length 1540s # End of normalize tests 1540s # End of unicode tests 1540s ok - glib/unicode-normalize.test 1540s # Running test: glib/rcbox.test 1540s TAP version 13 1540s # random seed: R02S97c112e485c6f9eb3c6b0ccc1fca365f 1540s 1..8 1540s # Start of rcbox tests 1540s ok 1 /rcbox/new 1540s # global_point = 0x118b0a8 1540s ok 2 /rcbox/release-full 1540s # global_point_a = 0x118b0a8 1540s # global_point_b = 0x1192fa8 1540s ok 3 /rcbox/dup 1540s ok 4 /rcbox/alignment 1540s # End of rcbox tests 1540s # Start of atomic-rcbox tests 1540s ok 5 /atomic-rcbox/new 1540s # global_point = 0x118b1d8 1540s ok 6 /atomic-rcbox/release-full 1540s # global_point_a = 0x118b1d8 1540s # global_point_b = 0x118b1b8 1540s ok 7 /atomic-rcbox/dup 1540s ok 8 /atomic-rcbox/alignment 1540s # End of atomic-rcbox tests 1540s ok - glib/rcbox.test 1540s # Running test: glib/sort.test 1540s TAP version 13 1540s # random seed: R02Sc094274009087e212570fe782fad2dca 1540s 1..4 1540s # Start of sort tests 1540s ok 1 /sort/basic 1540s ok 2 /sort/zero-elements 1540s ok 3 /sort/stable 1540s ok 4 /sort/big 1540s # End of sort tests 1540s ok - glib/sort.test 1540s # Running test: glib/signals-refcount3.test 1540s TAP version 13 1540s # random seed: R02S98de42be93411298beb86b27c221a897 1540s 1..1 1540s # Start of gobject tests 1540s # Start of refcount tests 1540s # init 0x2a10a50 1540s # 1540s # init 0x2a10ba8 1540s # 1544s # Executing: glib/signals-refcount3.test 1545s # dispose 0x2a10a50! 1545s # 1545s # dispose 0x2a10ba8! 1545s # 1545s ok 1 /gobject/refcount/signals 1545s # slow test /gobject/refcount/signals executed in 5.00 secs 1545s # End of refcount tests 1545s # End of gobject tests 1545s ok - glib/signals-refcount3.test 1545s # Running test: glib/portal-support-none.test 1545s TAP version 13 1545s # random seed: R02S5053970023c32c08249375d17f110547 1545s 1..1 1545s # Start of portal-support tests 1545s ok 1 /portal-support/none 1545s # End of portal-support tests 1545s ok - glib/portal-support-none.test 1545s # Running test: glib/tree.test 1545s TAP version 13 1545s # random seed: R02S1aaedb94ab0d16ee7966f1516766e97e 1545s 1..7 1545s # Start of tree tests 1545s ok 1 /tree/search 1545s ok 2 /tree/remove 1545s ok 3 /tree/destroy 1545s ok 4 /tree/traverse 1545s ok 5 /tree/insert 1545s ok 6 /tree/bounds 1545s ok 7 /tree/remove-all 1545s # End of tree tests 1545s ok - glib/tree.test 1545s # Running test: glib/markup-collect.test 1545s TAP version 13 1545s # random seed: R02S6d62c55096e943725c3bd5c9313fe16f 1545s 1..21 1545s # Start of markup tests 1545s # Start of collect tests 1545s ok 1 /markup/collect/0 1545s ok 2 /markup/collect/1 1545s ok 3 /markup/collect/2 1545s ok 4 /markup/collect/3 1545s ok 5 /markup/collect/4 1545s ok 6 /markup/collect/5 1545s ok 7 /markup/collect/6 1545s ok 8 /markup/collect/7 1545s ok 9 /markup/collect/8 1545s ok 10 /markup/collect/9 1545s ok 11 /markup/collect/10 1545s ok 12 /markup/collect/11 1545s ok 13 /markup/collect/12 1545s ok 14 /markup/collect/13 1545s ok 15 /markup/collect/14 1545s ok 16 /markup/collect/15 1545s ok 17 /markup/collect/16 1545s ok 18 /markup/collect/17 1545s ok 19 /markup/collect/18 1545s ok 20 /markup/collect/19 1545s ok 21 /markup/collect/cleanup 1545s # End of collect tests 1545s # End of markup tests 1545s ok - glib/markup-collect.test 1545s # Running test: glib/portal-support-flatpak-full.test 1545s TAP version 13 1545s # random seed: R02Sf24c62b899054ed363540011b362fd97 1545s 1..1 1545s # Start of portal-support tests 1545s # Start of flatpak tests 1545s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/home 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/cache 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/system-config2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/config 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/system-data2 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/data 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/state 1545s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/runtime 1545s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_1MKOK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1545s ok 1 /portal-support/flatpak/full 1545s # End of flatpak tests 1545s # End of portal-support tests 1545s ok - glib/portal-support-flatpak-full.test 1545s # Running test: glib/types.test 1545s TAP version 13 1545s # random seed: R02S46a3407712693fcd44125e019e667a1e 1545s 1..1 1545s # Start of types tests 1545s ok 1 /types/basic_types 1545s # End of types tests 1545s ok - glib/types.test 1545s # Running test: glib/utf8-misc.test 1545s TAP version 13 1545s # random seed: R02Sb9bbc149635cafc734b42f7b3489a476 1545s 1..7 1545s # Start of utf8 tests 1545s ok 1 /utf8/strlen 1545s ok 2 /utf8/strncpy 1545s ok 3 /utf8/strrchr 1545s ok 4 /utf8/reverse 1545s ok 5 /utf8/substring 1545s ok 6 /utf8/make-valid 1545s ok 7 /utf8/truncate-middle 1545s # End of utf8 tests 1545s ok - glib/utf8-misc.test 1545s # Running test: glib/io-stream.test 1545s TAP version 13 1545s # random seed: R02Se851ec7647d137ae46312a12df052264 1545s 1..3 1545s # Start of io-stream tests 1545s ok 1 /io-stream/copy-chunks 1545s # Start of close tests 1545s # Start of async tests 1545s ok 2 /io-stream/close/async/memory 1545s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1545s ok 3 /io-stream/close/async/file 1545s # End of async tests 1545s # End of close tests 1545s # End of io-stream tests 1545s ok - glib/io-stream.test 1545s # Running test: glib/memchunk.test 1545s TAP version 13 1545s # random seed: R02Sa477c65f39e20bd31309d93c941091cb 1545s 1..1 1545s # Start of memchunk tests 1545s ok 1 /memchunk/basic 1545s # End of memchunk tests 1545s ok - glib/memchunk.test 1545s # Running test: glib/gmenumodel.test 1545s TAP version 13 1545s # random seed: R02Sf740af53b1af68875025bf60437626a1 1545s 1..14 1545s # Start of gmenu tests 1547s ok 1 /gmenu/equality 1547s # slow test /gmenu/equality executed in 2.01 secs 1549s # Executing: glib/gmenumodel.test 1549s ok 2 /gmenu/random 1549s # slow test /gmenu/random executed in 2.19 secs 1549s ok 3 /gmenu/attributes 1549s ok 4 /gmenu/links 1549s ok 5 /gmenu/mutable 1549s ok 6 /gmenu/convenience 1549s ok 7 /gmenu/menuitem 1549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1549s ok 8 /gmenu/input-validation 1549s # Start of dbus tests 1549s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1551s ok 9 /gmenu/dbus/roundtrip 1551s # slow test /gmenu/dbus/roundtrip executed in 1.85 secs 1552s ok 10 /gmenu/dbus/subscriptions 1554s # Executing: glib/gmenumodel.test 1554s ok 11 /gmenu/dbus/threaded 1554s # slow test /gmenu/dbus/threaded executed in 2.27 secs 1554s # Start of peer tests 1556s ok 12 /gmenu/dbus/peer/roundtrip 1556s # slow test /gmenu/dbus/peer/roundtrip executed in 1.79 secs 1556s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1556s # End of peer tests 1556s # End of dbus tests 1556s # Start of attributes tests 1556s ok 14 /gmenu/attributes/iterate 1556s # End of attributes tests 1556s # End of gmenu tests 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1556s ok - glib/gmenumodel.test 1556s # Running test: glib/macros.test 1556s TAP version 13 1556s # random seed: R02S6532ef0b58d52e9081e38aa29be42978 1556s 1..3 1556s # Start of alignof tests 1556s ok 1 /alignof/fallback 1556s # End of alignof tests 1556s # Start of assert tests 1556s ok 2 /assert/static 1556s # End of assert tests 1556s # Start of struct tests 1556s ok 3 /struct/sizeof_member 1556s # End of struct tests 1556s ok - glib/macros.test 1556s # Running test: glib/gdbus-peer.test 1556s TAP version 13 1556s # random seed: R02Sd671f00b1133324be1b07b2979ee0577 1556s 1..12 1556s # Start of gdbus tests 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/.dirs/runtime 1556s # Testing with unix:dir address 1556s # Testing with unix:tmpdir address 1556s # Testing with unix:path address 1556s ok 1 /gdbus/peer-to-peer 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/delayed-message-processing/.dirs/runtime 1556s # Testing with unix:dir address 1556s ok 2 /gdbus/delayed-message-processing 1556s # slow test /gdbus/delayed-message-processing executed in 0.58 secs 1556s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/home 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/cache 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/system-config2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/config 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/system-data2 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/data 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/state 1556s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/nonce-tcp/.dirs/runtime 1557s ok 3 /gdbus/nonce-tcp 1557s # slow test /gdbus/nonce-tcp executed in 0.67 secs 1557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/home 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/cache 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/system-config2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/config 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/system-data2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/data 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/state 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/tcp-anonymous/.dirs/runtime 1557s ok 4 /gdbus/tcp-anonymous 1557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/home 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/cache 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/system-config2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/config 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/system-data2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/data 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/state 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/credentials/.dirs/runtime 1557s ok 5 /gdbus/credentials 1557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/home 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/cache 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/config 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/data 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/state 1557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1557s # Testing with unix:dir address 1557s # Machine ID: b344959dc587412d99fbe354aff7e05d 1558s ok 6 /gdbus/codegen-peer-to-peer 1558s # slow test /gdbus/codegen-peer-to-peer executed in 1.15 secs 1558s # Start of peer-to-peer tests 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/signals/.dirs/runtime 1558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1558s # Testing with unix:dir address 1558s ok 7 /gdbus/peer-to-peer/signals 1558s # Start of invalid tests 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1558s ok 8 /gdbus/peer-to-peer/invalid/server 1558s # Start of conn tests 1558s # Start of stream tests 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1558s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1558s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1558s # End of stream tests 1558s # Start of addr tests 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1558s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1558s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1558s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_J7WRK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1558s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1558s # End of addr tests 1558s # End of conn tests 1558s # End of invalid tests 1558s # End of peer-to-peer tests 1558s # End of gdbus tests 1558s ok - glib/gdbus-peer.test 1558s # Running test: glib/macros-c-17.test 1558s TAP version 13 1558s # random seed: R02S5b2d3c50f530593aea6255595fc4c85e 1558s 1..4 1558s # Start of C tests 1558s ok 1 /C/standard-17 1558s # End of C tests 1558s # Start of alignof tests 1558s ok 2 /alignof/fallback 1558s # End of alignof tests 1558s # Start of assert tests 1558s ok 3 /assert/static 1558s # End of assert tests 1558s # Start of struct tests 1558s ok 4 /struct/sizeof_member 1558s # End of struct tests 1558s ok - glib/macros-c-17.test 1558s # Running test: glib/hook.test 1558s TAP version 13 1558s # random seed: R02S70df06970036faea0329c0629be98ffe 1558s 1..2 1558s # Start of hook tests 1558s ok 1 /hook/basics 1558s ok 2 /hook/corner-cases 1558s # End of hook tests 1558s ok - glib/hook.test 1558s # Running test: glib/volumemonitor.test 1558s TAP version 13 1558s # random seed: R02Sa0f2c455648d72cc9a57bb2fcf2ede57 1558s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1558s 1..3 1558s # Start of volumemonitor tests 1558s ok 1 /volumemonitor/connected_drives 1558s ok 2 /volumemonitor/volumes 1558s ok 3 /volumemonitor/mounts 1558s # End of volumemonitor tests 1558s ok - glib/volumemonitor.test 1558s # Running test: glib/proxy-test.test 1559s TAP version 13 1559s # random seed: R02S2eda80335703fafedc695e52e95b3cfa 1559s 1..11 1559s # Start of proxy tests 1559s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1559s ok 1 /proxy/direct_sync 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188b798 and GSocketClientAsyncConnectData 0x1889078 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 0x188c038 for GSocketClientAsyncConnectData 0x1889078 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 /proxy/direct_async 1559s ok 3 /proxy/single_sync 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bf78 and GSocketClientAsyncConnectData 0x188bf30 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 0x188d120 for GSocketClientAsyncConnectData 0x188bf30 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1559s ok 4 /proxy/single_async 1559s ok 5 /proxy/multiple_sync 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188cd48 and GSocketClientAsyncConnectData 0x188cd00 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 0x188d5b0 for GSocketClientAsyncConnectData 0x188cd00 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: Starting proxy connection 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 0x188cc98 for GSocketClientAsyncConnectData 0x188cd00 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1559s ok 6 /proxy/multiple_async 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1559s ok 7 /proxy/invalid-uris-sync 1559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188ca10 and GSocketClientAsyncConnectData 0x188bf30 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bb28 and GSocketClientAsyncConnectData 0x188bf30 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188d378 and GSocketClientAsyncConnectData 0x188bf30 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 0x188d628 for GSocketClientAsyncConnectData 0x188bf30 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 # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188d378 and GSocketClientAsyncConnectData 0x188cdd0 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 0x188d5f8 for GSocketClientAsyncConnectData 0x188cdd0 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 8 /proxy/invalid-uris-async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bdb0 and GSocketClientAsyncConnectData 0x188d2a0 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1559s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bdb0 and GSocketClientAsyncConnectData 0x188cdd0 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 0x188d590 for GSocketClientAsyncConnectData 0x188cdd0 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bdb0 and GSocketClientAsyncConnectData 0x188d2a0 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 0x188bf68 for GSocketClientAsyncConnectData 0x188d2a0 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1559s ok 9 /proxy/dns 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188d1e0 and GSocketClientAsyncConnectData 0x188cdd0 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 0x188d800 for GSocketClientAsyncConnectData 0x188cdd0 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bd98 and GSocketClientAsyncConnectData 0x188d2a0 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 0x188d760 for GSocketClientAsyncConnectData 0x188d2a0 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1559s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1559s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x188bd98 and GSocketClientAsyncConnectData 0x188cdd0 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 0x188d2b0 for GSocketClientAsyncConnectData 0x188cdd0 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: Starting proxy connection 1559s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1559s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1559s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1559s ok 10 /proxy/override 1559s ok 11 /proxy/enumerator-ports 1559s # End of proxy tests 1559s ok - glib/proxy-test.test 1559s # Running test: glib/portal-support-snap-classic.test 1559s TAP version 13 1559s # random seed: R02S73e6b577a5276a954bdaad09339f6ba7 1559s 1..3 1559s # Start of portal-support tests 1559s # Start of snap-classic tests 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1559s ok 1 /portal-support/snap-classic/no-snapctl 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/runtime 1559s # Created snap.yaml in /tmp/test_portal-support-snap-classic_JXIQK2/meta/snap.yaml 1559s # Created snapctl in /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1559s ok 2 /portal-support/snap-classic/none 1559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/home 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/cache 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/system-config2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/config 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/system-data2 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/data 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/state 1559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/runtime 1559s # Created snap.yaml in /tmp/test_portal-support-snap-classic_JXIQK2/meta/snap.yaml 1559s # Created snapctl in /tmp/test_portal-support-snap-classic_JXIQK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1559s # Executing: glib/portal-support-snap-classic.test 1559s ok 3 /portal-support/snap-classic/all 1559s # End of snap-classic tests 1559s # End of portal-support tests 1559s ok - glib/portal-support-snap-classic.test 1559s # Running test: glib/timeout.test 1559s TAP version 13 1559s # random seed: R02S11d9637dd08f0b222510c5c52717f6d2 1559s 1..5 1559s # Start of timeout tests 1559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1561s ok 1 /timeout/seconds 1561s # slow test /timeout/seconds executed in 2.10 secs 1563s ok 2 /timeout/seconds-once 1563s # slow test /timeout/seconds-once executed in 2.10 secs 1563s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1564s # Executing: glib/timeout.test 1565s ok 3 /timeout/weeks-overflow 1565s # slow test /timeout/weeks-overflow executed in 2.10 secs 1565s ok 4 /timeout/far-future-ready-time 1565s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 1565s # End of timeout tests 1565s ok - glib/timeout.test 1565s # Running test: glib/g-icon.test 1565s TAP version 13 1565s # random seed: R02S45b0e3cffe20a3a09a89c55c6788bdec 1565s 1..6 1565s # Start of icons tests 1565s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1565s ok 1 /icons/to-string 1565s ok 2 /icons/serialize 1565s ok 3 /icons/themed 1565s ok 4 /icons/emblemed 1565s ok 5 /icons/file 1565s ok 6 /icons/bytes 1565s # End of icons tests 1565s ok - glib/g-icon.test 1565s # Running test: glib/unicode-encoding.test 1565s TAP version 13 1565s # random seed: R02S38f28f499eed2b30e5991f24cff19628 1565s 1..1 1565s # Start of unicode tests 1565s ok 1 /unicode/encoding 1565s # End of unicode tests 1565s ok - glib/unicode-encoding.test 1565s # Running test: glib/genmarshal.py.test 1566s TAP version 13 1566s ok 1 __main__.TestGenmarshal.test_empty_list 1566s # tmpdir: /tmp/tmpk4_28aa0 1566s # genmarshal: /usr/bin/glib-genmarshal 1566s # /tmp/tmpk4_28aa0/tmp2x86gopv.list: 1566s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpk4_28aa0/tmp2x86gopv.list', '--header', '--quiet'] 1566s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # 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. */ 1566s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1566s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1566s # 1566s # #include 1566s # 1566s # G_BEGIN_DECLS 1566s # 1566s # 1566s # G_END_DECLS 1566s # 1566s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1566s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpk4_28aa0/tmp2x86gopv.list', '--body', '--quiet'] 1566s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # 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. */ 1566s # #include 1566s # 1566s # #ifdef G_ENABLE_DEBUG 1566s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1566s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1566s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1566s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1566s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1566s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1566s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1566s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1566s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1566s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1566s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1566s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1566s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1566s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1566s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1566s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1566s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1566s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1566s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1566s # #else /* !G_ENABLE_DEBUG */ 1566s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1566s # * Do not access GValues directly in your code. Instead, use the 1566s # * g_value_get_*() functions 1566s # */ 1566s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1566s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1566s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1566s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1566s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1566s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1566s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1566s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1566s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1566s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1566s # #endif /* !G_ENABLE_DEBUG */ 1566s ok 2 __main__.TestGenmarshal.test_help 1566s # tmpdir: /tmp/tmpbiop_1fz 1566s # genmarshal: /usr/bin/glib-genmarshal 1566s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1566s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1566s # [--internal] [--valist-marshallers] [-v] 1566s # [--g-fatal-warnings] [--include-header [HEADER]] 1566s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1566s # [--prototypes] [--header] [--body] 1566s # [--stdinc | --nostdinc] [--quiet | --verbose] 1566s # [FILE ...] 1566s # 1566s # Generate signal marshallers for GObject 1566s # 1566s # positional arguments: 1566s # FILE Files with lists of marshallers to generate, or "-" 1566s # for standard input 1566s # 1566s # options: 1566s # -h, --help show this help message and exit 1566s # --prefix STRING Specify marshaller prefix 1566s # --output FILE Write output into the specified file 1566s # --skip-source Skip source location comments 1566s # --internal Mark generated functions as internal 1566s # --valist-marshallers Generate va_list marshallers 1566s # -v, --version Print version information, and exit 1566s # --g-fatal-warnings Make warnings fatal 1566s # --include-header [HEADER] 1566s # Include the specified header in the body 1566s # --pragma-once Use "pragma once" as the inclusion guard 1566s # -D CPP_DEFINES Pre-processor define 1566s # -U CPP_UNDEFINES Pre-processor undefine 1566s # --prototypes Generate the marshallers prototype in the C code 1566s # --header Generate C headers 1566s # --body Generate C code 1566s # --stdinc Include standard marshallers 1566s # --nostdinc Use standard marshallers 1566s # --quiet Only print warnings and errors 1566s # --verbose Be verbose, and include debugging information 1566s ok 3 __main__.TestGenmarshal.test_no_args 1566s # tmpdir: /tmp/tmpdpyaivql 1566s # genmarshal: /usr/bin/glib-genmarshal 1566s # Running: ['/usr/bin/glib-genmarshal'] 1566s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: 1567s ok 4 __main__.TestGenmarshal.test_void_boolean 1567s # tmpdir: /tmp/tmpkelkgvc0 1567s # genmarshal: /usr/bin/glib-genmarshal 1567s # /tmp/tmpkelkgvc0/tmp9ibs7ufk.list: VOID:BOOLEAN 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkelkgvc0/tmp9ibs7ufk.list', '--header', '--quiet'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # 1567s # #include 1567s # 1567s # G_BEGIN_DECLS 1567s # 1567s # /* VOID:BOOLEAN (/tmp/tmpkelkgvc0/tmp9ibs7ufk.list:1) */ 1567s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1567s # 1567s # 1567s # G_END_DECLS 1567s # 1567s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkelkgvc0/tmp9ibs7ufk.list', '--body', '--quiet'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #include 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1567s # tmpdir: /tmp/tmphndm1m3e 1567s # genmarshal: /usr/bin/glib-genmarshal 1567s # /tmp/tmphndm1m3e/tmp8q9m39x3.list: VOID:BOOLEAN,INT64 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphndm1m3e/tmp8q9m39x3.list', '--header', '--quiet'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # 1567s # #include 1567s # 1567s # G_BEGIN_DECLS 1567s # 1567s # /* VOID:BOOLEAN,INT64 (/tmp/tmphndm1m3e/tmp8q9m39x3.list:1) */ 1567s # extern 1567s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1567s # GValue *return_value, 1567s # guint n_param_values, 1567s # const GValue *param_values, 1567s # gpointer invocation_hint, 1567s # gpointer marshal_data); 1567s # 1567s # 1567s # G_END_DECLS 1567s # 1567s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphndm1m3e/tmp8q9m39x3.list', '--body', '--quiet'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #include 1567s # 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # /* VOID:BOOLEAN,INT64 (/tmp/tmphndm1m3e/tmp8q9m39x3.list:1) */ 1567s # void 1567s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # guint n_param_values, 1567s # const GValue *param_values, 1567s # gpointer invocation_hint G_GNUC_UNUSED, 1567s # gpointer marshal_data) 1567s # { 1567s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1567s # gboolean arg1, 1567s # gint64 arg2, 1567s # gpointer data2); 1567s # GCClosure *cc = (GCClosure *) closure; 1567s # gpointer data1, data2; 1567s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1567s # 1567s # g_return_if_fail (n_param_values == 3); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # g_marshal_value_peek_boolean (param_values + 1), 1567s # g_marshal_value_peek_int64 (param_values + 2), 1567s # data2); 1567s # } 1567s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1567s # tmpdir: /tmp/tmp5wm6pmxz 1567s # genmarshal: /usr/bin/glib-genmarshal 1567s # /tmp/tmp5wm6pmxz/tmp3ew0rz2q.list: VOID:PARAM 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5wm6pmxz/tmp3ew0rz2q.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1567s # 1567s # G_BEGIN_DECLS 1567s # 1567s # /* VOID:PARAM (/tmp/tmp5wm6pmxz/tmp3ew0rz2q.list:1) */ 1567s # extern 1567s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1567s # GValue *return_value, 1567s # guint n_param_values, 1567s # const GValue *param_values, 1567s # gpointer invocation_hint, 1567s # gpointer marshal_data); 1567s # extern 1567s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1567s # GValue *return_value, 1567s # gpointer instance, 1567s # va_list args, 1567s # gpointer marshal_data, 1567s # int n_params, 1567s # GType *param_types); 1567s # 1567s # 1567s # G_END_DECLS 1567s # 1567s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1567s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5wm6pmxz/tmp3ew0rz2q.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1567s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # #ifdef G_ENABLE_DEBUG 1567s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1567s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1567s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1567s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1567s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1567s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1567s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1567s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1567s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1567s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1567s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1567s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1567s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1567s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1567s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1567s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1567s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1567s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1567s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1567s # #else /* !G_ENABLE_DEBUG */ 1567s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1567s # * Do not access GValues directly in your code. Instead, use the 1567s # * g_value_get_*() functions 1567s # */ 1567s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1567s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1567s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1567s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1567s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1567s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1567s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1567s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1567s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1567s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1567s # #endif /* !G_ENABLE_DEBUG */ 1567s # 1567s # /* VOID:PARAM (/tmp/tmp5wm6pmxz/tmp3ew0rz2q.list:1) */ 1567s # void 1567s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # guint n_param_values, 1567s # const GValue *param_values, 1567s # gpointer invocation_hint G_GNUC_UNUSED, 1567s # gpointer marshal_data) 1567s # { 1567s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1567s # gpointer arg1, 1567s # gpointer data2); 1567s # GCClosure *cc = (GCClosure *) closure; 1567s # gpointer data1, data2; 1567s # GMarshalFunc_VOID__PARAM callback; 1567s # 1567s # g_return_if_fail (n_param_values == 2); 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = g_value_peek_pointer (param_values + 0); 1567s # } 1567s # else 1567s # { 1567s # data1 = g_value_peek_pointer (param_values + 0); 1567s # data2 = closure->data; 1567s # } 1567s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # g_marshal_value_peek_param (param_values + 1), 1567s # data2); 1567s # } 1567s # 1567s # void 1567s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1567s # GValue *return_value G_GNUC_UNUSED, 1567s # gpointer instance, 1567s # va_list args, 1567s # gpointer marshal_data, 1567s # int n_params, 1567s # GType *param_types) 1567s # { 1567s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1567s # gpointer arg1, 1567s # gpointer data2); 1567s # GCClosure *cc = (GCClosure *) closure; 1567s # gpointer data1, data2; 1567s # GMarshalFunc_VOID__PARAM callback; 1567s # gpointer arg0; 1567s # va_list args_copy; 1567s # 1567s # va_copy (args_copy, args); 1567s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1567s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1567s # arg0 = g_param_spec_ref (arg0); 1567s # va_end (args_copy); 1567s # 1567s # 1567s # if (G_CCLOSURE_SWAP_DATA (closure)) 1567s # { 1567s # data1 = closure->data; 1567s # data2 = instance; 1567s # } 1567s # else 1567s # { 1567s # data1 = instance; 1567s # data2 = closure->data; 1567s # } 1567s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1567s # 1567s # callback (data1, 1567s # arg0, 1567s # data2); 1567s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1567s # g_param_spec_unref (arg0); 1567s # } 1568s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1568s # tmpdir: /tmp/tmp_1pd7_lw 1568s # genmarshal: /usr/bin/glib-genmarshal 1568s # /tmp/tmp_1pd7_lw/tmpo7ybm6q3.list: VOID:STRING 1568s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_1pd7_lw/tmpo7ybm6q3.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1568s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1568s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1568s # 1568s # G_BEGIN_DECLS 1568s # 1568s # /* VOID:STRING (/tmp/tmp_1pd7_lw/tmpo7ybm6q3.list:1) */ 1568s # extern 1568s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1568s # GValue *return_value, 1568s # guint n_param_values, 1568s # const GValue *param_values, 1568s # gpointer invocation_hint, 1568s # gpointer marshal_data); 1568s # extern 1568s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1568s # GValue *return_value, 1568s # gpointer instance, 1568s # va_list args, 1568s # gpointer marshal_data, 1568s # int n_params, 1568s # GType *param_types); 1568s # 1568s # 1568s # G_END_DECLS 1568s # 1568s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1568s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_1pd7_lw/tmpo7ybm6q3.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1568s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # /* VOID:STRING (/tmp/tmp_1pd7_lw/tmpo7ybm6q3.list:1) */ 1568s # void 1568s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # guint n_param_values, 1568s # const GValue *param_values, 1568s # gpointer invocation_hint G_GNUC_UNUSED, 1568s # gpointer marshal_data) 1568s # { 1568s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1568s # gpointer arg1, 1568s # gpointer data2); 1568s # GCClosure *cc = (GCClosure *) closure; 1568s # gpointer data1, data2; 1568s # GMarshalFunc_VOID__STRING callback; 1568s # 1568s # g_return_if_fail (n_param_values == 2); 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = g_value_peek_pointer (param_values + 0); 1568s # } 1568s # else 1568s # { 1568s # data1 = g_value_peek_pointer (param_values + 0); 1568s # data2 = closure->data; 1568s # } 1568s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # g_marshal_value_peek_string (param_values + 1), 1568s # data2); 1568s # } 1568s # 1568s # void 1568s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # gpointer instance, 1568s # va_list args, 1568s # gpointer marshal_data, 1568s # int n_params, 1568s # GType *param_types) 1568s # { 1568s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1568s # gpointer arg1, 1568s # gpointer data2); 1568s # GCClosure *cc = (GCClosure *) closure; 1568s # gpointer data1, data2; 1568s # GMarshalFunc_VOID__STRING callback; 1568s # gpointer arg0; 1568s # va_list args_copy; 1568s # 1568s # va_copy (args_copy, args); 1568s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1568s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1568s # arg0 = g_strdup (arg0); 1568s # va_end (args_copy); 1568s # 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = instance; 1568s # } 1568s # else 1568s # { 1568s # data1 = instance; 1568s # data2 = closure->data; 1568s # } 1568s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # arg0, 1568s # data2); 1568s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1568s # g_free (arg0); 1568s # } 1568s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1568s # tmpdir: /tmp/tmpp9c3avze 1568s # genmarshal: /usr/bin/glib-genmarshal 1568s # /tmp/tmpp9c3avze/tmpqaeiel65.list: VOID:VARIANT 1568s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpp9c3avze/tmpqaeiel65.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1568s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1568s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1568s # 1568s # G_BEGIN_DECLS 1568s # 1568s # /* VOID:VARIANT (/tmp/tmpp9c3avze/tmpqaeiel65.list:1) */ 1568s # extern 1568s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1568s # GValue *return_value, 1568s # guint n_param_values, 1568s # const GValue *param_values, 1568s # gpointer invocation_hint, 1568s # gpointer marshal_data); 1568s # extern 1568s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1568s # GValue *return_value, 1568s # gpointer instance, 1568s # va_list args, 1568s # gpointer marshal_data, 1568s # int n_params, 1568s # GType *param_types); 1568s # 1568s # 1568s # G_END_DECLS 1568s # 1568s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1568s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpp9c3avze/tmpqaeiel65.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1568s # Environment: {'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'glibc/2.39-0ubuntu6 glib2.0/2.79.3-3ubuntu5 elfutils/0.190-1.1build1 dbus/1.14.10-4ubuntu2 gnome-desktop-testing/2021.1-3build1 pygobject/3.47.0-3build1 python3.12/3.12.2-4build2 python3-defaults/3.12.2-0ubuntu1 util-linux/2.39.3-9ubuntu2 dbus-python/1.3.2-5build2 dconf/0.40.0-4build1', 'XDG_SESSION_TYPE': 'unspecified', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/root', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-nKTRk6QYbu,guid=c73aa4503d31ed57f0abad0465f79376', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/installed-tests', 'XDG_SESSION_CLASS': 'background', 'XDG_SESSION_ID': 'c1', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.31oWYP/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.bbiI1gV390', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.J70skT/Xauthority', 'DEB_BUILD_OPTIONS': 'parallel=8', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'PWD': '/tmp/autopkgtest.31oWYP/build.RKw/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.31oWYP/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # #ifdef G_ENABLE_DEBUG 1568s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1568s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1568s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1568s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1568s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1568s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1568s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1568s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1568s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1568s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1568s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1568s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1568s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1568s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1568s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1568s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1568s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1568s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1568s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1568s # #else /* !G_ENABLE_DEBUG */ 1568s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1568s # * Do not access GValues directly in your code. Instead, use the 1568s # * g_value_get_*() functions 1568s # */ 1568s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1568s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1568s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1568s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1568s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1568s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1568s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1568s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1568s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1568s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1568s # #endif /* !G_ENABLE_DEBUG */ 1568s # 1568s # /* VOID:VARIANT (/tmp/tmpp9c3avze/tmpqaeiel65.list:1) */ 1568s # void 1568s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # guint n_param_values, 1568s # const GValue *param_values, 1568s # gpointer invocation_hint G_GNUC_UNUSED, 1568s # gpointer marshal_data) 1568s # { 1568s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1568s # gpointer arg1, 1568s # gpointer data2); 1568s # GCClosure *cc = (GCClosure *) closure; 1568s # gpointer data1, data2; 1568s # GMarshalFunc_VOID__VARIANT callback; 1568s # 1568s # g_return_if_fail (n_param_values == 2); 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = g_value_peek_pointer (param_values + 0); 1568s # } 1568s # else 1568s # { 1568s # data1 = g_value_peek_pointer (param_values + 0); 1568s # data2 = closure->data; 1568s # } 1568s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # g_marshal_value_peek_variant (param_values + 1), 1568s # data2); 1568s # } 1568s # 1568s # void 1568s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1568s # GValue *return_value G_GNUC_UNUSED, 1568s # gpointer instance, 1568s # va_list args, 1568s # gpointer marshal_data, 1568s # int n_params, 1568s # GType *param_types) 1568s # { 1568s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1568s # gpointer arg1, 1568s # gpointer data2); 1568s # GCClosure *cc = (GCClosure *) closure; 1568s # gpointer data1, data2; 1568s # GMarshalFunc_VOID__VARIANT callback; 1568s # gpointer arg0; 1568s # va_list args_copy; 1568s # 1568s # va_copy (args_copy, args); 1568s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1568s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1568s # arg0 = g_variant_ref_sink (arg0); 1568s # va_end (args_copy); 1568s # 1568s # 1568s # if (G_CCLOSURE_SWAP_DATA (closure)) 1568s # { 1568s # data1 = closure->data; 1568s # data2 = instance; 1568s # } 1568s # else 1568s # { 1568s # data1 = instance; 1568s # data2 = closure->data; 1568s # } 1568s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1568s # 1568s # callback (data1, 1568s # arg0, 1568s # data2); 1568s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1568s # g_variant_unref (arg0); 1568s # } 1568s 1..8 1568s ok - glib/genmarshal.py.test 1568s # Running test: glib/signals-refcount4.test 1568s TAP version 13 1568s # random seed: R02Sab254886be3a7d14fa3b9acf3294568d 1568s 1..1 1568s # Start of gobject tests 1568s # Start of refcount tests 1568s # init 0x1cd3a50 1568s # 1568s # init 0x1cd3ba8 1568s # 1569s # Executing: glib/signals-refcount4.test 1573s # dispose 0x1cd3a50! 1573s # 1573s # dispose 0x1cd3ba8! 1573s # 1573s ok 1 /gobject/refcount/signals 1573s # slow test /gobject/refcount/signals executed in 5.00 secs 1573s # End of refcount tests 1573s # End of gobject tests 1573s ok - glib/signals-refcount4.test 1573s # Running test: glib/network-address.test 1573s TAP version 13 1573s # random seed: R02S6ad1112bf336ab09ad401dec6e7ca51d 1573s 1..72 1573s # Start of network-address tests 1573s ok 1 /network-address/basic 1573s ok 2 /network-address/scope-id 1573s ok 3 /network-address/uri-scope-id 1573s ok 4 /network-address/to-string 1573s # Start of parse-host tests 1573s ok 5 /network-address/parse-host/0 1573s ok 6 /network-address/parse-host/1 1573s ok 7 /network-address/parse-host/2 1573s ok 8 /network-address/parse-host/3 1573s ok 9 /network-address/parse-host/4 1573s ok 10 /network-address/parse-host/5 1573s ok 11 /network-address/parse-host/6 1573s ok 12 /network-address/parse-host/7 1573s ok 13 /network-address/parse-host/8 1573s ok 14 /network-address/parse-host/9 1573s ok 15 /network-address/parse-host/10 1573s ok 16 /network-address/parse-host/11 1573s ok 17 /network-address/parse-host/12 1573s ok 18 /network-address/parse-host/13 1573s # End of parse-host tests 1573s # Start of parse-uri tests 1573s ok 19 /network-address/parse-uri/0 1573s ok 20 /network-address/parse-uri/1 1573s ok 21 /network-address/parse-uri/2 1573s ok 22 /network-address/parse-uri/3 1573s ok 23 /network-address/parse-uri/4 1573s ok 24 /network-address/parse-uri/5 1573s ok 25 /network-address/parse-uri/6 1573s ok 26 /network-address/parse-uri/7 1573s ok 27 /network-address/parse-uri/8 1573s ok 28 /network-address/parse-uri/9 1573s # End of parse-uri tests 1573s # Start of resolve-address tests 1573s # Input: 192.168.1.2 1573s ok 29 /network-address/resolve-address/0 1573s # Input: fe80::42 1573s ok 30 /network-address/resolve-address/1 1573s # Input: 192.168.1.2:80 1573s ok 31 /network-address/resolve-address/2 1573s # Input: [fe80::42] 1573s ok 32 /network-address/resolve-address/3 1573s # Input: [fe80::42]:80 1573s ok 33 /network-address/resolve-address/4 1573s # Input: 192.168.258 1573s ok 34 /network-address/resolve-address/5 1573s # Input: 192.11010306 1573s ok 35 /network-address/resolve-address/6 1573s # Input: 3232235778 1573s ok 36 /network-address/resolve-address/7 1573s # Input: 0300.0250.0001.0001 1573s ok 37 /network-address/resolve-address/8 1573s # Input: 0xC0.0xA8.0x01.0x02 1573s ok 38 /network-address/resolve-address/9 1573s # Input: 0xc0.0xa8.0x01.0x02 1573s ok 39 /network-address/resolve-address/10 1573s # Input: 0xc0a80102 1573s ok 40 /network-address/resolve-address/11 1573s # End of resolve-address tests 1573s # Start of loopback tests 1573s ok 41 /network-address/loopback/basic 1573s ok 42 /network-address/loopback/sync 1573s ok 43 /network-address/loopback/async 1573s # End of loopback tests 1573s # Start of localhost tests 1573s ok 44 /network-address/localhost/async 1573s ok 45 /network-address/localhost/sync 1573s # End of localhost tests 1573s # Start of happy-eyeballs tests 1573s ok 46 /network-address/happy-eyeballs/basic 1573s ok 47 /network-address/happy-eyeballs/parallel 1573s ok 48 /network-address/happy-eyeballs/slow-ipv4 1573s ok 49 /network-address/happy-eyeballs/slow-ipv6 1574s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1574s # Executing: glib/network-address.test 1574s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1574s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1574s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1574s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1574s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1574s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1574s # /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. 1574s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1574s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1575s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s ok 57 /network-address/happy-eyeballs/both-error 1575s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1575s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1575s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1575s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1575s # End of happy-eyeballs tests 1575s # End of network-address tests 1575s # Start of gresolver tests 1575s # Start of resolve-address tests 1575s # Input: 192.168.1.2 1575s ok 61 /gresolver/resolve-address/0 1575s # Input: fe80::42 1575s ok 62 /gresolver/resolve-address/1 1575s # Input: 192.168.1.2:80 1575s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1575s ok 63 /gresolver/resolve-address/2 1575s # Input: [fe80::42] 1575s # Error: Error resolving ?[fe80::42]?: Name or service not known 1575s ok 64 /gresolver/resolve-address/3 1575s # Input: [fe80::42]:80 1575s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1575s ok 65 /gresolver/resolve-address/4 1575s # Input: 192.168.258 1575s # Error: Error resolving ?192.168.258?: Name or service not known 1575s ok 66 /gresolver/resolve-address/5 1575s # Input: 192.11010306 1575s # Error: Error resolving ?192.11010306?: Name or service not known 1575s ok 67 /gresolver/resolve-address/6 1575s # Input: 3232235778 1575s # Error: Error resolving ?3232235778?: Name or service not known 1575s ok 68 /gresolver/resolve-address/7 1575s # Input: 0300.0250.0001.0001 1575s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1575s ok 69 /gresolver/resolve-address/8 1575s # Input: 0xC0.0xA8.0x01.0x02 1575s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1575s ok 70 /gresolver/resolve-address/9 1575s # Input: 0xc0.0xa8.0x01.0x02 1575s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1575s ok 71 /gresolver/resolve-address/10 1575s # Input: 0xc0a80102 1575s # Error: Error resolving ?0xc0a80102?: Name or service not known 1575s ok 72 /gresolver/resolve-address/11 1575s # End of resolve-address tests 1575s # End of gresolver tests 1575s ok - glib/network-address.test 1575s # Running test: glib/signals.test 1575s TAP version 13 1575s # random seed: R02S3f7f61fd06aa5d36e1e014dae05d32f2 1575s 1..31 1575s # Start of gobject tests 1575s # Start of signals tests 1575s ok 1 /gobject/signals/all-types 1575s ok 2 /gobject/signals/variant 1575s ok 3 /gobject/signals/destroy-target-object 1575s ok 4 /gobject/signals/generic-marshaller-1 1575s ok 5 /gobject/signals/generic-marshaller-2 1575s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1575s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1575s ok 8 /gobject/signals/generic-marshaller-int-return 1575s ok 9 /gobject/signals/generic-marshaller-uint-return 1575s ok 10 /gobject/signals/generic-marshaller-interface-return 1575s ok 11 /gobject/signals/custom-marshaller 1575s ok 12 /gobject/signals/connect 1575s ok 13 /gobject/signals/emission-hook 1575s ok 14 /gobject/signals/emitv 1575s ok 15 /gobject/signals/accumulator 1575s # Signal: accumulator-class-first 1575s # Signal: accumulator-class-last 1575s # Signal: accumulator-class-cleanup 1575s # Signal: accumulator-class-first-last 1575s # Signal: accumulator-class-first-last-cleanup 1575s # Signal: accumulator-class-last-cleanup 1575s ok 16 /gobject/signals/accumulator-class 1575s ok 17 /gobject/signals/introspection 1575s ok 18 /gobject/signals/block-handler 1575s ok 19 /gobject/signals/stop-emission 1575s ok 20 /gobject/signals/invocation-hint 1575s ok 21 /gobject/signals/test-disconnection-wrong-object 1575s ok 22 /gobject/signals/clear-signal-handler 1575s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1575s ok 23 /gobject/signals/lookup 1575s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1575s ok 24 /gobject/signals/parse-name 1575s ok 25 /gobject/signals/is-valid-name 1575s ok 26 /gobject/signals/weak-ref-disconnect 1575s # Start of lookup tests 1575s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1575s ok 27 /gobject/signals/lookup/invalid 1575s # End of lookup tests 1575s # Start of parse-name tests 1575s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1575s # Parser input: 1575s # Parser input: 7zip 1575s # Parser input: invalid:signal 1575s # Parser input: simple-detailed:: 1575s # Parser input: simple-detailed: 1575s # Parser input: : 1575s # Parser input: :: 1575s # Parser input: :valid-detail 1575s # Parser input: ::valid-detail 1575s ok 28 /gobject/signals/parse-name/invalid 1575s # End of parse-name tests 1575s # Start of invalid-name tests 1575s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1575s ok 29 /gobject/signals/invalid-name/colon 1575s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1575s ok 30 /gobject/signals/invalid-name/first-char 1575s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1575s ok 31 /gobject/signals/invalid-name/empty 1575s # End of invalid-name tests 1575s # End of signals tests 1575s # End of gobject tests 1575s ok - glib/signals.test 1575s # Running test: glib/cond.test 1575s TAP version 13 1575s # random seed: R02S4743ff280894eaa93b2da92d0c7ba0a6 1575s 1..4 1575s # Start of thread tests 1575s ok 1 /thread/cond1 1575s ok 2 /thread/cond2 1575s # Start of cond tests 1576s ok 3 /thread/cond/wait-until 1576s # slow test /thread/cond/wait-until executed in 1.02 secs 1576s # Start of wait-until tests 1576s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1576s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1577s ok 4 /thread/cond/wait-until/contended-and-interrupted 1577s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.11 secs 1577s # End of wait-until tests 1577s # End of cond tests 1577s # End of thread tests 1577s ok - glib/cond.test 1577s # Running test: glib/function-info.test 1577s TAP version 13 1577s # random seed: R02Sac2d49f4887b500091d6d3fbaefc2003 1577s 1..1 1577s # Start of function-info tests 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_NUYJK2/function-info/invoker/.dirs/runtime 1577s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1577s # /function-info/invoker summary: Test preparing a function invoker 1577s ok 1 /function-info/invoker 1577s # End of function-info tests 1577s ok - glib/function-info.test 1577s # Running test: glib/completion.test 1577s TAP version 13 1577s # random seed: R02Se314719067c0b54182e6ba007ef3c3b8 1577s 1..1 1577s # Start of completion tests 1577s ok 1 /completion/test-completion 1577s # End of completion tests 1577s ok - glib/completion.test 1577s # Running test: glib/gdbus-export.test 1577s TAP version 13 1577s # random seed: R02S568201480d37e739ecbcce665a322ed7 1577s 1..6 1577s # Start of gdbus tests 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration/.dirs/runtime 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s ok 1 /gdbus/object-registration 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/object-registration-with-closures/.dirs/runtime 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s ok 2 /gdbus/object-registration-with-closures 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/registered-interfaces/.dirs/runtime 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s ok 3 /gdbus/registered-interfaces 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/async-properties/.dirs/runtime 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s ok 4 /gdbus/async-properties 1577s # Start of threaded-unregistration tests 1577s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/home 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/cache 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/config 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/data 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/state 1577s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/object/.dirs/runtime 1577s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1577s # /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 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1577s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1578s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # Executing: glib/gdbus-export.test 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1579s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s ok 5 /gdbus/threaded-unregistration/object 1580s # slow test /gdbus/threaded-unregistration/object executed in 3.03 secs 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_QA4IK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1580s # /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 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1580s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1581s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1582s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1583s ok 6 /gdbus/threaded-unregistration/subtree 1583s # slow test /gdbus/threaded-unregistration/subtree executed in 2.24 secs 1583s # End of threaded-unregistration tests 1583s # End of gdbus tests 1583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1583s ok - glib/gdbus-export.test 1583s # Running test: glib/closure.test 1583s TAP version 13 1583s # random seed: R02S611a2421cf5f776b72e285ab6224304a 1583s 1..6 1583s # Start of closure tests 1583s ok 1 /closure/idle 1583s ok 2 /closure/timeout 1583s ok 3 /closure/iochannel 1583s ok 4 /closure/child 1583s ok 5 /closure/fd 1583s ok 6 /closure/signal 1583s # End of closure tests 1583s ok - glib/closure.test 1583s # Running test: glib/srvtarget.test 1583s TAP version 13 1583s # random seed: R02S9dc13c1b4e017178ed1d178f25931391 1583s 1..1 1583s # Start of srvtarget tests 1584s # Executing: glib/srvtarget.test 1584s ok 1 /srvtarget/srv-target-ordering 1584s # slow test /srvtarget/srv-target-ordering executed in 1.44 secs 1584s # End of srvtarget tests 1584s ok - glib/srvtarget.test 1584s # Running test: glib/thread.test 1584s TAP version 13 1584s # random seed: R02S6c334811dc319679cc1178904c3908fd 1584s 1..7 1584s # Start of thread tests 1584s ok 1 /thread/thread1 1584s ok 2 /thread/thread2 1584s ok 3 /thread/thread3 1584s ok 4 /thread/thread4 1584s ok 5 /thread/thread5 1584s ok 6 /thread/thread6 1584s ok 7 /thread/thread7 1584s # End of thread tests 1584s ok - glib/thread.test 1584s # Running test: glib/strfuncs.test 1584s TAP version 13 1584s # random seed: R02Sf01c80de0b06161fe996fcf18352ee58 1584s 1..50 1584s # Start of strfuncs tests 1584s ok 1 /strfuncs/ascii-strcasecmp 1584s ok 2 /strfuncs/ascii_strdown 1584s ok 3 /strfuncs/ascii_strdup 1584s ok 4 /strfuncs/ascii_strtod 1584s ok 5 /strfuncs/bounds-check 1584s ok 6 /strfuncs/has-prefix 1584s ok 7 /strfuncs/has-prefix-macro 1584s ok 8 /strfuncs/has-suffix 1584s ok 9 /strfuncs/has-suffix-macro 1584s ok 10 /strfuncs/memdup 1584s ok 11 /strfuncs/memdup2 1584s ok 12 /strfuncs/set_str 1584s ok 13 /strfuncs/stpcpy 1584s ok 14 /strfuncs/str_match_string 1584s ok 15 /strfuncs/str_tokenize_and_fold 1584s ok 16 /strfuncs/strcanon 1584s ok 17 /strfuncs/strchomp 1584s ok 18 /strfuncs/strchug 1584s ok 19 /strfuncs/strcompress-strescape 1584s ok 20 /strfuncs/strconcat 1584s ok 21 /strfuncs/strdelimit 1584s ok 22 /strfuncs/strdup 1584s ok 23 /strfuncs/strdup-printf 1584s ok 24 /strfuncs/strdupv 1584s ok 25 /strfuncs/strerror 1584s ok 26 /strfuncs/strip-context 1584s ok 27 /strfuncs/strjoin 1584s ok 28 /strfuncs/strjoinv 1584s ok 29 /strfuncs/strlcat 1584s ok 30 /strfuncs/strlcpy 1584s ok 31 /strfuncs/strncasecmp 1584s ok 32 /strfuncs/strndup 1584s ok 33 /strfuncs/strnfill 1584s ok 34 /strfuncs/strreverse 1584s ok 35 /strfuncs/strsignal 1584s ok 36 /strfuncs/strsplit 1584s ok 37 /strfuncs/strsplit-set 1584s ok 38 /strfuncs/strstr 1584s ok 39 /strfuncs/strtod 1584s ok 40 /strfuncs/strtoull-strtoll 1584s ok 41 /strfuncs/strup 1584s ok 42 /strfuncs/strv-contains 1584s ok 43 /strfuncs/strv-equal 1584s ok 44 /strfuncs/strv-length 1584s ok 45 /strfuncs/test-is-to-digit 1584s ok 46 /strfuncs/transliteration 1584s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1584s ok 47 /strfuncs/str-equal 1584s # Start of ascii-string-to-num tests 1584s ok 48 /strfuncs/ascii-string-to-num/pathological 1584s ok 49 /strfuncs/ascii-string-to-num/usual 1584s # End of ascii-string-to-num tests 1584s # Start of strdup tests 1584s ok 50 /strfuncs/strdup/inline 1584s # End of strdup tests 1584s # End of strfuncs tests 1584s ok - glib/strfuncs.test 1584s # Running test: glib/socket.test 1584s TAP version 13 1584s # random seed: R02S9f637ec9e697923882862f8847b71583 1584s 1..28 1584s # Start of socket tests 1585s ok 1 /socket/ipv4_sync 1585s # slow test /socket/ipv4_sync executed in 1.00 secs 1586s ok 2 /socket/ipv4_async 1586s # slow test /socket/ipv4_async executed in 1.02 secs 1586s ok 3 /socket/ipv6_sync 1586s ok 4 /socket/ipv6_async 1586s ok 5 /socket/ipv6_v4mapped 1587s ok 6 /socket/close_graceful 1587s # slow test /socket/close_graceful executed in 1.00 secs 1587s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1587s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1587s ok 8 /socket/fd_reuse 1587s ok 9 /socket/address 1587s ok 10 /socket/unix-from-fd 1587s ok 11 /socket/unix-connection 1587s ok 12 /socket/unix-connection-ancillary-data 1587s ok 13 /socket/source-postmortem 1587s ok 14 /socket/read_write 1587s ok 15 /socket/read_writev 1587s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1587s ok 16 /socket/receive_bytes 1587s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1587s ok 17 /socket/receive_bytes_from 1587s # Start of ipv4_sync tests 1587s ok 18 /socket/ipv4_sync/datagram 1587s # Start of datagram tests 1588s ok 19 /socket/ipv4_sync/datagram/timeouts 1588s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.11 secs 1588s # End of datagram tests 1588s # End of ipv4_sync tests 1588s # Start of ipv6_sync tests 1588s ok 20 /socket/ipv6_sync/datagram 1588s # Start of datagram tests 1589s # Executing: glib/socket.test 1589s ok 21 /socket/ipv6_sync/datagram/timeouts 1589s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1589s # End of datagram tests 1589s # End of ipv6_sync tests 1589s # Start of reuse tests 1589s ok 22 /socket/reuse/tcp 1589s ok 23 /socket/reuse/udp 1589s # End of reuse tests 1589s # Start of get_available tests 1590s ok 24 /socket/get_available/datagram 1590s ok 25 /socket/get_available/stream 1590s # End of get_available tests 1590s # Start of credentials tests 1590s # Supported on this OS: GCredentials:linux-ucred:pid=0 1590s ok 26 /socket/credentials/tcp_client 1590s # Supported on this OS: GCredentials:linux-ucred:pid=0 1590s ok 27 /socket/credentials/tcp_server 1590s # Supported on this OS: GCredentials:linux-ucred:pid=12838,uid=1000,gid=1000 1590s ok 28 /socket/credentials/unix_socketpair 1590s # End of credentials tests 1590s # End of socket tests 1590s ok - glib/socket.test 1590s # Running test: glib/unix-mounts.test 1590s TAP version 13 1590s # random seed: R02S984bdf4ab8627705a20ba83ccd17a66f 1590s 1..2 1590s # Start of unix-mounts tests 1590s ok 1 /unix-mounts/is-system-fs-type 1590s ok 2 /unix-mounts/is-system-device-path 1590s # End of unix-mounts tests 1590s ok - glib/unix-mounts.test 1590s # Running test: glib/utils.test 1590s TAP version 13 1590s # random seed: R02S4f49e8d914d6807c65b3c5fb8e05d700 1590s 1..40 1590s # Start of utils tests 1590s ok 1 /utils/language-names 1590s ok 2 /utils/locale-variants 1590s ok 3 /utils/version 1590s ok 4 /utils/appname 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1590s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1590s ok 5 /utils/prgname-thread-safety 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1590s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1590s ok 6 /utils/tmpdir 1590s ok 7 /utils/basic_bits 1590s ok 8 /utils/bits 1590s ok 9 /utils/swap 1590s ok 10 /utils/find-program 1590s ok 11 /utils/find-program-for-path 1590s ok 12 /utils/debug 1590s ok 13 /utils/codeset 1590s ok 14 /utils/codeset2 1590s ok 15 /utils/console-charset 1590s ok 16 /utils/gettext 1590s ok 17 /utils/username 1590s ok 18 /utils/realname 1590s ok 19 /utils/hostname 1590s ok 20 /utils/xdgdirs 1590s ok 21 /utils/specialdir 1590s # NAME: Ubuntu 1590s ok 22 /utils/os-info 1590s ok 23 /utils/clear-pointer 1590s ok 24 /utils/clear-pointer-cast 1590s ok 25 /utils/take-pointer 1590s ok 26 /utils/clear-source 1590s ok 27 /utils/misc-mem 1590s # /utils/aligned-mem summary: Aligned memory allocator 1590s # Alignment must not be zero 1590s # Alignment must be a power of two 1590s # Alignment must be a multiple of sizeof(void*) 1590s ok 28 /utils/aligned-mem 1590s # /utils/free-sized summary: Check that g_free_sized() works 1590s ok 29 /utils/free-sized 1590s ok 30 /utils/nullify 1590s ok 31 /utils/atexit 1590s ok 32 /utils/check-setuid 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1590s ok 33 /utils/int-limits 1590s ok 34 /utils/clear-list 1590s ok 35 /utils/clear-slist 1590s # Start of specialdir tests 1590s ok 36 /utils/specialdir/desktop 1590s # End of specialdir tests 1590s # Start of clear-pointer tests 1590s ok 37 /utils/clear-pointer/side-effects 1590s # End of clear-pointer tests 1590s # Start of aligned-mem tests 1590s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1590s ok 38 /utils/aligned-mem/alignment 1590s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1590s ok 39 /utils/aligned-mem/zeroed 1590s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1590s ok 40 /utils/aligned-mem/free-sized 1590s # Start of subprocess tests 1590s # End of subprocess tests 1590s # End of aligned-mem tests 1590s # End of utils tests 1590s ok - glib/utils.test 1590s # Running test: glib/pollable.test 1590s TAP version 13 1590s # random seed: R02S79c3922a4ee420370ad2a881a95bbca5 1590s 1..6 1590s # Start of pollable tests 1590s ok 1 /pollable/converter 1590s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf6ba8 and GSocketClientAsyncConnectData 0xaf00a8 1590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf76c0 for GSocketClientAsyncConnectData 0xaf00a8 1590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1590s ok 2 /pollable/socket 1590s # Start of unix tests 1590s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1590s ok 3 /pollable/unix/pipe 1590s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1590s ok 4 /pollable/unix/pty 1590s # /pollable/unix/file summary: Test that regular files are not considered pollable 1590s ok 5 /pollable/unix/file 1590s # /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 1590s ok 6 /pollable/unix/nulldev 1590s # End of unix tests 1590s # End of pollable tests 1590s ok - glib/pollable.test 1590s # Running test: glib/utils-c-99.test 1590s TAP version 13 1590s # random seed: R02S466cbc4998de0af3d4517ee7be95b15d 1590s 1..40 1590s # Start of utils tests 1590s ok 1 /utils/language-names 1590s ok 2 /utils/locale-variants 1590s ok 3 /utils/version 1590s ok 4 /utils/appname 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1590s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1590s ok 5 /utils/prgname-thread-safety 1590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1590s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1590s ok 6 /utils/tmpdir 1590s ok 7 /utils/basic_bits 1590s ok 8 /utils/bits 1590s ok 9 /utils/swap 1590s ok 10 /utils/find-program 1590s ok 11 /utils/find-program-for-path 1590s ok 12 /utils/debug 1590s ok 13 /utils/codeset 1590s ok 14 /utils/codeset2 1590s ok 15 /utils/console-charset 1590s ok 16 /utils/gettext 1590s ok 17 /utils/username 1590s ok 18 /utils/realname 1590s ok 19 /utils/hostname 1590s ok 20 /utils/xdgdirs 1590s ok 21 /utils/specialdir 1590s # NAME: Ubuntu 1590s ok 22 /utils/os-info 1590s ok 23 /utils/clear-pointer 1590s ok 24 /utils/clear-pointer-cast 1590s ok 25 /utils/take-pointer 1590s ok 26 /utils/clear-source 1590s ok 27 /utils/misc-mem 1590s # /utils/aligned-mem summary: Aligned memory allocator 1590s # Alignment must not be zero 1590s # Alignment must be a power of two 1590s # Alignment must be a multiple of sizeof(void*) 1590s ok 28 /utils/aligned-mem 1590s # /utils/free-sized summary: Check that g_free_sized() works 1590s ok 29 /utils/free-sized 1590s ok 30 /utils/nullify 1590s ok 31 /utils/atexit 1590s ok 32 /utils/check-setuid 1590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1590s ok 33 /utils/int-limits 1590s ok 34 /utils/clear-list 1590s ok 35 /utils/clear-slist 1590s # Start of specialdir tests 1590s ok 36 /utils/specialdir/desktop 1590s # End of specialdir tests 1590s # Start of clear-pointer tests 1590s ok 37 /utils/clear-pointer/side-effects 1590s # End of clear-pointer tests 1590s # Start of aligned-mem tests 1590s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1590s ok 38 /utils/aligned-mem/alignment 1590s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1590s ok 39 /utils/aligned-mem/zeroed 1590s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1590s ok 40 /utils/aligned-mem/free-sized 1590s # Start of subprocess tests 1590s # End of subprocess tests 1590s # End of aligned-mem tests 1590s # End of utils tests 1590s ok - glib/utils-c-99.test 1590s # Running test: glib/slice.test 1590s TAP version 13 1590s # random seed: R02S93c1a88202e2c4e969dd520cba4708ab 1590s 1..3 1590s # Start of slice tests 1590s ok 1 /slice/copy 1590s ok 2 /slice/chain 1592s ok 3 /slice/allocate 1592s # slow test /slice/allocate executed in 1.97 secs 1592s # End of slice tests 1592s ok - glib/slice.test 1592s # Running test: glib/objects-refcount2.test 1592s TAP version 13 1592s # random seed: R02S1ec24b3f165ac122996d4e25c10c469a 1592s 1..1 1592s # Start of gobject tests 1592s # Start of refcount tests 1592s # init 0x8361d8 1592s # 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1592s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1593s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # Executing: glib/objects-refcount2.test 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1598s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # Executing: glib/objects-refcount2.test 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1599s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1600s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1601s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1602s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1603s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # Executing: glib/objects-refcount2.test 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1604s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1605s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1606s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1607s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1608s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # Executing: glib/objects-refcount2.test 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1609s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1610s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1611s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1612s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1613s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # Executing: glib/objects-refcount2.test 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1614s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1615s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1616s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1617s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1618s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # Executing: glib/objects-refcount2.test 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1619s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1620s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1621s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1622s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1623s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # Executing: glib/objects-refcount2.test 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1624s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1625s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1626s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1627s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1628s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # Executing: glib/objects-refcount2.test 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1629s # . 1630s # . 1630s # . 1630s # dispose 0x8361d8! 1630s # 1630s ok 1 /gobject/refcount/object-advanced 1630s # slow test /gobject/refcount/object-advanced executed in 37.60 secs 1630s # End of refcount tests 1630s # End of gobject tests 1630s ok - glib/objects-refcount2.test 1630s # Running test: glib/node.test 1630s TAP version 13 1630s # random seed: R02Sbe2b8e8b55c0fbe3840b6cc0a7bf441d 1630s 1..6 1630s # Start of node tests 1630s ok 1 /node/allocation 1630s ok 2 /node/construction 1630s ok 3 /node/traversal 1630s ok 4 /node/misc 1630s ok 5 /node/unlink 1630s ok 6 /node/copy 1630s # End of node tests 1630s ok - glib/node.test 1630s # Running test: glib/dynamictests.test 1630s TAP version 13 1630s # random seed: R02S27d4cf72e643bd3b63f644f78397097a 1630s 1..2 1630s # Start of GObject tests 1630s ok 1 /GObject/threaded-dynamic-ref-unref-init 1630s ok 2 /GObject/dynamic-interface-properties 1630s # End of GObject tests 1630s ok - glib/dynamictests.test 1630s # Running test: glib/pathbuf.test 1630s TAP version 13 1630s # random seed: R02Sb4ffeb23fe73ec69712d042179e19e9d 1630s 1..3 1630s # Start of pathbuf tests 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_1ZNLK2/pathbuf/init/.dirs/runtime 1630s # Initializing empty path buf 1630s # Initializing with empty path 1630s # Initializing with full path 1630s # Initializing with no path 1630s # Allocating GPathBuf on the heap 1630s ok 1 /pathbuf/init 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_1ZNLK2/pathbuf/push-pop/.dirs/runtime 1630s # Pushing relative path component 1630s # Pushing absolute path component 1630s # Popping a path component 1630s # Can't pop the last element of a path buffer 1630s ok 2 /pathbuf/push-pop 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_1ZNLK2/pathbuf/filename-extension/.dirs/runtime 1630s ok 3 /pathbuf/filename-extension 1630s # End of pathbuf tests 1630s ok - glib/pathbuf.test 1630s # Running test: glib/converter-stream.test 1630s TAP version 13 1630s # random seed: R02Sb103218533e32b6c0eaf960571bd5ad4 1630s 1..17 1630s # Start of converter tests 1630s ok 1 /converter/basics 1630s # End of converter tests 1630s # Start of converter-input-stream tests 1630s ok 2 /converter-input-stream/expander 1630s ok 3 /converter-input-stream/compressor 1630s # Start of truncation tests 1630s ok 4 /converter-input-stream/truncation/zlib 1631s ok 5 /converter-input-stream/truncation/gzip 1631s ok 6 /converter-input-stream/truncation/raw 1631s # End of truncation tests 1631s # Start of charset tests 1631s ok 7 /converter-input-stream/charset/utf8->latin1 1631s ok 8 /converter-input-stream/charset/latin1->utf8 1631s ok 9 /converter-input-stream/charset/fallbacks 1631s # End of charset tests 1631s # End of converter-input-stream tests 1631s # Start of converter-output-stream tests 1631s # Start of roundtrip tests 1631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1631s ok 10 /converter-output-stream/roundtrip/zlib-0 1631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1632s ok 11 /converter-output-stream/roundtrip/zlib-9 1632s # slow test /converter-output-stream/roundtrip/zlib-9 executed in 0.50 secs 1632s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1632s ok 12 /converter-output-stream/roundtrip/gzip-0 1632s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1632s ok 13 /converter-output-stream/roundtrip/gzip-9 1632s # slow test /converter-output-stream/roundtrip/gzip-9 executed in 0.64 secs 1632s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1633s ok 14 /converter-output-stream/roundtrip/raw-0 1633s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1633s ok 15 /converter-output-stream/roundtrip/raw-9 1633s # End of roundtrip tests 1633s # End of converter-output-stream tests 1633s # Start of converter-stream tests 1633s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1633s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10ffae0 and GSocketClientAsyncConnectData 0x10f9d18 1633s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1633s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1633s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1100720 for GSocketClientAsyncConnectData 0x10f9d18 1633s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1633s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1633s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1633s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1633s ok 16 /converter-stream/pollable 1633s ok 17 /converter-stream/leftover 1633s # End of converter-stream tests 1633s ok - glib/converter-stream.test 1633s # Running test: glib/utf8-performance.test 1633s TAP version 13 1633s # random seed: R02Scb030363666f027cab3df2fdc7efe828 1633s 1..36 1633s # Start of utf8 tests 1633s # Start of perf tests 1633s # Start of get_char tests 1633s # max perf: 2.5 MB/s 1633s ok 1 /utf8/perf/get_char/ascii 1633s # max perf: 33.5 MB/s 1633s ok 2 /utf8/perf/get_char/latin1 1633s # max perf: 80.0 MB/s 1633s ok 3 /utf8/perf/get_char/cyrillic 1633s # max perf: 78.0 MB/s 1633s ok 4 /utf8/perf/get_char/han 1633s # End of get_char tests 1633s # Start of get_char-backwards tests 1633s # max perf: 21.5 MB/s 1633s ok 5 /utf8/perf/get_char-backwards/ascii 1633s # max perf: 67.0 MB/s 1633s ok 6 /utf8/perf/get_char-backwards/latin1 1633s # max perf: 80.0 MB/s 1633s ok 7 /utf8/perf/get_char-backwards/cyrillic 1633s # max perf: 78.0 MB/s 1633s ok 8 /utf8/perf/get_char-backwards/han 1633s # End of get_char-backwards tests 1633s # Start of get_char_validated tests 1633s # max perf: 21.5 MB/s 1633s ok 9 /utf8/perf/get_char_validated/ascii 1633s # max perf: 67.0 MB/s 1633s ok 10 /utf8/perf/get_char_validated/latin1 1633s # max perf: 53.3 MB/s 1633s ok 11 /utf8/perf/get_char_validated/cyrillic 1633s # max perf: 78.0 MB/s 1633s ok 12 /utf8/perf/get_char_validated/han 1633s # End of get_char_validated tests 1633s # Start of utf8_to_ucs4 tests 1633s # max perf: 21.5 MB/s 1633s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1633s # max perf: 22.3 MB/s 1633s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1633s # max perf: 40.0 MB/s 1633s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1633s # max perf: 39.0 MB/s 1633s ok 16 /utf8/perf/utf8_to_ucs4/han 1633s # End of utf8_to_ucs4 tests 1633s # Start of utf8_to_ucs4-sized tests 1633s # max perf: 14.3 MB/s 1633s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1633s # max perf: 33.5 MB/s 1633s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1633s # max perf: 40.0 MB/s 1633s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1633s # max perf: 52.0 MB/s 1633s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1633s # End of utf8_to_ucs4-sized tests 1633s # Start of utf8_to_ucs4_fast tests 1633s # max perf: 21.5 MB/s 1633s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1633s # max perf: 33.5 MB/s 1633s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1633s # max perf: 80.0 MB/s 1633s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1633s # max perf: 52.0 MB/s 1633s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1633s # End of utf8_to_ucs4_fast tests 1633s # Start of utf8_to_ucs4_fast-sized tests 1633s # max perf: 21.5 MB/s 1633s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1633s # max perf: 33.5 MB/s 1633s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1633s # max perf: 80.0 MB/s 1633s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1633s # max perf: 78.0 MB/s 1633s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1633s # End of utf8_to_ucs4_fast-sized tests 1633s # Start of utf8_validate tests 1633s # max perf: 43.0 MB/s 1633s ok 29 /utf8/perf/utf8_validate/ascii 1633s # max perf: 67.0 MB/s 1633s ok 30 /utf8/perf/utf8_validate/latin1 1633s # max perf: 80.0 MB/s 1633s ok 31 /utf8/perf/utf8_validate/cyrillic 1633s # max perf: 78.0 MB/s 1633s ok 32 /utf8/perf/utf8_validate/han 1633s # End of utf8_validate tests 1633s # Start of utf8_validate-sized tests 1633s # max perf: 43.0 MB/s 1633s ok 33 /utf8/perf/utf8_validate-sized/ascii 1633s # max perf: 67.0 MB/s 1633s ok 34 /utf8/perf/utf8_validate-sized/latin1 1633s # max perf: 80.0 MB/s 1633s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1633s # max perf: 156.0 MB/s 1633s ok 36 /utf8/perf/utf8_validate-sized/han 1633s # End of utf8_validate-sized tests 1633s # End of perf tests 1633s # End of utf8 tests 1633s ok - glib/utf8-performance.test 1633s # Running test: glib/signal-handler.test 1633s TAP version 13 1633s # random seed: R02S905e58642fa1b5b0cfc5d07baa8e97a8 1633s 1..7 1633s # Start of signal tests 1633s # Start of handler tests 1633s # min perf: connected 1 handlers in 0.000 seconds 1633s ok 1 /signal/handler/connect-many 1633s # min perf: disconnected 1 handlers in 0.000 seconds 1633s ok 2 /signal/handler/disconnect-many-ordered 1633s # min perf: disconnected 1 handlers in 0.000 seconds 1633s ok 3 /signal/handler/disconnect-many-inverse 1633s # min perf: disconnected 1 handlers in 0.000 seconds 1633s ok 4 /signal/handler/disconnect-many-random 1633s # min perf: disconnected 1 handlers in 0.000 seconds 1633s ok 5 /signal/handler/disconnect-2-signals 1633s # min perf: disconnected 1 handlers in 0.000 seconds 1633s ok 6 /signal/handler/disconnect-2-objects 1633s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1633s ok 7 /signal/handler/block-many 1633s # End of handler tests 1633s # End of signal tests 1633s ok - glib/signal-handler.test 1633s # Running test: glib/gdbus-non-socket.test 1633s TAP version 13 1633s # random seed: R02S5dfebb82744783f7d1956f24e90a613c 1633s 1..1 1633s # Start of gdbus tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_WVT2K2/gdbus/non-socket/.dirs/runtime 1633s ok 1 /gdbus/non-socket 1633s # End of gdbus tests 1633s ok - glib/gdbus-non-socket.test 1633s # Running test: glib/socket-address.test 1633s TAP version 13 1633s # random seed: R02S3c05ac4fa59ac34dcf6cb5b6de74c97a 1633s 1..2 1633s # Start of socket tests 1633s # Start of address tests 1633s # Start of unix tests 1633s ok 1 /socket/address/unix/construct 1633s ok 2 /socket/address/unix/to-string 1633s # End of unix tests 1633s # End of address tests 1633s # End of socket tests 1633s ok - glib/socket-address.test 1633s # Running test: glib/application-command-line.test 1633s TAP version 13 1633s # random seed: R02S4e442156213a663458e0d86e3c3a1e95 1633s 1..1 1633s # Start of application-command-line tests 1633s ok 1 /application-command-line/basic-properties 1633s # End of application-command-line tests 1633s ok - glib/application-command-line.test 1633s # Running test: glib/portal-support-flatpak-gsettings-only.test 1633s TAP version 13 1633s # random seed: R02S56cecf3a596f0b6a0105a94d1e770bf3 1633s 1..1 1633s # Start of portal-support tests 1633s # Start of flatpak tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/runtime 1633s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_LOAXK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1633s ok 1 /portal-support/flatpak/gsettings 1633s # End of flatpak tests 1633s # End of portal-support tests 1633s ok - glib/portal-support-flatpak-gsettings-only.test 1633s # Running test: glib/gdbus-peer-object-manager.test 1633s TAP version 13 1633s # random seed: R02Sc41e9b835f1d7dc9ef6ebdb088e85807 1633s 1..2 1633s # Start of gdbus tests 1633s # Start of peer-object-manager tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/normal/.dirs/runtime 1633s ok 1 /gdbus/peer-object-manager/normal 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_I0QWK2/gdbus/peer-object-manager/root/.dirs/runtime 1633s ok 2 /gdbus/peer-object-manager/root 1633s # End of peer-object-manager tests 1633s # End of gdbus tests 1633s ok - glib/gdbus-peer-object-manager.test 1633s # Running test: glib/overflow-fallback.test 1633s TAP version 13 1633s # random seed: R02S9d5a403c69907f5d32082891ca8f3f25 1633s 1..6 1633s # Start of glib tests 1633s # Start of checked-math tests 1633s ok 1 /glib/checked-math/guint-add 1633s ok 2 /glib/checked-math/guint-mul 1633s ok 3 /glib/checked-math/guint64-add 1633s ok 4 /glib/checked-math/guint64-mul 1633s ok 5 /glib/checked-math/gsize-add 1633s ok 6 /glib/checked-math/gsize-mul 1633s # End of checked-math tests 1633s # End of glib tests 1633s ok - glib/overflow-fallback.test 1633s # Running test: glib/registered-type-info.test 1634s TAP version 13 1634s # random seed: R02Sf2ef6ad1c51b37081016ebfbce5d4b74 1634s 1..1 1634s # Start of registered-type-info tests 1634s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/home 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/cache 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/system-config2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/config 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/system-data2 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/data 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/state 1634s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_2JNVK2/registered-type-info/boxed/.dirs/runtime 1634s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1634s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1634s # Expecting CClosure to not be boxed 1634s # Expecting TypeCValue to not be boxed 1634s # Expecting InitiallyUnownedClass to not be boxed 1634s # Expecting BookmarkFile to be boxed 1634s # Expecting Closure to be boxed 1634s # Expecting Object to not be boxed 1634s ok 1 /registered-type-info/boxed 1634s # End of registered-type-info tests 1634s ok - glib/registered-type-info.test 1634s # Running test: glib/sequence.test 1634s TAP version 13 1634s # random seed: R02Sa4ea6410874d7b052ec40dcdb627cab1 1634s 1..16 1634s # Start of sequence tests 1634s ok 1 /sequence/out-of-range-jump 1634s ok 2 /sequence/iter-move 1634s # Executing: glib/sequence.test 1634s ok 3 /sequence/insert-sorted-non-pointer 1634s ok 4 /sequence/stable-sort 1634s ok 5 /sequence/is_empty 1634s # Start of random tests 1635s ok 6 /sequence/random/seed:825541564 1635s # slow test /sequence/random/seed:825541564 executed in 1.41 secs 1637s ok 7 /sequence/random/seed:801678400 1637s # slow test /sequence/random/seed:801678400 executed in 1.95 secs 1639s # Executing: glib/sequence.test 1639s ok 8 /sequence/random/seed:1477639090 1639s # slow test /sequence/random/seed:1477639090 executed in 2.07 secs 1641s ok 9 /sequence/random/seed:3369132895 1641s # slow test /sequence/random/seed:3369132895 executed in 1.27 secs 1642s ok 10 /sequence/random/seed:1192944867 1642s # slow test /sequence/random/seed:1192944867 executed in 1.29 secs 1643s ok 11 /sequence/random/seed:770458294 1643s # slow test /sequence/random/seed:770458294 executed in 1.31 secs 1644s # Executing: glib/sequence.test 1644s ok 12 /sequence/random/seed:1099575817 1644s # slow test /sequence/random/seed:1099575817 executed in 1.12 secs 1646s ok 13 /sequence/random/seed:590523467 1646s # slow test /sequence/random/seed:590523467 executed in 1.21 secs 1647s ok 14 /sequence/random/seed:3583571454 1647s # slow test /sequence/random/seed:3583571454 executed in 1.17 secs 1648s ok 15 /sequence/random/seed:579241222 1648s # slow test /sequence/random/seed:579241222 executed in 1.29 secs 1649s # Executing: glib/sequence.test 1649s ok 16 /sequence/random/seed:369347546 1649s # slow test /sequence/random/seed:369347546 executed in 1.15 secs 1649s # End of random tests 1649s # End of sequence tests 1649s ok - glib/sequence.test 1649s # Running test: glib/performance.test 1649s Running test simple-construction 1654s # Executing: glib/performance.test 1658s Millions of constructed objects per second: 5.138 1658s Running test simple-construction1 1659s # Executing: glib/performance.test 1664s # Executing: glib/performance.test 1664s Millions of constructed objects per second: 35.760 1664s Running test complex-construction 1669s # Executing: glib/performance.test 1669s Millions of constructed objects per second: 2.208 1669s Running test complex-construction1 1674s # Executing: glib/performance.test 1677s Millions of constructed objects per second: 3.560 1677s Running test complex-construction2 1679s # Executing: glib/performance.test 1684s # Executing: glib/performance.test 1685s Millions of constructed objects per second: 3.945 1685s Running test finalization 1687s Millions of finalized objects per second: 0.991 1687s Running test type-check 1689s Million type checks per second: 22.22 1689s Running test emit-unhandled 1689s # Executing: glib/performance.test 1691s Emissions per second: 1444124 1691s Running test emit-unhandled-empty 1692s Emissions per second: 11879540 1692s Running test emit-unhandled-generic 1694s Emissions per second: 1980048 1694s Running test emit-unhandled-generic-empty 1694s # Executing: glib/performance.test 1695s Emissions per second: 11884979 1695s Running test emit-unhandled-args 1697s Emissions per second: 1171915 1697s Running test emit-handled 1699s # Executing: glib/performance.test 1699s Emissions per second: 999348 1699s Running test emit-handled-empty 1701s Emissions per second: 1031570 1701s Running test emit-handled-generic 1703s Emissions per second: 1021625 1703s Running test emit-handled-generic-empty 1704s # Executing: glib/performance.test 1704s Emissions per second: 1720746 1704s Running test emit-handled-args 1706s Emissions per second: 869837 1706s Running test notify-unhandled 1708s Notify (unhandled) per second: 6295597 1708s Running test notify-by-pspec-unhandled 1709s # Executing: glib/performance.test 1709s Notify (unhandled) per second: 20885928 1709s Running test notify-handled 1712s Notify per second: 552190 1712s Running test notify-by-pspec-handled 1714s # Executing: glib/performance.test 1715s Notify per second: 595554 1715s Running test property-set 1717s Property set per second: 2733291 1717s Running test property-get 1719s # Executing: glib/performance.test 1719s Property get per second: 2600154 1719s Running test refcount 1724s # Executing: glib/performance.test 1725s Million refs+unref per second: 7.64 1725s ok - glib/performance.test 1725s # Running test: glib/gdbus-connection-flush.test 1725s TAP version 13 1725s # random seed: R02Se1bcfb0e2b96884fc8cc1584133533b9 1725s 1..2 1725s # Start of gdbus tests 1725s # Start of connection tests 1725s # Start of flush tests 1725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/home 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/cache 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/system-config2 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/config 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/system-data2 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/data 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/state 1725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/busy/.dirs/runtime 1726s ok 1 /gdbus/connection/flush/busy 1726s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/home 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/cache 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/system-config2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/config 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/system-data2 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/data 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/state 1726s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_N54WK2/gdbus/connection/flush/idle/.dirs/runtime 1726s ok 2 /gdbus/connection/flush/idle 1726s # End of flush tests 1726s # End of connection tests 1726s # End of gdbus tests 1726s ok - glib/gdbus-connection-flush.test 1726s # Running test: glib/atomic-c-11.test 1726s TAP version 13 1726s # random seed: R02Sbe91330aac4a6eb75840cca7fa2218fd 1726s 1..2 1726s # Start of atomic tests 1726s ok 1 /atomic/types 1726s ok 2 /atomic/threaded 1726s # End of atomic tests 1726s ok - glib/atomic-c-11.test 1726s # Running test: glib/cxx-14.test 1726s TAP version 13 1726s # random seed: R02S43d1f0f9cd9bc17d92627ec2e45ffe17 1726s 1..2 1726s # Start of gtask tests 1726s # 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. 1726s ok 1 /gtask/name 1726s # Start of name tests 1726s # 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. 1726s ok 2 /gtask/name/macro-wrapper 1726s # End of name tests 1726s # End of gtask tests 1726s ok - glib/cxx-14.test 1726s # Running test: glib/closure-refcount.test 1726s TAP version 13 1726s # random seed: R02S8c8f837fa177411bfae25dd3538d370f 1726s 1..1 1726s # Start of closure tests 1726s # Init 0x1ffa858 1726s # Yielding from main thread 1726s # Yielding from thread1 1726s # Yielding from thread2 1726s # Yielding from main thread 1726s # Yielding from main thread 1726s # Yielding from thread1 1726s # Yielding from main thread 1726s # Yielding from main thread 1726s # Yielding from thread1 1727s # Yielding from thread2 1727s # Yielding from main thread 1727s # Yielding from main thread 1727s # Yielding from thread1 1727s # Yielding from thread2 1727s # Yielding from main thread 1727s # Yielding from main thread 1727s # Yielding from thread2 1727s # Stopping 1727s # Stopped 1727s ok 1 /closure/refcount 1727s # slow test /closure/refcount executed in 1.10 secs 1727s # End of closure tests 1727s ok - glib/closure-refcount.test 1727s # Running test: glib/file.test 1727s TAP version 13 1727s # random seed: R02Sfcd4377f6829705b22077e7c366a52de 1727s 1..50 1727s # Start of file tests 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/basic/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/basic/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/basic/.dirs/system-config1:/tmp/test_file_MOFIK2/file/basic/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/basic/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/basic/.dirs/system-data1:/tmp/test_file_MOFIK2/file/basic/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/basic/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/basic/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/basic/.dirs/runtime 1727s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1727s ok 1 /file/basic 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/build-filename/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/build-filename/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/build-filename/.dirs/system-config1:/tmp/test_file_MOFIK2/file/build-filename/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/build-filename/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/build-filename/.dirs/system-data1:/tmp/test_file_MOFIK2/file/build-filename/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/build-filename/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/build-filename/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/build-filename/.dirs/runtime 1727s ok 2 /file/build-filename 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_MOFIK2/file/build-filenamev/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_MOFIK2/file/build-filenamev/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/build-filenamev/.dirs/runtime 1727s ok 3 /file/build-filenamev 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/parent/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/parent/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/parent/.dirs/system-config1:/tmp/test_file_MOFIK2/file/parent/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/parent/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/parent/.dirs/system-data1:/tmp/test_file_MOFIK2/file/parent/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/parent/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/parent/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/parent/.dirs/runtime 1727s ok 4 /file/parent 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/child/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/child/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/child/.dirs/system-config1:/tmp/test_file_MOFIK2/file/child/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/child/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/child/.dirs/system-data1:/tmp/test_file_MOFIK2/file/child/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/child/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/child/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/child/.dirs/runtime 1727s ok 5 /file/child 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/empty-path/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/empty-path/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/empty-path/.dirs/system-config1:/tmp/test_file_MOFIK2/file/empty-path/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/empty-path/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/empty-path/.dirs/system-data1:/tmp/test_file_MOFIK2/file/empty-path/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/empty-path/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/empty-path/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/empty-path/.dirs/runtime 1727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1727s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1727s ok 6 /file/empty-path 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/type/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/type/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/type/.dirs/system-config1:/tmp/test_file_MOFIK2/file/type/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/type/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/type/.dirs/system-data1:/tmp/test_file_MOFIK2/file/type/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/type/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/type/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/type/.dirs/runtime 1727s ok 7 /file/type 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/parse-name/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/parse-name/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/parse-name/.dirs/system-config1:/tmp/test_file_MOFIK2/file/parse-name/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/parse-name/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/parse-name/.dirs/system-data1:/tmp/test_file_MOFIK2/file/parse-name/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/parse-name/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/parse-name/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/parse-name/.dirs/runtime 1727s ok 8 /file/parse-name 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace-load/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace-load/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace-load/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace-load/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace-load/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace-load/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace-load/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace-load/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace-load/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace-load/.dirs/runtime 1727s ok 9 /file/replace-load 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace-cancel/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace-cancel/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace-cancel/.dirs/runtime 1727s # Bug Reference: https://bugzilla.gnome.org/629301 1727s ok 10 /file/replace-cancel 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace-symlink/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace-symlink/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace-symlink/.dirs/runtime 1727s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1727s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1727s # Using temporary directory /tmp/test_file_MOFIK2/g_file_replace_symlink_USD1K2 1727s ok 11 /file/replace-symlink 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-new-tmp/.dirs/runtime 1727s ok 12 /file/async-new-tmp 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-new-tmp-dir/.dirs/runtime 1727s ok 13 /file/async-new-tmp-dir 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-delete/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-delete/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-delete/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-delete/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-delete/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-delete/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-delete/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-delete/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-delete/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-delete/.dirs/runtime 1727s ok 14 /file/async-delete 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-make-symlink/.dirs/runtime 1727s ok 15 /file/async-make-symlink 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/copy-preserve-mode/.dirs/runtime 1727s # Current umask: 2 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 ok 16 /file/copy-preserve-mode 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/measure/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/measure/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/measure/.dirs/system-config1:/tmp/test_file_MOFIK2/file/measure/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/measure/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/measure/.dirs/system-data1:/tmp/test_file_MOFIK2/file/measure/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/measure/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/measure/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/measure/.dirs/runtime 1727s ok 17 /file/measure 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/measure-async/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/measure-async/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/measure-async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/measure-async/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/measure-async/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/measure-async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/measure-async/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/measure-async/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/measure-async/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/measure-async/.dirs/runtime 1727s ok 18 /file/measure-async 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_MOFIK2/file/load-bytes/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_MOFIK2/file/load-bytes/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/load-bytes/.dirs/runtime 1727s ok 19 /file/load-bytes 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/load-bytes-async/.dirs/runtime 1727s ok 20 /file/load-bytes-async 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/.dirs/runtime 1727s ok 21 /file/writev 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/build-attribute-list-for-copy/.dirs/runtime 1727s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1727s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1727s # 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::* 1727s # 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::* 1727s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1727s # Attributes for copy: standard::size,xattr::* 1727s # Attributes for copy: standard::size,unix::mode,xattr::* 1727s ok 22 /file/build-attribute-list-for-copy 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/move_async/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/move_async/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/move_async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/move_async/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/move_async/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/move_async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/move_async/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/move_async/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/move_async/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/move_async/.dirs/runtime 1727s ok 23 /file/move_async 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/query-zero-length-content-type/.dirs/runtime 1727s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1727s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1727s ok 24 /file/query-zero-length-content-type 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/runtime 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/data/applications 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/config 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/config 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/config 1727s ok 25 /file/query-default-handler-file 1727s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/home 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/cache 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/system-config2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/system-data2 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/data 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/state 1727s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/runtime 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/data/applications 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config 1727s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MOFIK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config 1727s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config 1728s ok 26 /file/query-default-handler-file-async 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/runtime 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/data/applications 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config 1728s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MOFIK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config 1728s ok 27 /file/query-default-handler-uri 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/runtime 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/data/applications 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/config 1728s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_MOFIK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/config 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/config 1728s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_MOFIK2/file/query-default-handler-uri-async/.dirs/config 1728s ok 28 /file/query-default-handler-uri-async 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/enumerator-cancellation/.dirs/runtime 1728s ok 29 /file/enumerator-cancellation 1728s # Start of async-create-delete tests 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-create-delete/0/.dirs/runtime 1728s ok 30 /file/async-create-delete/0 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-create-delete/1/.dirs/runtime 1728s ok 31 /file/async-create-delete/1 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-create-delete/10/.dirs/runtime 1728s ok 32 /file/async-create-delete/10 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-create-delete/25/.dirs/runtime 1728s ok 33 /file/async-create-delete/25 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/async-create-delete/4096/.dirs/runtime 1728s ok 34 /file/async-create-delete/4096 1728s # End of async-create-delete tests 1728s # Start of replace-symlink tests 1728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/home 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/cache 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/system-config2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/config 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/system-data2 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/data 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/state 1728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace-symlink/using-etag/.dirs/runtime 1728s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1728s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1728s # Using temporary directory /tmp/test_file_MOFIK2/g_file_replace_symlink_using_etag_8D1YK2 1729s # Executing: glib/file.test 1730s ok 35 /file/replace-symlink/using-etag 1730s # slow test /file/replace-symlink/using-etag executed in 2.02 secs 1730s # End of replace-symlink tests 1730s # Start of replace tests 1730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/home 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/cache 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace/write-only/.dirs/system-config2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/config 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace/write-only/.dirs/system-data2 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/data 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/state 1730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace/write-only/.dirs/runtime 1730s # /file/replace/write-only summary: Test various situations for g_file_replace() 1730s # Current umask: 2 1730s # Test 0, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_OXGYK2 1730s # Test 1, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_1AJYK2 1730s # Test 2, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_61FYK2 1730s # Test 3, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_AQ6WK2 1730s # Test 4, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_NRHXK2 1730s # Test 5, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_K9HXK2 1730s # Test 6, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_81PWK2 1730s # Test 7, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_IP0WK2 1730s # Test 8, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_MJWVK2 1730s # Test 9, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_KJVVK2 1730s # Test 10, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_OWXVK2 1730s # Test 11, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_6BDVK2 1730s # Test 12, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_VHCVK2 1730s # Test 13, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_CB9UK2 1730s # Test 14, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_X3HVK2 1731s # Test 15, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_0REVK2 1731s # Test 16, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_0KQVK2 1731s # Test 17, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_F0EUK2 1731s # Test 18, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_K1NUK2 1731s # Test 19, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ELIUK2 1731s # Test 20, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_O91SK2 1731s # Test 21, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_CD7SK2 1731s # Test 22, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_WIFTK2 1731s # Test 23, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_I5ATK2 1731s # Test 24, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_31CSK2 1731s # Test 25, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_FPJSK2 1731s # Test 26, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_M4ESK2 1731s # Test 27, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_77GSK2 1731s # Test 28, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_63QSK2 1731s # Test 29, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_32MRK2 1731s # Test 30, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_5KKRK2 1731s # Test 31, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_XNKRK2 1731s # Test 32, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_SKWRK2 1731s # Test 33, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_X73RK2 1731s # Test 34, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ZBYQK2 1731s # Test 35, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_RFXQK2 1731s # Test 36, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_6TVQK2 1731s # Test 37, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_HG1QK2 1731s # Test 38, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_V57PK2 1731s # Test 39, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_O5DQK2 1731s # Test 40, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ERMQK2 1731s # Test 41, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_8IJPK2 1731s # Test 42, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_X0WPK2 1731s # Test 43, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_W9ZPK2 1731s # Test 44, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_8T7OK2 1731s # Test 45, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_3F3OK2 1731s # Test 46, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_EYDPK2 1731s # Test 47, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_9Z9OK2 1731s # Test 48, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_HEBOK2 1731s # We do not have CAP_DAC_OVERRIDE or equivalent 1731s ok 36 /file/replace/write-only 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_MOFIK2/file/replace/read-write/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_MOFIK2/file/replace/read-write/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/replace/read-write/.dirs/runtime 1731s # /file/replace/read-write summary: Test various situations for g_file_replace() 1731s # Current umask: 2 1731s # Test 0, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_3TBOK2 1731s # Test 1, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_707NK2 1731s # Test 2, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_6LOOK2 1731s # Test 3, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_9UTNK2 1731s # Test 4, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_L4SNK2 1731s # Test 5, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_86ONK2 1731s # Test 6, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_Z9QMK2 1731s # Test 7, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ZBVMK2 1731s # Test 8, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_03TMK2 1731s # Test 9, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_JA3MK2 1731s # Test 10, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_TI5MK2 1731s # Test 11, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_EU3LK2 1731s # Test 12, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_I95LK2 1731s # Test 13, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_LFJLK2 1731s # Test 14, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_KIMKK2 1731s # Test 15, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_PDQKK2 1731s # Test 16, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_8IWKK2 1731s # Test 17, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_TB0JK2 1731s # Test 18, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_Q0AKK2 1731s # Test 19, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_1XHKK2 1731s # Test 20, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_GKCKK2 1731s # Test 21, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_065IK2 1731s # Test 22, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_HXEJK2 1731s # Test 23, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_IGBJK2 1731s # Test 24, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_LLJJK2 1731s # Test 25, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_1AOIK2 1731s # Test 26, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_1NQIK2 1731s # Test 27, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ZNPIK2 1731s # Test 28, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_WOWIK2 1731s # Test 29, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_KE1IK2 1731s # Test 30, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_WW0IK2 1731s # Test 31, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_59YIK2 1731s # Test 32, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_T9C4K2 1731s # Test 33, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_OMR4K2 1731s # Test 34, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_ULK3K2 1731s # Test 35, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_2IK3K2 1731s # Test 36, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_NY43K2 1731s # Test 37, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_62Z2K2 1731s # Test 38, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_V9A3K2 1731s # Test 39, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_27K2K2 1731s # Test 40, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_CBQ2K2 1731s # Test 41, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_WVL1K2 1731s # Test 42, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_I4U1K2 1731s # Test 43, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_XQW1K2 1731s # Test 44, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_3S4ZK2 1731s # Test 45, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_HJ3ZK2 1731s # Test 46, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_C2K0K2 1731s # Test 47, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_WPH0K2 1731s # Test 48, using temporary directory /tmp/test_file_MOFIK2/g_file_replace_A2OZK2 1731s # We do not have CAP_DAC_OVERRIDE or equivalent 1731s ok 37 /file/replace/read-write 1731s # slow test /file/replace/read-write executed in 0.54 secs 1731s # End of replace tests 1731s # Start of copy tests 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_MOFIK2/file/copy/progress/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_MOFIK2/file/copy/progress/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/copy/progress/.dirs/runtime 1731s ok 38 /file/copy/progress 1731s # End of copy tests 1731s # Start of writev tests 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/no-bytes-written/.dirs/runtime 1731s ok 39 /file/writev/no-bytes-written 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/no-vectors/.dirs/runtime 1731s ok 40 /file/writev/no-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/empty-vectors/.dirs/runtime 1731s ok 41 /file/writev/empty-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/too-big-vectors/.dirs/runtime 1731s ok 42 /file/writev/too-big-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async/.dirs/runtime 1731s ok 43 /file/writev/async 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async_all/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async_all/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async_all/.dirs/runtime 1731s ok 44 /file/writev/async_all 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async_all-empty-vectors/.dirs/runtime 1731s ok 45 /file/writev/async_all-empty-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async_all-no-vectors/.dirs/runtime 1731s ok 46 /file/writev/async_all-no-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1731s ok 47 /file/writev/async_all-to-big-vectors 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/writev/async_all-cancellation/.dirs/runtime 1731s ok 48 /file/writev/async_all-cancellation 1731s # End of writev tests 1731s # Start of from-uri tests 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/from-uri/ignores-query-string/.dirs/runtime 1731s ok 49 /file/from-uri/ignores-query-string 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_MOFIK2/file/from-uri/ignores-fragment/.dirs/runtime 1731s ok 50 /file/from-uri/ignores-fragment 1731s # End of from-uri tests 1731s # End of file tests 1731s ok - glib/file.test 1731s # Running test: glib/gdbus-auth.test 1731s TAP version 13 1731s # random seed: R02S2838b37ab0fd08d88a1e0c6ba0a3c333 1731s 1..5 1731s # Start of gdbus tests 1731s # Start of auth tests 1731s # Start of client tests 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1731s ok 1 /gdbus/auth/client/EXTERNAL 1731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1732s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1732s # End of client tests 1732s # Start of server tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1732s ok 3 /gdbus/auth/server/ANONYMOUS 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1732s ok 4 /gdbus/auth/server/EXTERNAL 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_AVNWK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1732s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1732s # End of server tests 1732s # End of auth tests 1732s # End of gdbus tests 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok - glib/gdbus-auth.test 1732s # Running test: glib/buffered-input-stream.test 1732s TAP version 13 1732s # random seed: R02S2ddfd54706785bb707f65a5ec7e53158 1732s 1..10 1732s # Start of buffered-input-stream tests 1732s ok 1 /buffered-input-stream/peek 1732s ok 2 /buffered-input-stream/peek-buffer 1732s ok 3 /buffered-input-stream/set-buffer-size 1732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1732s ok 4 /buffered-input-stream/read-byte 1732s ok 5 /buffered-input-stream/read 1732s ok 6 /buffered-input-stream/read-async 1732s ok 7 /buffered-input-stream/skip 1732s ok 8 /buffered-input-stream/skip-async 1732s ok 9 /buffered-input-stream/seek 1732s # End of buffered-input-stream tests 1732s # Start of filter-input-stream tests 1732s ok 10 /filter-input-stream/close 1732s # End of filter-input-stream tests 1732s ok - glib/buffered-input-stream.test 1732s # Running test: glib/properties.test 1732s TAP version 13 1732s # random seed: R02S149dd8447b2075908a337c7759fe6bca 1732s 1..13 1732s # Start of properties tests 1732s ok 1 /properties/install 1732s ok 2 /properties/install-many 1732s ok 3 /properties/notify 1732s ok 4 /properties/notify-queue 1732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1732s ok 5 /properties/construct 1732s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1732s # Test g_object_get_property with an initialized value 1732s # Test g_object_get_property with an uninitialized value 1732s # Test g_object_get_property with a transformable value 1732s ok 6 /properties/get-property 1732s ok 7 /properties/testv_with_no_properties 1732s ok 8 /properties/testv_with_valid_properties 1732s ok 9 /properties/testv_with_invalid_property_type 1732s ok 10 /properties/testv_with_invalid_property_names 1732s ok 11 /properties/testv_getv 1732s ok 12 /properties/testv_notify_queue 1732s # Start of set-property tests 1732s # Start of variant tests 1732s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1732s ok 13 /properties/set-property/variant/floating 1732s # End of variant tests 1732s # End of set-property tests 1732s # End of properties tests 1732s ok - glib/properties.test 1732s # Running test: glib/gdbus-proxy-well-known-name.test 1732s TAP version 13 1732s # random seed: R02S7d77c3160d659829bcbde2f6887e211a 1732s 1..1 1732s # Start of gdbus tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_LK3PK2/gdbus/proxy-well-known-name/.dirs/runtime 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok 1 /gdbus/proxy-well-known-name 1732s # End of gdbus tests 1732s ok - glib/gdbus-proxy-well-known-name.test 1732s # Running test: glib/rec-mutex.test 1732s TAP version 13 1732s # random seed: R02S6fa8aa2a76c3b69f939303d18794924a 1732s 1..29 1732s # Start of thread tests 1732s ok 1 /thread/rec-mutex1 1732s ok 2 /thread/rec-mutex2 1732s ok 3 /thread/rec-mutex3 1732s ok 4 /thread/rec-mutex4 1732s # Start of rec-mutex tests 1732s # Start of perf tests 1732s # Start of uncontended tests 1732s # max perf: 0.250000 mips 1732s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1732s # max perf: 0.500000 mips 1732s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1732s # max perf: 0.500000 mips 1732s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1732s # max perf: 0.333333 mips 1732s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1732s # max perf: 0.500000 mips 1732s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1732s # End of uncontended tests 1732s # Start of contended1 tests 1732s # max perf: 1.000000 mips 1732s ok 10 /thread/rec-mutex/perf/contended1/depth1 1732s # max perf: 1.000000 mips 1732s ok 11 /thread/rec-mutex/perf/contended1/depth2 1732s # max perf: 1.000000 mips 1732s ok 12 /thread/rec-mutex/perf/contended1/depth3 1732s # max perf: 1.000000 mips 1732s ok 13 /thread/rec-mutex/perf/contended1/depth4 1732s # max perf: 1.000000 mips 1732s ok 14 /thread/rec-mutex/perf/contended1/depth5 1732s # End of contended1 tests 1732s # Start of contended2 tests 1732s # max perf: 1.500000 mips 1732s ok 15 /thread/rec-mutex/perf/contended2/depth1 1732s # max perf: 1.000000 mips 1732s ok 16 /thread/rec-mutex/perf/contended2/depth2 1732s # max perf: 1.000000 mips 1732s ok 17 /thread/rec-mutex/perf/contended2/depth3 1732s # max perf: 1.000000 mips 1732s ok 18 /thread/rec-mutex/perf/contended2/depth4 1732s # max perf: 1.000000 mips 1732s ok 19 /thread/rec-mutex/perf/contended2/depth5 1732s # End of contended2 tests 1732s # Start of contended3 tests 1732s # max perf: 1.333333 mips 1732s ok 20 /thread/rec-mutex/perf/contended3/depth1 1732s # max perf: 2.000000 mips 1732s ok 21 /thread/rec-mutex/perf/contended3/depth2 1732s # max perf: 1.000000 mips 1732s ok 22 /thread/rec-mutex/perf/contended3/depth3 1732s # max perf: 1.333333 mips 1732s ok 23 /thread/rec-mutex/perf/contended3/depth4 1732s # max perf: 1.333333 mips 1732s ok 24 /thread/rec-mutex/perf/contended3/depth5 1732s # End of contended3 tests 1732s # Start of contended4 tests 1732s # max perf: 1.666667 mips 1732s ok 25 /thread/rec-mutex/perf/contended4/depth1 1732s # max perf: 1.000000 mips 1732s ok 26 /thread/rec-mutex/perf/contended4/depth2 1732s # max perf: 0.833333 mips 1732s ok 27 /thread/rec-mutex/perf/contended4/depth3 1732s # max perf: 0.833333 mips 1732s ok 28 /thread/rec-mutex/perf/contended4/depth4 1732s # max perf: 1.000000 mips 1732s ok 29 /thread/rec-mutex/perf/contended4/depth5 1732s # End of contended4 tests 1732s # End of perf tests 1732s # End of rec-mutex tests 1732s # End of thread tests 1732s ok - glib/rec-mutex.test 1732s # Running test: glib/gdbus-names.test 1732s TAP version 13 1732s # random seed: R02S3c8f11d21a8ff4146a70fdb8eebcd0ca 1732s 1..10 1732s # Start of gdbus tests 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/validate-names/.dirs/runtime 1732s ok 1 /gdbus/validate-names 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-own-name/.dirs/runtime 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok 2 /gdbus/bus-own-name 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name/.dirs/runtime 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok 3 /gdbus/bus-watch-name 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok 4 /gdbus/bus-watch-name-auto-start 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1732s dbus-daemon[13213]: [session uid=1000 pid=13213] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=13204 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1732s # Acquired a message bus connection 1732s dbus-daemon[13213]: [session uid=1000 pid=13213] Successfully activated service 'org.gtk.GDBus.FakeService' 1732s # Acquired the name org.gtk.GDBus.FakeService 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/home 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/cache 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/system-config2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/config 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/system-data2 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/data 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/state 1732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures/.dirs/runtime 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1732s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s ok 6 /gdbus/bus-watch-name-closures 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1733s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s ok 7 /gdbus/bus-watch-name-closures-auto-start 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-watch-different-context/.dirs/runtime 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1733s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s ok 8 /gdbus/bus-watch-different-context 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/bus-unwatch-early/.dirs/runtime 1733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1733s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1733s ok 9 /gdbus/bus-unwatch-early 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_BIK4K2/gdbus/escape-object-path/.dirs/runtime 1733s ok 10 /gdbus/escape-object-path 1733s # End of gdbus tests 1733s ok - glib/gdbus-names.test 1733s # Running test: glib/asyncqueue.test 1733s TAP version 13 1733s # random seed: R02S5d0c0c285387aeafcfad65ead3fbc2f5 1733s 1..7 1733s # Start of asyncqueue tests 1733s ok 1 /asyncqueue/basics 1733s ok 2 /asyncqueue/sort 1733s ok 3 /asyncqueue/destroy 1733s ok 4 /asyncqueue/threads 1733s ok 5 /asyncqueue/timed 1733s ok 6 /asyncqueue/remove 1733s ok 7 /asyncqueue/push_front 1733s # End of asyncqueue tests 1733s ok - glib/asyncqueue.test 1733s # Running test: glib/struct-info.test 1733s TAP version 13 1733s # random seed: R02Se82a8887e1a73c8c194f54a041b3a623 1733s 1..4 1733s # Start of struct-info tests 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SSX1K2/struct-info/field-iterators/.dirs/runtime 1733s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1733s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1733s ok 1 /struct-info/field-iterators 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SSX1K2/struct-info/sizeof-gvalue/.dirs/runtime 1733s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1733s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1733s ok 2 /struct-info/sizeof-gvalue 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SSX1K2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1733s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1733s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1733s ok 3 /struct-info/is-pointer-for-struct-method-arg 1733s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/home 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/cache 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/system-config2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/config 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/system-data2 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/data 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/state 1733s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SSX1K2/struct-info/boxed/.dirs/runtime 1733s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1733s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1733s ok 4 /struct-info/boxed 1733s # End of struct-info tests 1733s ok - glib/struct-info.test 1733s # Running test: glib/utils-c-90.test 1733s TAP version 13 1733s # random seed: R02Sd2613848e90e5300c9d6b97cc1d7bf31 1733s 1..40 1733s # Start of utils tests 1733s ok 1 /utils/language-names 1733s ok 2 /utils/locale-variants 1733s ok 3 /utils/version 1733s ok 4 /utils/appname 1733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1733s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1733s ok 5 /utils/prgname-thread-safety 1733s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1733s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1733s ok 6 /utils/tmpdir 1733s ok 7 /utils/basic_bits 1733s ok 8 /utils/bits 1733s ok 9 /utils/swap 1733s ok 10 /utils/find-program 1733s ok 11 /utils/find-program-for-path 1733s ok 12 /utils/debug 1733s ok 13 /utils/codeset 1733s ok 14 /utils/codeset2 1733s ok 15 /utils/console-charset 1733s ok 16 /utils/gettext 1733s ok 17 /utils/username 1733s ok 18 /utils/realname 1733s ok 19 /utils/hostname 1733s ok 20 /utils/xdgdirs 1733s ok 21 /utils/specialdir 1733s # NAME: Ubuntu 1733s ok 22 /utils/os-info 1733s ok 23 /utils/clear-pointer 1733s ok 24 /utils/clear-pointer-cast 1733s ok 25 /utils/take-pointer 1733s ok 26 /utils/clear-source 1733s ok 27 /utils/misc-mem 1733s # /utils/aligned-mem summary: Aligned memory allocator 1733s # Alignment must not be zero 1733s # Alignment must be a power of two 1733s # Alignment must be a multiple of sizeof(void*) 1733s ok 28 /utils/aligned-mem 1733s # /utils/free-sized summary: Check that g_free_sized() works 1733s ok 29 /utils/free-sized 1733s ok 30 /utils/nullify 1733s ok 31 /utils/atexit 1733s ok 32 /utils/check-setuid 1733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1733s ok 33 /utils/int-limits 1733s ok 34 /utils/clear-list 1733s ok 35 /utils/clear-slist 1733s # Start of specialdir tests 1733s ok 36 /utils/specialdir/desktop 1733s # End of specialdir tests 1733s # Start of clear-pointer tests 1733s ok 37 /utils/clear-pointer/side-effects 1733s # End of clear-pointer tests 1733s # Start of aligned-mem tests 1733s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1733s ok 38 /utils/aligned-mem/alignment 1733s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1733s ok 39 /utils/aligned-mem/zeroed 1733s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1733s ok 40 /utils/aligned-mem/free-sized 1733s # Start of subprocess tests 1733s # End of subprocess tests 1733s # End of aligned-mem tests 1733s # End of utils tests 1733s ok - glib/utils-c-90.test 1733s # Running test: glib/macros-c-90.test 1733s TAP version 13 1733s # random seed: R02Se6e4fda21d18ab5fec407c84babac43b 1733s 1..4 1733s # Start of C tests 1733s ok 1 /C/standard-90 1733s # End of C tests 1733s # Start of alignof tests 1733s ok 2 /alignof/fallback 1733s # End of alignof tests 1733s # Start of assert tests 1733s ok 3 /assert/static 1733s # End of assert tests 1733s # Start of struct tests 1733s ok 4 /struct/sizeof_member 1733s # End of struct tests 1733s ok - glib/macros-c-90.test 1733s # Running test: glib/slist.test 1733s TAP version 13 1733s # random seed: R02S8c0c4c5894beb6192b711710a013dde9 1733s 1..14 1733s # Start of slist tests 1733s ok 1 /slist/sort 1733s ok 2 /slist/sort-with-data 1733s ok 3 /slist/insert-sorted 1733s ok 4 /slist/insert-sorted-with-data 1733s ok 5 /slist/reverse 1733s ok 6 /slist/nth 1733s ok 7 /slist/remove 1733s ok 8 /slist/remove-all 1733s ok 9 /slist/insert 1733s ok 10 /slist/position 1733s ok 11 /slist/concat 1733s ok 12 /slist/copy 1733s # Start of sort tests 1733s ok 13 /slist/sort/stable 1733s # End of sort tests 1733s # Start of copy tests 1733s ok 14 /slist/copy/deep 1733s # End of copy tests 1733s # End of slist tests 1733s ok - glib/slist.test 1733s # Running test: glib/override.test 1733s TAP version 13 1733s # random seed: R02S08c1dad3ed0dff4f3c9c7fc016fbd332 1733s 1..1 1733s # Start of gobject tests 1733s # *** emitting foo on a TestA instance 1733s # Expecting: TestA::foo,TestI::foo 1733s # Got: TestA::foo,TestI::foo 1733s # *** emitting bar on a TestA instance 1733s # Expecting: TestA::bar 1733s # Got: TestA::bar 1733s # *** emitting baz on a TestA instance 1733s # Expecting: TestA::baz 1733s # Got: TestA::baz 1733s # *** emitting foo on a TestB instance 1733s # Expecting: TestB::foo,TestA::foo,TestI::foo 1733s # Got: TestB::foo,TestA::foo,TestI::foo 1733s # *** emitting bar on a TestB instance 1733s # Expecting: TestB::bar,TestA::bar 1733s # Got: TestB::bar,TestA::bar 1733s # *** emitting baz on a TestB instance 1733s # Expecting: TestB::baz,TestA::baz 1733s # Got: TestB::baz,TestA::baz 1733s # *** emitting foo on a TestC instance 1733s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1733s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1733s # *** emitting bar on a TestC instance 1733s # Expecting: TestC::bar,TestB::bar,TestA::bar 1733s # Got: TestC::bar,TestB::bar,TestA::bar 1733s # *** emitting baz on a TestC instance 1733s # Expecting: TestC::baz,TestB::baz,TestA::baz 1733s # Got: TestC::baz,TestB::baz,TestA::baz 1733s ok 1 /gobject/override 1733s # End of gobject tests 1733s ok - glib/override.test 1733s # Running test: glib/markup.test 1733s TAP version 13 1733s # random seed: R02S4ec15c08606d6b69822f8471f9978e9f 1733s 1..1 1733s # Start of markup tests 1733s ok 1 /markup/stack 1733s # End of markup tests 1733s ok - glib/markup.test 1733s # Running test: glib/power-profile-monitor-portal.test 1734s # Executing: glib/power-profile-monitor-portal.test 1735s TAP version 13 1735s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1735s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1735s 1..2 1735s ok - glib/power-profile-monitor-portal.test 1735s # Running test: glib/custom-dispatch.test 1735s TAP version 13 1735s # random seed: R02Sd7ae4ae0821f823dcafc8add517d4901 1735s 1..2 1735s # Start of properties tests 1735s # Start of custom-dispatch tests 1735s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1735s ok 1 /properties/custom-dispatch/init 1735s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1735s ok 2 /properties/custom-dispatch/set 1735s # End of custom-dispatch tests 1735s # End of properties tests 1735s ok - glib/custom-dispatch.test 1735s # Running test: glib/memory-monitor-dbus.test 1736s TAP version 13 1736s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1736s 1..1 1736s ok - glib/memory-monitor-dbus.test 1736s # Running test: glib/unix-streams.test 1736s TAP version 13 1736s # random seed: R02Sdc859d7520b21f7b3cc148bc4ea49eb1 1736s 1..9 1736s # Start of unix-streams tests 1736s ok 1 /unix-streams/basic 1737s ok 2 /unix-streams/pipe-io-test 1737s # slow test /unix-streams/pipe-io-test executed in 0.51 secs 1737s ok 3 /unix-streams/nonblocking-io-test 1737s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1737s ok 4 /unix-streams/read_write 1737s ok 5 /unix-streams/read_writev 1737s ok 6 /unix-streams/write-wouldblock 1737s ok 7 /unix-streams/writev-wouldblock 1737s ok 8 /unix-streams/write-async-wouldblock 1737s ok 9 /unix-streams/writev-async-wouldblock 1737s # End of unix-streams tests 1737s ok - glib/unix-streams.test 1737s # Running test: glib/utils-isolated.test 1737s TAP version 13 1737s # random seed: R02S73c8b947c97d15e69ecf7c86e0f93b0e 1737s 1..9 1737s # Start of utils-isolated tests 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/tmp-dir/.dirs/runtime 1737s ok 1 /utils-isolated/tmp-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/home-dir/.dirs/runtime 1737s ok 2 /utils-isolated/home-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-cache-dir/.dirs/runtime 1737s ok 3 /utils-isolated/user-cache-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-config-dirs/.dirs/runtime 1737s ok 4 /utils-isolated/system-config-dirs 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-config-dir/.dirs/runtime 1737s ok 5 /utils-isolated/user-config-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/system-data-dirs/.dirs/runtime 1737s ok 6 /utils-isolated/system-data-dirs 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-data-dir/.dirs/runtime 1737s ok 7 /utils-isolated/user-data-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-state-dir/.dirs/runtime 1737s ok 8 /utils-isolated/user-state-dir 1737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/home 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/cache 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/system-config2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/config 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/system-data2 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/data 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/state 1737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_XPC4K2/utils-isolated/user-runtime-dir/.dirs/runtime 1737s ok 9 /utils-isolated/user-runtime-dir 1737s # End of utils-isolated tests 1737s ok - glib/utils-isolated.test 1737s # Running test: glib/checksum.test 1737s TAP version 13 1737s # random seed: R02Saccfd6710d5b70740dfade65bd593761 1737s 1..1851 1737s # Start of checksum tests 1737s ok 1 /checksum/unsupported 1737s # Start of MD5 tests 1737s ok 2 /checksum/MD5/0 1737s ok 3 /checksum/MD5/1 1737s ok 4 /checksum/MD5/2 1737s ok 5 /checksum/MD5/3 1737s ok 6 /checksum/MD5/4 1737s ok 7 /checksum/MD5/5 1737s ok 8 /checksum/MD5/6 1737s ok 9 /checksum/MD5/7 1737s ok 10 /checksum/MD5/8 1737s ok 11 /checksum/MD5/9 1737s ok 12 /checksum/MD5/10 1737s ok 13 /checksum/MD5/11 1737s ok 14 /checksum/MD5/12 1737s ok 15 /checksum/MD5/13 1737s ok 16 /checksum/MD5/14 1737s ok 17 /checksum/MD5/15 1737s ok 18 /checksum/MD5/16 1737s ok 19 /checksum/MD5/17 1737s ok 20 /checksum/MD5/18 1737s ok 21 /checksum/MD5/19 1737s ok 22 /checksum/MD5/20 1737s ok 23 /checksum/MD5/21 1737s ok 24 /checksum/MD5/22 1737s ok 25 /checksum/MD5/23 1737s ok 26 /checksum/MD5/24 1737s ok 27 /checksum/MD5/25 1737s ok 28 /checksum/MD5/26 1737s ok 29 /checksum/MD5/27 1737s ok 30 /checksum/MD5/28 1737s ok 31 /checksum/MD5/29 1737s ok 32 /checksum/MD5/30 1737s ok 33 /checksum/MD5/31 1737s ok 34 /checksum/MD5/32 1737s ok 35 /checksum/MD5/33 1737s ok 36 /checksum/MD5/34 1737s ok 37 /checksum/MD5/35 1737s ok 38 /checksum/MD5/36 1737s ok 39 /checksum/MD5/37 1737s ok 40 /checksum/MD5/38 1737s ok 41 /checksum/MD5/39 1737s ok 42 /checksum/MD5/40 1737s ok 43 /checksum/MD5/41 1737s ok 44 /checksum/MD5/42 1737s ok 45 /checksum/MD5/43 1737s ok 46 /checksum/MD5/44 1737s ok 47 /checksum/MD5/45 1737s ok 48 /checksum/MD5/46 1737s ok 49 /checksum/MD5/47 1737s ok 50 /checksum/MD5/48 1737s ok 51 /checksum/MD5/49 1737s ok 52 /checksum/MD5/50 1737s ok 53 /checksum/MD5/51 1737s ok 54 /checksum/MD5/52 1737s ok 55 /checksum/MD5/53 1737s ok 56 /checksum/MD5/54 1737s ok 57 /checksum/MD5/55 1737s ok 58 /checksum/MD5/56 1737s ok 59 /checksum/MD5/57 1737s ok 60 /checksum/MD5/58 1737s ok 61 /checksum/MD5/59 1737s ok 62 /checksum/MD5/60 1737s ok 63 /checksum/MD5/61 1737s ok 64 /checksum/MD5/62 1737s ok 65 /checksum/MD5/63 1737s ok 66 /checksum/MD5/64 1737s ok 67 /checksum/MD5/65 1737s ok 68 /checksum/MD5/66 1737s ok 69 /checksum/MD5/67 1737s ok 70 /checksum/MD5/68 1737s ok 71 /checksum/MD5/69 1737s ok 72 /checksum/MD5/70 1737s ok 73 /checksum/MD5/71 1737s ok 74 /checksum/MD5/72 1737s ok 75 /checksum/MD5/73 1737s ok 76 /checksum/MD5/74 1737s ok 77 /checksum/MD5/75 1737s ok 78 /checksum/MD5/76 1737s ok 79 /checksum/MD5/77 1737s ok 80 /checksum/MD5/78 1737s ok 81 /checksum/MD5/79 1737s ok 82 /checksum/MD5/80 1737s ok 83 /checksum/MD5/81 1737s ok 84 /checksum/MD5/82 1737s ok 85 /checksum/MD5/83 1737s ok 86 /checksum/MD5/84 1737s ok 87 /checksum/MD5/85 1737s ok 88 /checksum/MD5/86 1737s ok 89 /checksum/MD5/87 1737s ok 90 /checksum/MD5/88 1737s ok 91 /checksum/MD5/89 1737s ok 92 /checksum/MD5/90 1737s ok 93 /checksum/MD5/91 1737s ok 94 /checksum/MD5/92 1737s ok 95 /checksum/MD5/93 1737s ok 96 /checksum/MD5/94 1737s ok 97 /checksum/MD5/95 1737s ok 98 /checksum/MD5/96 1737s ok 99 /checksum/MD5/97 1737s ok 100 /checksum/MD5/98 1737s ok 101 /checksum/MD5/99 1737s ok 102 /checksum/MD5/100 1737s ok 103 /checksum/MD5/101 1737s ok 104 /checksum/MD5/102 1737s ok 105 /checksum/MD5/103 1737s ok 106 /checksum/MD5/104 1737s ok 107 /checksum/MD5/105 1737s ok 108 /checksum/MD5/106 1737s ok 109 /checksum/MD5/107 1737s ok 110 /checksum/MD5/108 1737s ok 111 /checksum/MD5/109 1737s ok 112 /checksum/MD5/110 1737s ok 113 /checksum/MD5/111 1737s ok 114 /checksum/MD5/112 1737s ok 115 /checksum/MD5/113 1737s ok 116 /checksum/MD5/114 1737s ok 117 /checksum/MD5/115 1737s ok 118 /checksum/MD5/116 1737s ok 119 /checksum/MD5/117 1737s ok 120 /checksum/MD5/118 1737s ok 121 /checksum/MD5/119 1737s ok 122 /checksum/MD5/120 1737s ok 123 /checksum/MD5/121 1737s ok 124 /checksum/MD5/122 1737s ok 125 /checksum/MD5/123 1737s ok 126 /checksum/MD5/124 1737s ok 127 /checksum/MD5/125 1737s ok 128 /checksum/MD5/126 1737s ok 129 /checksum/MD5/127 1737s ok 130 /checksum/MD5/128 1737s ok 131 /checksum/MD5/129 1737s ok 132 /checksum/MD5/130 1737s ok 133 /checksum/MD5/131 1737s ok 134 /checksum/MD5/132 1737s ok 135 /checksum/MD5/133 1737s ok 136 /checksum/MD5/134 1737s ok 137 /checksum/MD5/135 1737s ok 138 /checksum/MD5/136 1737s ok 139 /checksum/MD5/137 1737s ok 140 /checksum/MD5/138 1737s ok 141 /checksum/MD5/139 1737s ok 142 /checksum/MD5/140 1737s ok 143 /checksum/MD5/141 1737s ok 144 /checksum/MD5/142 1737s ok 145 /checksum/MD5/143 1737s ok 146 /checksum/MD5/144 1737s ok 147 /checksum/MD5/145 1737s ok 148 /checksum/MD5/146 1737s ok 149 /checksum/MD5/147 1737s ok 150 /checksum/MD5/148 1737s ok 151 /checksum/MD5/149 1737s ok 152 /checksum/MD5/150 1737s ok 153 /checksum/MD5/151 1737s ok 154 /checksum/MD5/152 1737s ok 155 /checksum/MD5/153 1737s ok 156 /checksum/MD5/154 1737s ok 157 /checksum/MD5/155 1737s ok 158 /checksum/MD5/156 1737s ok 159 /checksum/MD5/157 1737s ok 160 /checksum/MD5/158 1737s ok 161 /checksum/MD5/159 1737s ok 162 /checksum/MD5/160 1737s ok 163 /checksum/MD5/161 1737s ok 164 /checksum/MD5/162 1737s ok 165 /checksum/MD5/163 1737s ok 166 /checksum/MD5/164 1737s ok 167 /checksum/MD5/165 1737s ok 168 /checksum/MD5/166 1737s ok 169 /checksum/MD5/167 1737s ok 170 /checksum/MD5/168 1737s ok 171 /checksum/MD5/169 1737s ok 172 /checksum/MD5/170 1737s ok 173 /checksum/MD5/171 1737s ok 174 /checksum/MD5/172 1737s ok 175 /checksum/MD5/173 1737s ok 176 /checksum/MD5/174 1737s ok 177 /checksum/MD5/175 1737s ok 178 /checksum/MD5/176 1737s ok 179 /checksum/MD5/177 1737s ok 180 /checksum/MD5/178 1737s ok 181 /checksum/MD5/179 1737s ok 182 /checksum/MD5/180 1737s ok 183 /checksum/MD5/181 1737s ok 184 /checksum/MD5/182 1737s ok 185 /checksum/MD5/183 1737s ok 186 /checksum/MD5/string 1737s ok 187 /checksum/MD5/bytes 1737s # Start of reset tests 1737s ok 188 /checksum/MD5/reset/0 1737s ok 189 /checksum/MD5/reset/1 1737s ok 190 /checksum/MD5/reset/2 1737s ok 191 /checksum/MD5/reset/3 1737s ok 192 /checksum/MD5/reset/4 1737s ok 193 /checksum/MD5/reset/5 1737s ok 194 /checksum/MD5/reset/6 1737s ok 195 /checksum/MD5/reset/7 1737s ok 196 /checksum/MD5/reset/8 1737s ok 197 /checksum/MD5/reset/9 1737s ok 198 /checksum/MD5/reset/10 1737s ok 199 /checksum/MD5/reset/11 1737s ok 200 /checksum/MD5/reset/12 1737s ok 201 /checksum/MD5/reset/13 1737s ok 202 /checksum/MD5/reset/14 1737s ok 203 /checksum/MD5/reset/15 1737s ok 204 /checksum/MD5/reset/16 1737s ok 205 /checksum/MD5/reset/17 1737s ok 206 /checksum/MD5/reset/18 1737s ok 207 /checksum/MD5/reset/19 1737s ok 208 /checksum/MD5/reset/20 1737s ok 209 /checksum/MD5/reset/21 1737s ok 210 /checksum/MD5/reset/22 1737s ok 211 /checksum/MD5/reset/23 1737s ok 212 /checksum/MD5/reset/24 1737s ok 213 /checksum/MD5/reset/25 1737s ok 214 /checksum/MD5/reset/26 1737s ok 215 /checksum/MD5/reset/27 1737s ok 216 /checksum/MD5/reset/28 1737s ok 217 /checksum/MD5/reset/29 1737s ok 218 /checksum/MD5/reset/30 1737s ok 219 /checksum/MD5/reset/31 1737s ok 220 /checksum/MD5/reset/32 1737s ok 221 /checksum/MD5/reset/33 1737s ok 222 /checksum/MD5/reset/34 1737s ok 223 /checksum/MD5/reset/35 1737s ok 224 /checksum/MD5/reset/36 1737s ok 225 /checksum/MD5/reset/37 1737s ok 226 /checksum/MD5/reset/38 1737s ok 227 /checksum/MD5/reset/39 1737s ok 228 /checksum/MD5/reset/40 1737s ok 229 /checksum/MD5/reset/41 1737s ok 230 /checksum/MD5/reset/42 1737s ok 231 /checksum/MD5/reset/43 1737s ok 232 /checksum/MD5/reset/44 1737s ok 233 /checksum/MD5/reset/45 1737s ok 234 /checksum/MD5/reset/46 1737s ok 235 /checksum/MD5/reset/47 1737s ok 236 /checksum/MD5/reset/48 1737s ok 237 /checksum/MD5/reset/49 1737s ok 238 /checksum/MD5/reset/50 1737s ok 239 /checksum/MD5/reset/51 1737s ok 240 /checksum/MD5/reset/52 1737s ok 241 /checksum/MD5/reset/53 1737s ok 242 /checksum/MD5/reset/54 1737s ok 243 /checksum/MD5/reset/55 1737s ok 244 /checksum/MD5/reset/56 1737s ok 245 /checksum/MD5/reset/57 1737s ok 246 /checksum/MD5/reset/58 1737s ok 247 /checksum/MD5/reset/59 1737s ok 248 /checksum/MD5/reset/60 1737s ok 249 /checksum/MD5/reset/61 1737s ok 250 /checksum/MD5/reset/62 1737s ok 251 /checksum/MD5/reset/63 1737s ok 252 /checksum/MD5/reset/64 1737s ok 253 /checksum/MD5/reset/65 1737s ok 254 /checksum/MD5/reset/66 1737s ok 255 /checksum/MD5/reset/67 1737s ok 256 /checksum/MD5/reset/68 1737s ok 257 /checksum/MD5/reset/69 1737s ok 258 /checksum/MD5/reset/70 1737s ok 259 /checksum/MD5/reset/71 1737s ok 260 /checksum/MD5/reset/72 1737s ok 261 /checksum/MD5/reset/73 1737s ok 262 /checksum/MD5/reset/74 1737s ok 263 /checksum/MD5/reset/75 1737s ok 264 /checksum/MD5/reset/76 1737s ok 265 /checksum/MD5/reset/77 1737s ok 266 /checksum/MD5/reset/78 1737s ok 267 /checksum/MD5/reset/79 1737s ok 268 /checksum/MD5/reset/80 1737s ok 269 /checksum/MD5/reset/81 1737s ok 270 /checksum/MD5/reset/82 1737s ok 271 /checksum/MD5/reset/83 1737s ok 272 /checksum/MD5/reset/84 1737s ok 273 /checksum/MD5/reset/85 1737s ok 274 /checksum/MD5/reset/86 1737s ok 275 /checksum/MD5/reset/87 1737s ok 276 /checksum/MD5/reset/88 1737s ok 277 /checksum/MD5/reset/89 1737s ok 278 /checksum/MD5/reset/90 1737s ok 279 /checksum/MD5/reset/91 1737s ok 280 /checksum/MD5/reset/92 1737s ok 281 /checksum/MD5/reset/93 1737s ok 282 /checksum/MD5/reset/94 1737s ok 283 /checksum/MD5/reset/95 1737s ok 284 /checksum/MD5/reset/96 1737s ok 285 /checksum/MD5/reset/97 1737s ok 286 /checksum/MD5/reset/98 1737s ok 287 /checksum/MD5/reset/99 1737s ok 288 /checksum/MD5/reset/100 1737s ok 289 /checksum/MD5/reset/101 1737s ok 290 /checksum/MD5/reset/102 1737s ok 291 /checksum/MD5/reset/103 1737s ok 292 /checksum/MD5/reset/104 1737s ok 293 /checksum/MD5/reset/105 1737s ok 294 /checksum/MD5/reset/106 1737s ok 295 /checksum/MD5/reset/107 1737s ok 296 /checksum/MD5/reset/108 1737s ok 297 /checksum/MD5/reset/109 1737s ok 298 /checksum/MD5/reset/110 1737s ok 299 /checksum/MD5/reset/111 1737s ok 300 /checksum/MD5/reset/112 1737s ok 301 /checksum/MD5/reset/113 1737s ok 302 /checksum/MD5/reset/114 1737s ok 303 /checksum/MD5/reset/115 1737s ok 304 /checksum/MD5/reset/116 1737s ok 305 /checksum/MD5/reset/117 1737s ok 306 /checksum/MD5/reset/118 1737s ok 307 /checksum/MD5/reset/119 1737s ok 308 /checksum/MD5/reset/120 1737s ok 309 /checksum/MD5/reset/121 1737s ok 310 /checksum/MD5/reset/122 1737s ok 311 /checksum/MD5/reset/123 1737s ok 312 /checksum/MD5/reset/124 1737s ok 313 /checksum/MD5/reset/125 1737s ok 314 /checksum/MD5/reset/126 1737s ok 315 /checksum/MD5/reset/127 1737s ok 316 /checksum/MD5/reset/128 1737s ok 317 /checksum/MD5/reset/129 1737s ok 318 /checksum/MD5/reset/130 1737s ok 319 /checksum/MD5/reset/131 1737s ok 320 /checksum/MD5/reset/132 1737s ok 321 /checksum/MD5/reset/133 1737s ok 322 /checksum/MD5/reset/134 1737s ok 323 /checksum/MD5/reset/135 1737s ok 324 /checksum/MD5/reset/136 1737s ok 325 /checksum/MD5/reset/137 1737s ok 326 /checksum/MD5/reset/138 1737s ok 327 /checksum/MD5/reset/139 1737s ok 328 /checksum/MD5/reset/140 1737s ok 329 /checksum/MD5/reset/141 1737s ok 330 /checksum/MD5/reset/142 1737s ok 331 /checksum/MD5/reset/143 1737s ok 332 /checksum/MD5/reset/144 1737s ok 333 /checksum/MD5/reset/145 1737s ok 334 /checksum/MD5/reset/146 1737s ok 335 /checksum/MD5/reset/147 1737s ok 336 /checksum/MD5/reset/148 1737s ok 337 /checksum/MD5/reset/149 1737s ok 338 /checksum/MD5/reset/150 1737s ok 339 /checksum/MD5/reset/151 1737s ok 340 /checksum/MD5/reset/152 1737s ok 341 /checksum/MD5/reset/153 1737s ok 342 /checksum/MD5/reset/154 1737s ok 343 /checksum/MD5/reset/155 1737s ok 344 /checksum/MD5/reset/156 1737s ok 345 /checksum/MD5/reset/157 1737s ok 346 /checksum/MD5/reset/158 1737s ok 347 /checksum/MD5/reset/159 1737s ok 348 /checksum/MD5/reset/160 1737s ok 349 /checksum/MD5/reset/161 1737s ok 350 /checksum/MD5/reset/162 1737s ok 351 /checksum/MD5/reset/163 1737s ok 352 /checksum/MD5/reset/164 1737s ok 353 /checksum/MD5/reset/165 1737s ok 354 /checksum/MD5/reset/166 1737s ok 355 /checksum/MD5/reset/167 1737s ok 356 /checksum/MD5/reset/168 1737s ok 357 /checksum/MD5/reset/169 1737s ok 358 /checksum/MD5/reset/170 1737s ok 359 /checksum/MD5/reset/171 1737s ok 360 /checksum/MD5/reset/172 1737s ok 361 /checksum/MD5/reset/173 1737s ok 362 /checksum/MD5/reset/174 1737s ok 363 /checksum/MD5/reset/175 1737s ok 364 /checksum/MD5/reset/176 1737s ok 365 /checksum/MD5/reset/177 1737s ok 366 /checksum/MD5/reset/178 1737s ok 367 /checksum/MD5/reset/179 1737s ok 368 /checksum/MD5/reset/180 1737s ok 369 /checksum/MD5/reset/181 1737s ok 370 /checksum/MD5/reset/182 1737s ok 371 /checksum/MD5/reset/183 1737s # End of reset tests 1737s # End of MD5 tests 1737s # Start of SHA1 tests 1737s ok 372 /checksum/SHA1/0 1737s ok 373 /checksum/SHA1/1 1737s ok 374 /checksum/SHA1/2 1737s ok 375 /checksum/SHA1/3 1737s ok 376 /checksum/SHA1/4 1737s ok 377 /checksum/SHA1/5 1737s ok 378 /checksum/SHA1/6 1737s ok 379 /checksum/SHA1/7 1737s ok 380 /checksum/SHA1/8 1737s ok 381 /checksum/SHA1/9 1737s ok 382 /checksum/SHA1/10 1737s ok 383 /checksum/SHA1/11 1737s ok 384 /checksum/SHA1/12 1737s ok 385 /checksum/SHA1/13 1737s ok 386 /checksum/SHA1/14 1737s ok 387 /checksum/SHA1/15 1737s ok 388 /checksum/SHA1/16 1737s ok 389 /checksum/SHA1/17 1737s ok 390 /checksum/SHA1/18 1737s ok 391 /checksum/SHA1/19 1737s ok 392 /checksum/SHA1/20 1737s ok 393 /checksum/SHA1/21 1737s ok 394 /checksum/SHA1/22 1737s ok 395 /checksum/SHA1/23 1737s ok 396 /checksum/SHA1/24 1737s ok 397 /checksum/SHA1/25 1737s ok 398 /checksum/SHA1/26 1737s ok 399 /checksum/SHA1/27 1737s ok 400 /checksum/SHA1/28 1737s ok 401 /checksum/SHA1/29 1737s ok 402 /checksum/SHA1/30 1737s ok 403 /checksum/SHA1/31 1737s ok 404 /checksum/SHA1/32 1737s ok 405 /checksum/SHA1/33 1737s ok 406 /checksum/SHA1/34 1737s ok 407 /checksum/SHA1/35 1737s ok 408 /checksum/SHA1/36 1737s ok 409 /checksum/SHA1/37 1737s ok 410 /checksum/SHA1/38 1737s ok 411 /checksum/SHA1/39 1737s ok 412 /checksum/SHA1/40 1737s ok 413 /checksum/SHA1/41 1737s ok 414 /checksum/SHA1/42 1737s ok 415 /checksum/SHA1/43 1737s ok 416 /checksum/SHA1/44 1737s ok 417 /checksum/SHA1/45 1737s ok 418 /checksum/SHA1/46 1737s ok 419 /checksum/SHA1/47 1737s ok 420 /checksum/SHA1/48 1737s ok 421 /checksum/SHA1/49 1737s ok 422 /checksum/SHA1/50 1737s ok 423 /checksum/SHA1/51 1737s ok 424 /checksum/SHA1/52 1737s ok 425 /checksum/SHA1/53 1737s ok 426 /checksum/SHA1/54 1737s ok 427 /checksum/SHA1/55 1737s ok 428 /checksum/SHA1/56 1737s ok 429 /checksum/SHA1/57 1737s ok 430 /checksum/SHA1/58 1737s ok 431 /checksum/SHA1/59 1737s ok 432 /checksum/SHA1/60 1737s ok 433 /checksum/SHA1/61 1737s ok 434 /checksum/SHA1/62 1737s ok 435 /checksum/SHA1/63 1737s ok 436 /checksum/SHA1/64 1737s ok 437 /checksum/SHA1/65 1737s ok 438 /checksum/SHA1/66 1737s ok 439 /checksum/SHA1/67 1737s ok 440 /checksum/SHA1/68 1737s ok 441 /checksum/SHA1/69 1737s ok 442 /checksum/SHA1/70 1737s ok 443 /checksum/SHA1/71 1737s ok 444 /checksum/SHA1/72 1737s ok 445 /checksum/SHA1/73 1737s ok 446 /checksum/SHA1/74 1737s ok 447 /checksum/SHA1/75 1737s ok 448 /checksum/SHA1/76 1737s ok 449 /checksum/SHA1/77 1737s ok 450 /checksum/SHA1/78 1737s ok 451 /checksum/SHA1/79 1737s ok 452 /checksum/SHA1/80 1737s ok 453 /checksum/SHA1/81 1737s ok 454 /checksum/SHA1/82 1737s ok 455 /checksum/SHA1/83 1737s ok 456 /checksum/SHA1/84 1737s ok 457 /checksum/SHA1/85 1737s ok 458 /checksum/SHA1/86 1737s ok 459 /checksum/SHA1/87 1737s ok 460 /checksum/SHA1/88 1737s ok 461 /checksum/SHA1/89 1737s ok 462 /checksum/SHA1/90 1737s ok 463 /checksum/SHA1/91 1737s ok 464 /checksum/SHA1/92 1737s ok 465 /checksum/SHA1/93 1737s ok 466 /checksum/SHA1/94 1737s ok 467 /checksum/SHA1/95 1737s ok 468 /checksum/SHA1/96 1737s ok 469 /checksum/SHA1/97 1737s ok 470 /checksum/SHA1/98 1737s ok 471 /checksum/SHA1/99 1737s ok 472 /checksum/SHA1/100 1737s ok 473 /checksum/SHA1/101 1737s ok 474 /checksum/SHA1/102 1737s ok 475 /checksum/SHA1/103 1737s ok 476 /checksum/SHA1/104 1737s ok 477 /checksum/SHA1/105 1737s ok 478 /checksum/SHA1/106 1737s ok 479 /checksum/SHA1/107 1737s ok 480 /checksum/SHA1/108 1737s ok 481 /checksum/SHA1/109 1737s ok 482 /checksum/SHA1/110 1737s ok 483 /checksum/SHA1/111 1737s ok 484 /checksum/SHA1/112 1737s ok 485 /checksum/SHA1/113 1737s ok 486 /checksum/SHA1/114 1737s ok 487 /checksum/SHA1/115 1737s ok 488 /checksum/SHA1/116 1737s ok 489 /checksum/SHA1/117 1737s ok 490 /checksum/SHA1/118 1737s ok 491 /checksum/SHA1/119 1737s ok 492 /checksum/SHA1/120 1737s ok 493 /checksum/SHA1/121 1737s ok 494 /checksum/SHA1/122 1737s ok 495 /checksum/SHA1/123 1737s ok 496 /checksum/SHA1/124 1737s ok 497 /checksum/SHA1/125 1737s ok 498 /checksum/SHA1/126 1737s ok 499 /checksum/SHA1/127 1737s ok 500 /checksum/SHA1/128 1737s ok 501 /checksum/SHA1/129 1737s ok 502 /checksum/SHA1/130 1737s ok 503 /checksum/SHA1/131 1737s ok 504 /checksum/SHA1/132 1737s ok 505 /checksum/SHA1/133 1737s ok 506 /checksum/SHA1/134 1737s ok 507 /checksum/SHA1/135 1737s ok 508 /checksum/SHA1/136 1737s ok 509 /checksum/SHA1/137 1737s ok 510 /checksum/SHA1/138 1737s ok 511 /checksum/SHA1/139 1737s ok 512 /checksum/SHA1/140 1737s ok 513 /checksum/SHA1/141 1737s ok 514 /checksum/SHA1/142 1737s ok 515 /checksum/SHA1/143 1737s ok 516 /checksum/SHA1/144 1737s ok 517 /checksum/SHA1/145 1737s ok 518 /checksum/SHA1/146 1737s ok 519 /checksum/SHA1/147 1737s ok 520 /checksum/SHA1/148 1737s ok 521 /checksum/SHA1/149 1737s ok 522 /checksum/SHA1/150 1737s ok 523 /checksum/SHA1/151 1737s ok 524 /checksum/SHA1/152 1737s ok 525 /checksum/SHA1/153 1737s ok 526 /checksum/SHA1/154 1737s ok 527 /checksum/SHA1/155 1737s ok 528 /checksum/SHA1/156 1737s ok 529 /checksum/SHA1/157 1737s ok 530 /checksum/SHA1/158 1737s ok 531 /checksum/SHA1/159 1737s ok 532 /checksum/SHA1/160 1737s ok 533 /checksum/SHA1/161 1737s ok 534 /checksum/SHA1/162 1737s ok 535 /checksum/SHA1/163 1737s ok 536 /checksum/SHA1/164 1737s ok 537 /checksum/SHA1/165 1737s ok 538 /checksum/SHA1/166 1737s ok 539 /checksum/SHA1/167 1737s ok 540 /checksum/SHA1/168 1737s ok 541 /checksum/SHA1/169 1737s ok 542 /checksum/SHA1/170 1737s ok 543 /checksum/SHA1/171 1737s ok 544 /checksum/SHA1/172 1737s ok 545 /checksum/SHA1/173 1737s ok 546 /checksum/SHA1/174 1737s ok 547 /checksum/SHA1/175 1737s ok 548 /checksum/SHA1/176 1737s ok 549 /checksum/SHA1/177 1737s ok 550 /checksum/SHA1/178 1737s ok 551 /checksum/SHA1/179 1737s ok 552 /checksum/SHA1/180 1737s ok 553 /checksum/SHA1/181 1737s ok 554 /checksum/SHA1/182 1737s ok 555 /checksum/SHA1/183 1737s ok 556 /checksum/SHA1/string 1737s ok 557 /checksum/SHA1/bytes 1737s # Start of reset tests 1737s ok 558 /checksum/SHA1/reset/0 1737s ok 559 /checksum/SHA1/reset/1 1737s ok 560 /checksum/SHA1/reset/2 1737s ok 561 /checksum/SHA1/reset/3 1737s ok 562 /checksum/SHA1/reset/4 1737s ok 563 /checksum/SHA1/reset/5 1737s ok 564 /checksum/SHA1/reset/6 1737s ok 565 /checksum/SHA1/reset/7 1737s ok 566 /checksum/SHA1/reset/8 1737s ok 567 /checksum/SHA1/reset/9 1737s ok 568 /checksum/SHA1/reset/10 1737s ok 569 /checksum/SHA1/reset/11 1737s ok 570 /checksum/SHA1/reset/12 1737s ok 571 /checksum/SHA1/reset/13 1737s ok 572 /checksum/SHA1/reset/14 1737s ok 573 /checksum/SHA1/reset/15 1737s ok 574 /checksum/SHA1/reset/16 1737s ok 575 /checksum/SHA1/reset/17 1737s ok 576 /checksum/SHA1/reset/18 1737s ok 577 /checksum/SHA1/reset/19 1737s ok 578 /checksum/SHA1/reset/20 1737s ok 579 /checksum/SHA1/reset/21 1737s ok 580 /checksum/SHA1/reset/22 1737s ok 581 /checksum/SHA1/reset/23 1737s ok 582 /checksum/SHA1/reset/24 1737s ok 583 /checksum/SHA1/reset/25 1737s ok 584 /checksum/SHA1/reset/26 1737s ok 585 /checksum/SHA1/reset/27 1737s ok 586 /checksum/SHA1/reset/28 1737s ok 587 /checksum/SHA1/reset/29 1737s ok 588 /checksum/SHA1/reset/30 1737s ok 589 /checksum/SHA1/reset/31 1737s ok 590 /checksum/SHA1/reset/32 1737s ok 591 /checksum/SHA1/reset/33 1737s ok 592 /checksum/SHA1/reset/34 1737s ok 593 /checksum/SHA1/reset/35 1737s ok 594 /checksum/SHA1/reset/36 1737s ok 595 /checksum/SHA1/reset/37 1737s ok 596 /checksum/SHA1/reset/38 1737s ok 597 /checksum/SHA1/reset/39 1737s ok 598 /checksum/SHA1/reset/40 1737s ok 599 /checksum/SHA1/reset/41 1737s ok 600 /checksum/SHA1/reset/42 1737s ok 601 /checksum/SHA1/reset/43 1737s ok 602 /checksum/SHA1/reset/44 1737s ok 603 /checksum/SHA1/reset/45 1737s ok 604 /checksum/SHA1/reset/46 1737s ok 605 /checksum/SHA1/reset/47 1737s ok 606 /checksum/SHA1/reset/48 1737s ok 607 /checksum/SHA1/reset/49 1737s ok 608 /checksum/SHA1/reset/50 1737s ok 609 /checksum/SHA1/reset/51 1737s ok 610 /checksum/SHA1/reset/52 1737s ok 611 /checksum/SHA1/reset/53 1737s ok 612 /checksum/SHA1/reset/54 1737s ok 613 /checksum/SHA1/reset/55 1737s ok 614 /checksum/SHA1/reset/56 1737s ok 615 /checksum/SHA1/reset/57 1737s ok 616 /checksum/SHA1/reset/58 1737s ok 617 /checksum/SHA1/reset/59 1737s ok 618 /checksum/SHA1/reset/60 1737s ok 619 /checksum/SHA1/reset/61 1737s ok 620 /checksum/SHA1/reset/62 1737s ok 621 /checksum/SHA1/reset/63 1737s ok 622 /checksum/SHA1/reset/64 1737s ok 623 /checksum/SHA1/reset/65 1737s ok 624 /checksum/SHA1/reset/66 1737s ok 625 /checksum/SHA1/reset/67 1737s ok 626 /checksum/SHA1/reset/68 1737s ok 627 /checksum/SHA1/reset/69 1737s ok 628 /checksum/SHA1/reset/70 1737s ok 629 /checksum/SHA1/reset/71 1737s ok 630 /checksum/SHA1/reset/72 1737s ok 631 /checksum/SHA1/reset/73 1737s ok 632 /checksum/SHA1/reset/74 1737s ok 633 /checksum/SHA1/reset/75 1737s ok 634 /checksum/SHA1/reset/76 1737s ok 635 /checksum/SHA1/reset/77 1737s ok 636 /checksum/SHA1/reset/78 1737s ok 637 /checksum/SHA1/reset/79 1737s ok 638 /checksum/SHA1/reset/80 1737s ok 639 /checksum/SHA1/reset/81 1737s ok 640 /checksum/SHA1/reset/82 1737s ok 641 /checksum/SHA1/reset/83 1737s ok 642 /checksum/SHA1/reset/84 1737s ok 643 /checksum/SHA1/reset/85 1737s ok 644 /checksum/SHA1/reset/86 1737s ok 645 /checksum/SHA1/reset/87 1737s ok 646 /checksum/SHA1/reset/88 1737s ok 647 /checksum/SHA1/reset/89 1737s ok 648 /checksum/SHA1/reset/90 1737s ok 649 /checksum/SHA1/reset/91 1737s ok 650 /checksum/SHA1/reset/92 1737s ok 651 /checksum/SHA1/reset/93 1737s ok 652 /checksum/SHA1/reset/94 1737s ok 653 /checksum/SHA1/reset/95 1737s ok 654 /checksum/SHA1/reset/96 1737s ok 655 /checksum/SHA1/reset/97 1737s ok 656 /checksum/SHA1/reset/98 1737s ok 657 /checksum/SHA1/reset/99 1737s ok 658 /checksum/SHA1/reset/100 1737s ok 659 /checksum/SHA1/reset/101 1737s ok 660 /checksum/SHA1/reset/102 1737s ok 661 /checksum/SHA1/reset/103 1737s ok 662 /checksum/SHA1/reset/104 1737s ok 663 /checksum/SHA1/reset/105 1737s ok 664 /checksum/SHA1/reset/106 1737s ok 665 /checksum/SHA1/reset/107 1737s ok 666 /checksum/SHA1/reset/108 1737s ok 667 /checksum/SHA1/reset/109 1737s ok 668 /checksum/SHA1/reset/110 1737s ok 669 /checksum/SHA1/reset/111 1737s ok 670 /checksum/SHA1/reset/112 1737s ok 671 /checksum/SHA1/reset/113 1737s ok 672 /checksum/SHA1/reset/114 1737s ok 673 /checksum/SHA1/reset/115 1737s ok 674 /checksum/SHA1/reset/116 1737s ok 675 /checksum/SHA1/reset/117 1737s ok 676 /checksum/SHA1/reset/118 1737s ok 677 /checksum/SHA1/reset/119 1737s ok 678 /checksum/SHA1/reset/120 1737s ok 679 /checksum/SHA1/reset/121 1737s ok 680 /checksum/SHA1/reset/122 1737s ok 681 /checksum/SHA1/reset/123 1737s ok 682 /checksum/SHA1/reset/124 1737s ok 683 /checksum/SHA1/reset/125 1737s ok 684 /checksum/SHA1/reset/126 1737s ok 685 /checksum/SHA1/reset/127 1737s ok 686 /checksum/SHA1/reset/128 1737s ok 687 /checksum/SHA1/reset/129 1737s ok 688 /checksum/SHA1/reset/130 1737s ok 689 /checksum/SHA1/reset/131 1737s ok 690 /checksum/SHA1/reset/132 1737s ok 691 /checksum/SHA1/reset/133 1737s ok 692 /checksum/SHA1/reset/134 1737s ok 693 /checksum/SHA1/reset/135 1737s ok 694 /checksum/SHA1/reset/136 1737s ok 695 /checksum/SHA1/reset/137 1737s ok 696 /checksum/SHA1/reset/138 1737s ok 697 /checksum/SHA1/reset/139 1737s ok 698 /checksum/SHA1/reset/140 1737s ok 699 /checksum/SHA1/reset/141 1737s ok 700 /checksum/SHA1/reset/142 1737s ok 701 /checksum/SHA1/reset/143 1737s ok 702 /checksum/SHA1/reset/144 1737s ok 703 /checksum/SHA1/reset/145 1737s ok 704 /checksum/SHA1/reset/146 1737s ok 705 /checksum/SHA1/reset/147 1737s ok 706 /checksum/SHA1/reset/148 1737s ok 707 /checksum/SHA1/reset/149 1737s ok 708 /checksum/SHA1/reset/150 1737s ok 709 /checksum/SHA1/reset/151 1737s ok 710 /checksum/SHA1/reset/152 1737s ok 711 /checksum/SHA1/reset/153 1737s ok 712 /checksum/SHA1/reset/154 1737s ok 713 /checksum/SHA1/reset/155 1737s ok 714 /checksum/SHA1/reset/156 1737s ok 715 /checksum/SHA1/reset/157 1737s ok 716 /checksum/SHA1/reset/158 1737s ok 717 /checksum/SHA1/reset/159 1737s ok 718 /checksum/SHA1/reset/160 1737s ok 719 /checksum/SHA1/reset/161 1737s ok 720 /checksum/SHA1/reset/162 1737s ok 721 /checksum/SHA1/reset/163 1737s ok 722 /checksum/SHA1/reset/164 1737s ok 723 /checksum/SHA1/reset/165 1737s ok 724 /checksum/SHA1/reset/166 1737s ok 725 /checksum/SHA1/reset/167 1737s ok 726 /checksum/SHA1/reset/168 1737s ok 727 /checksum/SHA1/reset/169 1737s ok 728 /checksum/SHA1/reset/170 1737s ok 729 /checksum/SHA1/reset/171 1737s ok 730 /checksum/SHA1/reset/172 1737s ok 731 /checksum/SHA1/reset/173 1737s ok 732 /checksum/SHA1/reset/174 1737s ok 733 /checksum/SHA1/reset/175 1737s ok 734 /checksum/SHA1/reset/176 1737s ok 735 /checksum/SHA1/reset/177 1737s ok 736 /checksum/SHA1/reset/178 1737s ok 737 /checksum/SHA1/reset/179 1737s ok 738 /checksum/SHA1/reset/180 1737s ok 739 /checksum/SHA1/reset/181 1737s ok 740 /checksum/SHA1/reset/182 1737s ok 741 /checksum/SHA1/reset/183 1737s # End of reset tests 1737s # End of SHA1 tests 1737s # Start of SHA256 tests 1737s ok 742 /checksum/SHA256/0 1737s ok 743 /checksum/SHA256/1 1737s ok 744 /checksum/SHA256/2 1737s ok 745 /checksum/SHA256/3 1737s ok 746 /checksum/SHA256/4 1737s ok 747 /checksum/SHA256/5 1737s ok 748 /checksum/SHA256/6 1737s ok 749 /checksum/SHA256/7 1737s ok 750 /checksum/SHA256/8 1737s ok 751 /checksum/SHA256/9 1737s ok 752 /checksum/SHA256/10 1737s ok 753 /checksum/SHA256/11 1737s ok 754 /checksum/SHA256/12 1737s ok 755 /checksum/SHA256/13 1737s ok 756 /checksum/SHA256/14 1737s ok 757 /checksum/SHA256/15 1737s ok 758 /checksum/SHA256/16 1737s ok 759 /checksum/SHA256/17 1737s ok 760 /checksum/SHA256/18 1737s ok 761 /checksum/SHA256/19 1737s ok 762 /checksum/SHA256/20 1737s ok 763 /checksum/SHA256/21 1737s ok 764 /checksum/SHA256/22 1737s ok 765 /checksum/SHA256/23 1737s ok 766 /checksum/SHA256/24 1737s ok 767 /checksum/SHA256/25 1737s ok 768 /checksum/SHA256/26 1737s ok 769 /checksum/SHA256/27 1737s ok 770 /checksum/SHA256/28 1737s ok 771 /checksum/SHA256/29 1737s ok 772 /checksum/SHA256/30 1737s ok 773 /checksum/SHA256/31 1737s ok 774 /checksum/SHA256/32 1737s ok 775 /checksum/SHA256/33 1737s ok 776 /checksum/SHA256/34 1737s ok 777 /checksum/SHA256/35 1737s ok 778 /checksum/SHA256/36 1737s ok 779 /checksum/SHA256/37 1737s ok 780 /checksum/SHA256/38 1737s ok 781 /checksum/SHA256/39 1737s ok 782 /checksum/SHA256/40 1737s ok 783 /checksum/SHA256/41 1737s ok 784 /checksum/SHA256/42 1737s ok 785 /checksum/SHA256/43 1737s ok 786 /checksum/SHA256/44 1737s ok 787 /checksum/SHA256/45 1737s ok 788 /checksum/SHA256/46 1737s ok 789 /checksum/SHA256/47 1737s ok 790 /checksum/SHA256/48 1737s ok 791 /checksum/SHA256/49 1737s ok 792 /checksum/SHA256/50 1737s ok 793 /checksum/SHA256/51 1737s ok 794 /checksum/SHA256/52 1737s ok 795 /checksum/SHA256/53 1737s ok 796 /checksum/SHA256/54 1737s ok 797 /checksum/SHA256/55 1737s ok 798 /checksum/SHA256/56 1737s ok 799 /checksum/SHA256/57 1737s ok 800 /checksum/SHA256/58 1737s ok 801 /checksum/SHA256/59 1737s ok 802 /checksum/SHA256/60 1737s ok 803 /checksum/SHA256/61 1737s ok 804 /checksum/SHA256/62 1737s ok 805 /checksum/SHA256/63 1737s ok 806 /checksum/SHA256/64 1737s ok 807 /checksum/SHA256/65 1737s ok 808 /checksum/SHA256/66 1737s ok 809 /checksum/SHA256/67 1737s ok 810 /checksum/SHA256/68 1737s ok 811 /checksum/SHA256/69 1737s ok 812 /checksum/SHA256/70 1737s ok 813 /checksum/SHA256/71 1737s ok 814 /checksum/SHA256/72 1737s ok 815 /checksum/SHA256/73 1737s ok 816 /checksum/SHA256/74 1737s ok 817 /checksum/SHA256/75 1737s ok 818 /checksum/SHA256/76 1737s ok 819 /checksum/SHA256/77 1737s ok 820 /checksum/SHA256/78 1737s ok 821 /checksum/SHA256/79 1737s ok 822 /checksum/SHA256/80 1737s ok 823 /checksum/SHA256/81 1737s ok 824 /checksum/SHA256/82 1737s ok 825 /checksum/SHA256/83 1737s ok 826 /checksum/SHA256/84 1737s ok 827 /checksum/SHA256/85 1737s ok 828 /checksum/SHA256/86 1737s ok 829 /checksum/SHA256/87 1737s ok 830 /checksum/SHA256/88 1737s ok 831 /checksum/SHA256/89 1737s ok 832 /checksum/SHA256/90 1737s ok 833 /checksum/SHA256/91 1737s ok 834 /checksum/SHA256/92 1737s ok 835 /checksum/SHA256/93 1737s ok 836 /checksum/SHA256/94 1737s ok 837 /checksum/SHA256/95 1737s ok 838 /checksum/SHA256/96 1737s ok 839 /checksum/SHA256/97 1737s ok 840 /checksum/SHA256/98 1737s ok 841 /checksum/SHA256/99 1737s ok 842 /checksum/SHA256/100 1737s ok 843 /checksum/SHA256/101 1737s ok 844 /checksum/SHA256/102 1737s ok 845 /checksum/SHA256/103 1737s ok 846 /checksum/SHA256/104 1737s ok 847 /checksum/SHA256/105 1737s ok 848 /checksum/SHA256/106 1737s ok 849 /checksum/SHA256/107 1737s ok 850 /checksum/SHA256/108 1737s ok 851 /checksum/SHA256/109 1737s ok 852 /checksum/SHA256/110 1737s ok 853 /checksum/SHA256/111 1737s ok 854 /checksum/SHA256/112 1737s ok 855 /checksum/SHA256/113 1737s ok 856 /checksum/SHA256/114 1737s ok 857 /checksum/SHA256/115 1737s ok 858 /checksum/SHA256/116 1737s ok 859 /checksum/SHA256/117 1737s ok 860 /checksum/SHA256/118 1737s ok 861 /checksum/SHA256/119 1737s ok 862 /checksum/SHA256/120 1737s ok 863 /checksum/SHA256/121 1737s ok 864 /checksum/SHA256/122 1737s ok 865 /checksum/SHA256/123 1737s ok 866 /checksum/SHA256/124 1737s ok 867 /checksum/SHA256/125 1737s ok 868 /checksum/SHA256/126 1737s ok 869 /checksum/SHA256/127 1737s ok 870 /checksum/SHA256/128 1737s ok 871 /checksum/SHA256/129 1737s ok 872 /checksum/SHA256/130 1737s ok 873 /checksum/SHA256/131 1737s ok 874 /checksum/SHA256/132 1737s ok 875 /checksum/SHA256/133 1737s ok 876 /checksum/SHA256/134 1737s ok 877 /checksum/SHA256/135 1737s ok 878 /checksum/SHA256/136 1737s ok 879 /checksum/SHA256/137 1737s ok 880 /checksum/SHA256/138 1737s ok 881 /checksum/SHA256/139 1737s ok 882 /checksum/SHA256/140 1737s ok 883 /checksum/SHA256/141 1737s ok 884 /checksum/SHA256/142 1737s ok 885 /checksum/SHA256/143 1737s ok 886 /checksum/SHA256/144 1737s ok 887 /checksum/SHA256/145 1737s ok 888 /checksum/SHA256/146 1737s ok 889 /checksum/SHA256/147 1737s ok 890 /checksum/SHA256/148 1737s ok 891 /checksum/SHA256/149 1737s ok 892 /checksum/SHA256/150 1737s ok 893 /checksum/SHA256/151 1737s ok 894 /checksum/SHA256/152 1737s ok 895 /checksum/SHA256/153 1737s ok 896 /checksum/SHA256/154 1737s ok 897 /checksum/SHA256/155 1737s ok 898 /checksum/SHA256/156 1737s ok 899 /checksum/SHA256/157 1737s ok 900 /checksum/SHA256/158 1737s ok 901 /checksum/SHA256/159 1737s ok 902 /checksum/SHA256/160 1737s ok 903 /checksum/SHA256/161 1737s ok 904 /checksum/SHA256/162 1737s ok 905 /checksum/SHA256/163 1737s ok 906 /checksum/SHA256/164 1737s ok 907 /checksum/SHA256/165 1737s ok 908 /checksum/SHA256/166 1737s ok 909 /checksum/SHA256/167 1737s ok 910 /checksum/SHA256/168 1737s ok 911 /checksum/SHA256/169 1737s ok 912 /checksum/SHA256/170 1737s ok 913 /checksum/SHA256/171 1737s ok 914 /checksum/SHA256/172 1737s ok 915 /checksum/SHA256/173 1737s ok 916 /checksum/SHA256/174 1737s ok 917 /checksum/SHA256/175 1737s ok 918 /checksum/SHA256/176 1737s ok 919 /checksum/SHA256/177 1737s ok 920 /checksum/SHA256/178 1737s ok 921 /checksum/SHA256/179 1737s ok 922 /checksum/SHA256/180 1737s ok 923 /checksum/SHA256/181 1737s ok 924 /checksum/SHA256/182 1737s ok 925 /checksum/SHA256/183 1737s ok 926 /checksum/SHA256/string 1737s ok 927 /checksum/SHA256/bytes 1737s # Start of reset tests 1737s ok 928 /checksum/SHA256/reset/0 1737s ok 929 /checksum/SHA256/reset/1 1737s ok 930 /checksum/SHA256/reset/2 1737s ok 931 /checksum/SHA256/reset/3 1737s ok 932 /checksum/SHA256/reset/4 1737s ok 933 /checksum/SHA256/reset/5 1737s ok 934 /checksum/SHA256/reset/6 1737s ok 935 /checksum/SHA256/reset/7 1737s ok 936 /checksum/SHA256/reset/8 1737s ok 937 /checksum/SHA256/reset/9 1737s ok 938 /checksum/SHA256/reset/10 1737s ok 939 /checksum/SHA256/reset/11 1737s ok 940 /checksum/SHA256/reset/12 1737s ok 941 /checksum/SHA256/reset/13 1737s ok 942 /checksum/SHA256/reset/14 1737s ok 943 /checksum/SHA256/reset/15 1737s ok 944 /checksum/SHA256/reset/16 1737s ok 945 /checksum/SHA256/reset/17 1737s ok 946 /checksum/SHA256/reset/18 1737s ok 947 /checksum/SHA256/reset/19 1737s ok 948 /checksum/SHA256/reset/20 1737s ok 949 /checksum/SHA256/reset/21 1737s ok 950 /checksum/SHA256/reset/22 1737s ok 951 /checksum/SHA256/reset/23 1737s ok 952 /checksum/SHA256/reset/24 1737s ok 953 /checksum/SHA256/reset/25 1737s ok 954 /checksum/SHA256/reset/26 1737s ok 955 /checksum/SHA256/reset/27 1737s ok 956 /checksum/SHA256/reset/28 1737s ok 957 /checksum/SHA256/reset/29 1737s ok 958 /checksum/SHA256/reset/30 1737s ok 959 /checksum/SHA256/reset/31 1737s ok 960 /checksum/SHA256/reset/32 1737s ok 961 /checksum/SHA256/reset/33 1737s ok 962 /checksum/SHA256/reset/34 1737s ok 963 /checksum/SHA256/reset/35 1737s ok 964 /checksum/SHA256/reset/36 1737s ok 965 /checksum/SHA256/reset/37 1737s ok 966 /checksum/SHA256/reset/38 1737s ok 967 /checksum/SHA256/reset/39 1737s ok 968 /checksum/SHA256/reset/40 1737s ok 969 /checksum/SHA256/reset/41 1737s ok 970 /checksum/SHA256/reset/42 1737s ok 971 /checksum/SHA256/reset/43 1737s ok 972 /checksum/SHA256/reset/44 1737s ok 973 /checksum/SHA256/reset/45 1737s ok 974 /checksum/SHA256/reset/46 1737s ok 975 /checksum/SHA256/reset/47 1737s ok 976 /checksum/SHA256/reset/48 1737s ok 977 /checksum/SHA256/reset/49 1737s ok 978 /checksum/SHA256/reset/50 1737s ok 979 /checksum/SHA256/reset/51 1737s ok 980 /checksum/SHA256/reset/52 1737s ok 981 /checksum/SHA256/reset/53 1737s ok 982 /checksum/SHA256/reset/54 1737s ok 983 /checksum/SHA256/reset/55 1737s ok 984 /checksum/SHA256/reset/56 1737s ok 985 /checksum/SHA256/reset/57 1737s ok 986 /checksum/SHA256/reset/58 1737s ok 987 /checksum/SHA256/reset/59 1737s ok 988 /checksum/SHA256/reset/60 1737s ok 989 /checksum/SHA256/reset/61 1737s ok 990 /checksum/SHA256/reset/62 1737s ok 991 /checksum/SHA256/reset/63 1737s ok 992 /checksum/SHA256/reset/64 1737s ok 993 /checksum/SHA256/reset/65 1737s ok 994 /checksum/SHA256/reset/66 1737s ok 995 /checksum/SHA256/reset/67 1737s ok 996 /checksum/SHA256/reset/68 1737s ok 997 /checksum/SHA256/reset/69 1737s ok 998 /checksum/SHA256/reset/70 1737s ok 999 /checksum/SHA256/reset/71 1737s ok 1000 /checksum/SHA256/reset/72 1737s ok 1001 /checksum/SHA256/reset/73 1737s ok 1002 /checksum/SHA256/reset/74 1737s ok 1003 /checksum/SHA256/reset/75 1737s ok 1004 /checksum/SHA256/reset/76 1737s ok 1005 /checksum/SHA256/reset/77 1737s ok 1006 /checksum/SHA256/reset/78 1737s ok 1007 /checksum/SHA256/reset/79 1737s ok 1008 /checksum/SHA256/reset/80 1737s ok 1009 /checksum/SHA256/reset/81 1737s ok 1010 /checksum/SHA256/reset/82 1737s ok 1011 /checksum/SHA256/reset/83 1737s ok 1012 /checksum/SHA256/reset/84 1737s ok 1013 /checksum/SHA256/reset/85 1737s ok 1014 /checksum/SHA256/reset/86 1737s ok 1015 /checksum/SHA256/reset/87 1737s ok 1016 /checksum/SHA256/reset/88 1737s ok 1017 /checksum/SHA256/reset/89 1737s ok 1018 /checksum/SHA256/reset/90 1737s ok 1019 /checksum/SHA256/reset/91 1737s ok 1020 /checksum/SHA256/reset/92 1737s ok 1021 /checksum/SHA256/reset/93 1737s ok 1022 /checksum/SHA256/reset/94 1737s ok 1023 /checksum/SHA256/reset/95 1737s ok 1024 /checksum/SHA256/reset/96 1737s ok 1025 /checksum/SHA256/reset/97 1737s ok 1026 /checksum/SHA256/reset/98 1737s ok 1027 /checksum/SHA256/reset/99 1737s ok 1028 /checksum/SHA256/reset/100 1737s ok 1029 /checksum/SHA256/reset/101 1737s ok 1030 /checksum/SHA256/reset/102 1737s ok 1031 /checksum/SHA256/reset/103 1737s ok 1032 /checksum/SHA256/reset/104 1737s ok 1033 /checksum/SHA256/reset/105 1737s ok 1034 /checksum/SHA256/reset/106 1737s ok 1035 /checksum/SHA256/reset/107 1737s ok 1036 /checksum/SHA256/reset/108 1737s ok 1037 /checksum/SHA256/reset/109 1737s ok 1038 /checksum/SHA256/reset/110 1737s ok 1039 /checksum/SHA256/reset/111 1737s ok 1040 /checksum/SHA256/reset/112 1737s ok 1041 /checksum/SHA256/reset/113 1737s ok 1042 /checksum/SHA256/reset/114 1737s ok 1043 /checksum/SHA256/reset/115 1737s ok 1044 /checksum/SHA256/reset/116 1737s ok 1045 /checksum/SHA256/reset/117 1737s ok 1046 /checksum/SHA256/reset/118 1737s ok 1047 /checksum/SHA256/reset/119 1737s ok 1048 /checksum/SHA256/reset/120 1737s ok 1049 /checksum/SHA256/reset/121 1737s ok 1050 /checksum/SHA256/reset/122 1737s ok 1051 /checksum/SHA256/reset/123 1737s ok 1052 /checksum/SHA256/reset/124 1737s ok 1053 /checksum/SHA256/reset/125 1737s ok 1054 /checksum/SHA256/reset/126 1737s ok 1055 /checksum/SHA256/reset/127 1737s ok 1056 /checksum/SHA256/reset/128 1737s ok 1057 /checksum/SHA256/reset/129 1737s ok 1058 /checksum/SHA256/reset/130 1737s ok 1059 /checksum/SHA256/reset/131 1737s ok 1060 /checksum/SHA256/reset/132 1737s ok 1061 /checksum/SHA256/reset/133 1737s ok 1062 /checksum/SHA256/reset/134 1737s ok 1063 /checksum/SHA256/reset/135 1737s ok 1064 /checksum/SHA256/reset/136 1737s ok 1065 /checksum/SHA256/reset/137 1737s ok 1066 /checksum/SHA256/reset/138 1737s ok 1067 /checksum/SHA256/reset/139 1737s ok 1068 /checksum/SHA256/reset/140 1737s ok 1069 /checksum/SHA256/reset/141 1737s ok 1070 /checksum/SHA256/reset/142 1737s ok 1071 /checksum/SHA256/reset/143 1737s ok 1072 /checksum/SHA256/reset/144 1737s ok 1073 /checksum/SHA256/reset/145 1737s ok 1074 /checksum/SHA256/reset/146 1737s ok 1075 /checksum/SHA256/reset/147 1737s ok 1076 /checksum/SHA256/reset/148 1737s ok 1077 /checksum/SHA256/reset/149 1737s ok 1078 /checksum/SHA256/reset/150 1738s ok 1079 /checksum/SHA256/reset/151 1738s ok 1080 /checksum/SHA256/reset/152 1738s ok 1081 /checksum/SHA256/reset/153 1738s ok 1082 /checksum/SHA256/reset/154 1738s ok 1083 /checksum/SHA256/reset/155 1738s ok 1084 /checksum/SHA256/reset/156 1738s ok 1085 /checksum/SHA256/reset/157 1738s ok 1086 /checksum/SHA256/reset/158 1738s ok 1087 /checksum/SHA256/reset/159 1738s ok 1088 /checksum/SHA256/reset/160 1738s ok 1089 /checksum/SHA256/reset/161 1738s ok 1090 /checksum/SHA256/reset/162 1738s ok 1091 /checksum/SHA256/reset/163 1738s ok 1092 /checksum/SHA256/reset/164 1738s ok 1093 /checksum/SHA256/reset/165 1738s ok 1094 /checksum/SHA256/reset/166 1738s ok 1095 /checksum/SHA256/reset/167 1738s ok 1096 /checksum/SHA256/reset/168 1738s ok 1097 /checksum/SHA256/reset/169 1738s ok 1098 /checksum/SHA256/reset/170 1738s ok 1099 /checksum/SHA256/reset/171 1738s ok 1100 /checksum/SHA256/reset/172 1738s ok 1101 /checksum/SHA256/reset/173 1738s ok 1102 /checksum/SHA256/reset/174 1738s ok 1103 /checksum/SHA256/reset/175 1738s ok 1104 /checksum/SHA256/reset/176 1738s ok 1105 /checksum/SHA256/reset/177 1738s ok 1106 /checksum/SHA256/reset/178 1738s ok 1107 /checksum/SHA256/reset/179 1738s ok 1108 /checksum/SHA256/reset/180 1738s ok 1109 /checksum/SHA256/reset/181 1738s ok 1110 /checksum/SHA256/reset/182 1738s ok 1111 /checksum/SHA256/reset/183 1738s # End of reset tests 1738s # End of SHA256 tests 1738s # Start of SHA384 tests 1738s ok 1112 /checksum/SHA384/0 1738s ok 1113 /checksum/SHA384/1 1738s ok 1114 /checksum/SHA384/2 1738s ok 1115 /checksum/SHA384/3 1738s ok 1116 /checksum/SHA384/4 1738s ok 1117 /checksum/SHA384/5 1738s ok 1118 /checksum/SHA384/6 1738s ok 1119 /checksum/SHA384/7 1738s ok 1120 /checksum/SHA384/8 1738s ok 1121 /checksum/SHA384/9 1738s ok 1122 /checksum/SHA384/10 1738s ok 1123 /checksum/SHA384/11 1738s ok 1124 /checksum/SHA384/12 1738s ok 1125 /checksum/SHA384/13 1738s ok 1126 /checksum/SHA384/14 1738s ok 1127 /checksum/SHA384/15 1738s ok 1128 /checksum/SHA384/16 1738s ok 1129 /checksum/SHA384/17 1738s ok 1130 /checksum/SHA384/18 1738s ok 1131 /checksum/SHA384/19 1738s ok 1132 /checksum/SHA384/20 1738s ok 1133 /checksum/SHA384/21 1738s ok 1134 /checksum/SHA384/22 1738s ok 1135 /checksum/SHA384/23 1738s ok 1136 /checksum/SHA384/24 1738s ok 1137 /checksum/SHA384/25 1738s ok 1138 /checksum/SHA384/26 1738s ok 1139 /checksum/SHA384/27 1738s ok 1140 /checksum/SHA384/28 1738s ok 1141 /checksum/SHA384/29 1738s ok 1142 /checksum/SHA384/30 1738s ok 1143 /checksum/SHA384/31 1738s ok 1144 /checksum/SHA384/32 1738s ok 1145 /checksum/SHA384/33 1738s ok 1146 /checksum/SHA384/34 1738s ok 1147 /checksum/SHA384/35 1738s ok 1148 /checksum/SHA384/36 1738s ok 1149 /checksum/SHA384/37 1738s ok 1150 /checksum/SHA384/38 1738s ok 1151 /checksum/SHA384/39 1738s ok 1152 /checksum/SHA384/40 1738s ok 1153 /checksum/SHA384/41 1738s ok 1154 /checksum/SHA384/42 1738s ok 1155 /checksum/SHA384/43 1738s ok 1156 /checksum/SHA384/44 1738s ok 1157 /checksum/SHA384/45 1738s ok 1158 /checksum/SHA384/46 1738s ok 1159 /checksum/SHA384/47 1738s ok 1160 /checksum/SHA384/48 1738s ok 1161 /checksum/SHA384/49 1738s ok 1162 /checksum/SHA384/50 1738s ok 1163 /checksum/SHA384/51 1738s ok 1164 /checksum/SHA384/52 1738s ok 1165 /checksum/SHA384/53 1738s ok 1166 /checksum/SHA384/54 1738s ok 1167 /checksum/SHA384/55 1738s ok 1168 /checksum/SHA384/56 1738s ok 1169 /checksum/SHA384/57 1738s ok 1170 /checksum/SHA384/58 1738s ok 1171 /checksum/SHA384/59 1738s ok 1172 /checksum/SHA384/60 1738s ok 1173 /checksum/SHA384/61 1738s ok 1174 /checksum/SHA384/62 1738s ok 1175 /checksum/SHA384/63 1738s ok 1176 /checksum/SHA384/64 1738s ok 1177 /checksum/SHA384/65 1738s ok 1178 /checksum/SHA384/66 1738s ok 1179 /checksum/SHA384/67 1738s ok 1180 /checksum/SHA384/68 1738s ok 1181 /checksum/SHA384/69 1738s ok 1182 /checksum/SHA384/70 1738s ok 1183 /checksum/SHA384/71 1738s ok 1184 /checksum/SHA384/72 1738s ok 1185 /checksum/SHA384/73 1738s ok 1186 /checksum/SHA384/74 1738s ok 1187 /checksum/SHA384/75 1738s ok 1188 /checksum/SHA384/76 1738s ok 1189 /checksum/SHA384/77 1738s ok 1190 /checksum/SHA384/78 1738s ok 1191 /checksum/SHA384/79 1738s ok 1192 /checksum/SHA384/80 1738s ok 1193 /checksum/SHA384/81 1738s ok 1194 /checksum/SHA384/82 1738s ok 1195 /checksum/SHA384/83 1738s ok 1196 /checksum/SHA384/84 1738s ok 1197 /checksum/SHA384/85 1738s ok 1198 /checksum/SHA384/86 1738s ok 1199 /checksum/SHA384/87 1738s ok 1200 /checksum/SHA384/88 1738s ok 1201 /checksum/SHA384/89 1738s ok 1202 /checksum/SHA384/90 1738s ok 1203 /checksum/SHA384/91 1738s ok 1204 /checksum/SHA384/92 1738s ok 1205 /checksum/SHA384/93 1738s ok 1206 /checksum/SHA384/94 1738s ok 1207 /checksum/SHA384/95 1738s ok 1208 /checksum/SHA384/96 1738s ok 1209 /checksum/SHA384/97 1738s ok 1210 /checksum/SHA384/98 1738s ok 1211 /checksum/SHA384/99 1738s ok 1212 /checksum/SHA384/100 1738s ok 1213 /checksum/SHA384/101 1738s ok 1214 /checksum/SHA384/102 1738s ok 1215 /checksum/SHA384/103 1738s ok 1216 /checksum/SHA384/104 1738s ok 1217 /checksum/SHA384/105 1738s ok 1218 /checksum/SHA384/106 1738s ok 1219 /checksum/SHA384/107 1738s ok 1220 /checksum/SHA384/108 1738s ok 1221 /checksum/SHA384/109 1738s ok 1222 /checksum/SHA384/110 1738s ok 1223 /checksum/SHA384/111 1738s ok 1224 /checksum/SHA384/112 1738s ok 1225 /checksum/SHA384/113 1738s ok 1226 /checksum/SHA384/114 1738s ok 1227 /checksum/SHA384/115 1738s ok 1228 /checksum/SHA384/116 1738s ok 1229 /checksum/SHA384/117 1738s ok 1230 /checksum/SHA384/118 1738s ok 1231 /checksum/SHA384/119 1738s ok 1232 /checksum/SHA384/120 1738s ok 1233 /checksum/SHA384/121 1738s ok 1234 /checksum/SHA384/122 1738s ok 1235 /checksum/SHA384/123 1738s ok 1236 /checksum/SHA384/124 1738s ok 1237 /checksum/SHA384/125 1738s ok 1238 /checksum/SHA384/126 1738s ok 1239 /checksum/SHA384/127 1738s ok 1240 /checksum/SHA384/128 1738s ok 1241 /checksum/SHA384/129 1738s ok 1242 /checksum/SHA384/130 1738s ok 1243 /checksum/SHA384/131 1738s ok 1244 /checksum/SHA384/132 1738s ok 1245 /checksum/SHA384/133 1738s ok 1246 /checksum/SHA384/134 1738s ok 1247 /checksum/SHA384/135 1738s ok 1248 /checksum/SHA384/136 1738s ok 1249 /checksum/SHA384/137 1738s ok 1250 /checksum/SHA384/138 1738s ok 1251 /checksum/SHA384/139 1738s ok 1252 /checksum/SHA384/140 1738s ok 1253 /checksum/SHA384/141 1738s ok 1254 /checksum/SHA384/142 1738s ok 1255 /checksum/SHA384/143 1738s ok 1256 /checksum/SHA384/144 1738s ok 1257 /checksum/SHA384/145 1738s ok 1258 /checksum/SHA384/146 1738s ok 1259 /checksum/SHA384/147 1738s ok 1260 /checksum/SHA384/148 1738s ok 1261 /checksum/SHA384/149 1738s ok 1262 /checksum/SHA384/150 1738s ok 1263 /checksum/SHA384/151 1738s ok 1264 /checksum/SHA384/152 1738s ok 1265 /checksum/SHA384/153 1738s ok 1266 /checksum/SHA384/154 1738s ok 1267 /checksum/SHA384/155 1738s ok 1268 /checksum/SHA384/156 1738s ok 1269 /checksum/SHA384/157 1738s ok 1270 /checksum/SHA384/158 1738s ok 1271 /checksum/SHA384/159 1738s ok 1272 /checksum/SHA384/160 1738s ok 1273 /checksum/SHA384/161 1738s ok 1274 /checksum/SHA384/162 1738s ok 1275 /checksum/SHA384/163 1738s ok 1276 /checksum/SHA384/164 1738s ok 1277 /checksum/SHA384/165 1738s ok 1278 /checksum/SHA384/166 1738s ok 1279 /checksum/SHA384/167 1738s ok 1280 /checksum/SHA384/168 1738s ok 1281 /checksum/SHA384/169 1738s ok 1282 /checksum/SHA384/170 1738s ok 1283 /checksum/SHA384/171 1738s ok 1284 /checksum/SHA384/172 1738s ok 1285 /checksum/SHA384/173 1738s ok 1286 /checksum/SHA384/174 1738s ok 1287 /checksum/SHA384/175 1738s ok 1288 /checksum/SHA384/176 1738s ok 1289 /checksum/SHA384/177 1738s ok 1290 /checksum/SHA384/178 1738s ok 1291 /checksum/SHA384/179 1738s ok 1292 /checksum/SHA384/180 1738s ok 1293 /checksum/SHA384/181 1738s ok 1294 /checksum/SHA384/182 1738s ok 1295 /checksum/SHA384/183 1738s ok 1296 /checksum/SHA384/string 1738s ok 1297 /checksum/SHA384/bytes 1738s # Start of reset tests 1738s ok 1298 /checksum/SHA384/reset/0 1738s ok 1299 /checksum/SHA384/reset/1 1738s ok 1300 /checksum/SHA384/reset/2 1738s ok 1301 /checksum/SHA384/reset/3 1738s ok 1302 /checksum/SHA384/reset/4 1738s ok 1303 /checksum/SHA384/reset/5 1738s ok 1304 /checksum/SHA384/reset/6 1738s ok 1305 /checksum/SHA384/reset/7 1738s ok 1306 /checksum/SHA384/reset/8 1738s ok 1307 /checksum/SHA384/reset/9 1738s ok 1308 /checksum/SHA384/reset/10 1738s ok 1309 /checksum/SHA384/reset/11 1738s ok 1310 /checksum/SHA384/reset/12 1738s ok 1311 /checksum/SHA384/reset/13 1738s ok 1312 /checksum/SHA384/reset/14 1738s ok 1313 /checksum/SHA384/reset/15 1738s ok 1314 /checksum/SHA384/reset/16 1738s ok 1315 /checksum/SHA384/reset/17 1738s ok 1316 /checksum/SHA384/reset/18 1738s ok 1317 /checksum/SHA384/reset/19 1738s ok 1318 /checksum/SHA384/reset/20 1738s ok 1319 /checksum/SHA384/reset/21 1738s ok 1320 /checksum/SHA384/reset/22 1738s ok 1321 /checksum/SHA384/reset/23 1738s ok 1322 /checksum/SHA384/reset/24 1738s ok 1323 /checksum/SHA384/reset/25 1738s ok 1324 /checksum/SHA384/reset/26 1738s ok 1325 /checksum/SHA384/reset/27 1738s ok 1326 /checksum/SHA384/reset/28 1738s ok 1327 /checksum/SHA384/reset/29 1738s ok 1328 /checksum/SHA384/reset/30 1738s ok 1329 /checksum/SHA384/reset/31 1738s ok 1330 /checksum/SHA384/reset/32 1738s ok 1331 /checksum/SHA384/reset/33 1738s ok 1332 /checksum/SHA384/reset/34 1738s ok 1333 /checksum/SHA384/reset/35 1738s ok 1334 /checksum/SHA384/reset/36 1738s ok 1335 /checksum/SHA384/reset/37 1738s ok 1336 /checksum/SHA384/reset/38 1738s ok 1337 /checksum/SHA384/reset/39 1738s ok 1338 /checksum/SHA384/reset/40 1738s ok 1339 /checksum/SHA384/reset/41 1738s ok 1340 /checksum/SHA384/reset/42 1738s ok 1341 /checksum/SHA384/reset/43 1738s ok 1342 /checksum/SHA384/reset/44 1738s ok 1343 /checksum/SHA384/reset/45 1738s ok 1344 /checksum/SHA384/reset/46 1738s ok 1345 /checksum/SHA384/reset/47 1738s ok 1346 /checksum/SHA384/reset/48 1738s ok 1347 /checksum/SHA384/reset/49 1738s ok 1348 /checksum/SHA384/reset/50 1738s ok 1349 /checksum/SHA384/reset/51 1738s ok 1350 /checksum/SHA384/reset/52 1738s ok 1351 /checksum/SHA384/reset/53 1738s ok 1352 /checksum/SHA384/reset/54 1738s ok 1353 /checksum/SHA384/reset/55 1738s ok 1354 /checksum/SHA384/reset/56 1738s ok 1355 /checksum/SHA384/reset/57 1738s ok 1356 /checksum/SHA384/reset/58 1738s ok 1357 /checksum/SHA384/reset/59 1738s ok 1358 /checksum/SHA384/reset/60 1738s ok 1359 /checksum/SHA384/reset/61 1738s ok 1360 /checksum/SHA384/reset/62 1738s ok 1361 /checksum/SHA384/reset/63 1738s ok 1362 /checksum/SHA384/reset/64 1738s ok 1363 /checksum/SHA384/reset/65 1738s ok 1364 /checksum/SHA384/reset/66 1738s ok 1365 /checksum/SHA384/reset/67 1738s ok 1366 /checksum/SHA384/reset/68 1738s ok 1367 /checksum/SHA384/reset/69 1738s ok 1368 /checksum/SHA384/reset/70 1738s ok 1369 /checksum/SHA384/reset/71 1738s ok 1370 /checksum/SHA384/reset/72 1738s ok 1371 /checksum/SHA384/reset/73 1738s ok 1372 /checksum/SHA384/reset/74 1738s ok 1373 /checksum/SHA384/reset/75 1738s ok 1374 /checksum/SHA384/reset/76 1738s ok 1375 /checksum/SHA384/reset/77 1738s ok 1376 /checksum/SHA384/reset/78 1738s ok 1377 /checksum/SHA384/reset/79 1738s ok 1378 /checksum/SHA384/reset/80 1738s ok 1379 /checksum/SHA384/reset/81 1738s ok 1380 /checksum/SHA384/reset/82 1738s ok 1381 /checksum/SHA384/reset/83 1738s ok 1382 /checksum/SHA384/reset/84 1738s ok 1383 /checksum/SHA384/reset/85 1738s ok 1384 /checksum/SHA384/reset/86 1738s ok 1385 /checksum/SHA384/reset/87 1738s ok 1386 /checksum/SHA384/reset/88 1738s ok 1387 /checksum/SHA384/reset/89 1738s ok 1388 /checksum/SHA384/reset/90 1738s ok 1389 /checksum/SHA384/reset/91 1738s ok 1390 /checksum/SHA384/reset/92 1738s ok 1391 /checksum/SHA384/reset/93 1738s ok 1392 /checksum/SHA384/reset/94 1738s ok 1393 /checksum/SHA384/reset/95 1738s ok 1394 /checksum/SHA384/reset/96 1738s ok 1395 /checksum/SHA384/reset/97 1738s ok 1396 /checksum/SHA384/reset/98 1738s ok 1397 /checksum/SHA384/reset/99 1738s ok 1398 /checksum/SHA384/reset/100 1738s ok 1399 /checksum/SHA384/reset/101 1738s ok 1400 /checksum/SHA384/reset/102 1738s ok 1401 /checksum/SHA384/reset/103 1738s ok 1402 /checksum/SHA384/reset/104 1738s ok 1403 /checksum/SHA384/reset/105 1738s ok 1404 /checksum/SHA384/reset/106 1738s ok 1405 /checksum/SHA384/reset/107 1738s ok 1406 /checksum/SHA384/reset/108 1738s ok 1407 /checksum/SHA384/reset/109 1738s ok 1408 /checksum/SHA384/reset/110 1738s ok 1409 /checksum/SHA384/reset/111 1738s ok 1410 /checksum/SHA384/reset/112 1738s ok 1411 /checksum/SHA384/reset/113 1738s ok 1412 /checksum/SHA384/reset/114 1738s ok 1413 /checksum/SHA384/reset/115 1738s ok 1414 /checksum/SHA384/reset/116 1738s ok 1415 /checksum/SHA384/reset/117 1738s ok 1416 /checksum/SHA384/reset/118 1738s ok 1417 /checksum/SHA384/reset/119 1738s ok 1418 /checksum/SHA384/reset/120 1738s ok 1419 /checksum/SHA384/reset/121 1738s ok 1420 /checksum/SHA384/reset/122 1738s ok 1421 /checksum/SHA384/reset/123 1738s ok 1422 /checksum/SHA384/reset/124 1738s ok 1423 /checksum/SHA384/reset/125 1738s ok 1424 /checksum/SHA384/reset/126 1738s ok 1425 /checksum/SHA384/reset/127 1738s ok 1426 /checksum/SHA384/reset/128 1738s ok 1427 /checksum/SHA384/reset/129 1738s ok 1428 /checksum/SHA384/reset/130 1738s ok 1429 /checksum/SHA384/reset/131 1738s ok 1430 /checksum/SHA384/reset/132 1738s ok 1431 /checksum/SHA384/reset/133 1738s ok 1432 /checksum/SHA384/reset/134 1738s ok 1433 /checksum/SHA384/reset/135 1738s ok 1434 /checksum/SHA384/reset/136 1738s ok 1435 /checksum/SHA384/reset/137 1738s ok 1436 /checksum/SHA384/reset/138 1738s ok 1437 /checksum/SHA384/reset/139 1738s ok 1438 /checksum/SHA384/reset/140 1738s ok 1439 /checksum/SHA384/reset/141 1738s ok 1440 /checksum/SHA384/reset/142 1738s ok 1441 /checksum/SHA384/reset/143 1738s ok 1442 /checksum/SHA384/reset/144 1738s ok 1443 /checksum/SHA384/reset/145 1738s ok 1444 /checksum/SHA384/reset/146 1738s ok 1445 /checksum/SHA384/reset/147 1738s ok 1446 /checksum/SHA384/reset/148 1738s ok 1447 /checksum/SHA384/reset/149 1738s ok 1448 /checksum/SHA384/reset/150 1738s ok 1449 /checksum/SHA384/reset/151 1738s ok 1450 /checksum/SHA384/reset/152 1738s ok 1451 /checksum/SHA384/reset/153 1738s ok 1452 /checksum/SHA384/reset/154 1738s ok 1453 /checksum/SHA384/reset/155 1738s ok 1454 /checksum/SHA384/reset/156 1738s ok 1455 /checksum/SHA384/reset/157 1738s ok 1456 /checksum/SHA384/reset/158 1738s ok 1457 /checksum/SHA384/reset/159 1738s ok 1458 /checksum/SHA384/reset/160 1738s ok 1459 /checksum/SHA384/reset/161 1738s ok 1460 /checksum/SHA384/reset/162 1738s ok 1461 /checksum/SHA384/reset/163 1738s ok 1462 /checksum/SHA384/reset/164 1738s ok 1463 /checksum/SHA384/reset/165 1738s ok 1464 /checksum/SHA384/reset/166 1738s ok 1465 /checksum/SHA384/reset/167 1738s ok 1466 /checksum/SHA384/reset/168 1738s ok 1467 /checksum/SHA384/reset/169 1738s ok 1468 /checksum/SHA384/reset/170 1738s ok 1469 /checksum/SHA384/reset/171 1738s ok 1470 /checksum/SHA384/reset/172 1738s ok 1471 /checksum/SHA384/reset/173 1738s ok 1472 /checksum/SHA384/reset/174 1738s ok 1473 /checksum/SHA384/reset/175 1738s ok 1474 /checksum/SHA384/reset/176 1738s ok 1475 /checksum/SHA384/reset/177 1738s ok 1476 /checksum/SHA384/reset/178 1738s ok 1477 /checksum/SHA384/reset/179 1738s ok 1478 /checksum/SHA384/reset/180 1738s ok 1479 /checksum/SHA384/reset/181 1738s ok 1480 /checksum/SHA384/reset/182 1738s ok 1481 /checksum/SHA384/reset/183 1738s # End of reset tests 1738s # End of SHA384 tests 1738s # Start of SHA512 tests 1738s ok 1482 /checksum/SHA512/0 1738s ok 1483 /checksum/SHA512/1 1738s ok 1484 /checksum/SHA512/2 1738s ok 1485 /checksum/SHA512/3 1738s ok 1486 /checksum/SHA512/4 1738s ok 1487 /checksum/SHA512/5 1738s ok 1488 /checksum/SHA512/6 1738s ok 1489 /checksum/SHA512/7 1738s ok 1490 /checksum/SHA512/8 1738s ok 1491 /checksum/SHA512/9 1738s ok 1492 /checksum/SHA512/10 1738s ok 1493 /checksum/SHA512/11 1738s ok 1494 /checksum/SHA512/12 1738s ok 1495 /checksum/SHA512/13 1738s ok 1496 /checksum/SHA512/14 1738s ok 1497 /checksum/SHA512/15 1738s ok 1498 /checksum/SHA512/16 1738s ok 1499 /checksum/SHA512/17 1738s ok 1500 /checksum/SHA512/18 1738s ok 1501 /checksum/SHA512/19 1738s ok 1502 /checksum/SHA512/20 1738s ok 1503 /checksum/SHA512/21 1738s ok 1504 /checksum/SHA512/22 1738s ok 1505 /checksum/SHA512/23 1738s ok 1506 /checksum/SHA512/24 1738s ok 1507 /checksum/SHA512/25 1738s ok 1508 /checksum/SHA512/26 1738s ok 1509 /checksum/SHA512/27 1738s ok 1510 /checksum/SHA512/28 1738s ok 1511 /checksum/SHA512/29 1738s ok 1512 /checksum/SHA512/30 1738s ok 1513 /checksum/SHA512/31 1738s ok 1514 /checksum/SHA512/32 1738s ok 1515 /checksum/SHA512/33 1738s ok 1516 /checksum/SHA512/34 1738s ok 1517 /checksum/SHA512/35 1738s ok 1518 /checksum/SHA512/36 1738s ok 1519 /checksum/SHA512/37 1738s ok 1520 /checksum/SHA512/38 1738s ok 1521 /checksum/SHA512/39 1738s ok 1522 /checksum/SHA512/40 1738s ok 1523 /checksum/SHA512/41 1738s ok 1524 /checksum/SHA512/42 1738s ok 1525 /checksum/SHA512/43 1738s ok 1526 /checksum/SHA512/44 1738s ok 1527 /checksum/SHA512/45 1738s ok 1528 /checksum/SHA512/46 1738s ok 1529 /checksum/SHA512/47 1738s ok 1530 /checksum/SHA512/48 1738s ok 1531 /checksum/SHA512/49 1738s ok 1532 /checksum/SHA512/50 1738s ok 1533 /checksum/SHA512/51 1738s ok 1534 /checksum/SHA512/52 1738s ok 1535 /checksum/SHA512/53 1738s ok 1536 /checksum/SHA512/54 1738s ok 1537 /checksum/SHA512/55 1738s ok 1538 /checksum/SHA512/56 1738s ok 1539 /checksum/SHA512/57 1738s ok 1540 /checksum/SHA512/58 1738s ok 1541 /checksum/SHA512/59 1738s ok 1542 /checksum/SHA512/60 1738s ok 1543 /checksum/SHA512/61 1738s ok 1544 /checksum/SHA512/62 1738s ok 1545 /checksum/SHA512/63 1738s ok 1546 /checksum/SHA512/64 1738s ok 1547 /checksum/SHA512/65 1738s ok 1548 /checksum/SHA512/66 1738s ok 1549 /checksum/SHA512/67 1738s ok 1550 /checksum/SHA512/68 1738s ok 1551 /checksum/SHA512/69 1738s ok 1552 /checksum/SHA512/70 1738s ok 1553 /checksum/SHA512/71 1738s ok 1554 /checksum/SHA512/72 1738s ok 1555 /checksum/SHA512/73 1738s ok 1556 /checksum/SHA512/74 1738s ok 1557 /checksum/SHA512/75 1738s ok 1558 /checksum/SHA512/76 1738s ok 1559 /checksum/SHA512/77 1738s ok 1560 /checksum/SHA512/78 1738s ok 1561 /checksum/SHA512/79 1738s ok 1562 /checksum/SHA512/80 1738s ok 1563 /checksum/SHA512/81 1738s ok 1564 /checksum/SHA512/82 1738s ok 1565 /checksum/SHA512/83 1738s ok 1566 /checksum/SHA512/84 1738s ok 1567 /checksum/SHA512/85 1738s ok 1568 /checksum/SHA512/86 1738s ok 1569 /checksum/SHA512/87 1738s ok 1570 /checksum/SHA512/88 1738s ok 1571 /checksum/SHA512/89 1738s ok 1572 /checksum/SHA512/90 1738s ok 1573 /checksum/SHA512/91 1738s ok 1574 /checksum/SHA512/92 1738s ok 1575 /checksum/SHA512/93 1738s ok 1576 /checksum/SHA512/94 1738s ok 1577 /checksum/SHA512/95 1738s ok 1578 /checksum/SHA512/96 1738s ok 1579 /checksum/SHA512/97 1738s ok 1580 /checksum/SHA512/98 1738s ok 1581 /checksum/SHA512/99 1738s ok 1582 /checksum/SHA512/100 1738s ok 1583 /checksum/SHA512/101 1738s ok 1584 /checksum/SHA512/102 1738s ok 1585 /checksum/SHA512/103 1738s ok 1586 /checksum/SHA512/104 1738s ok 1587 /checksum/SHA512/105 1738s ok 1588 /checksum/SHA512/106 1738s ok 1589 /checksum/SHA512/107 1738s ok 1590 /checksum/SHA512/108 1738s ok 1591 /checksum/SHA512/109 1738s ok 1592 /checksum/SHA512/110 1738s ok 1593 /checksum/SHA512/111 1738s ok 1594 /checksum/SHA512/112 1738s ok 1595 /checksum/SHA512/113 1738s ok 1596 /checksum/SHA512/114 1738s ok 1597 /checksum/SHA512/115 1738s ok 1598 /checksum/SHA512/116 1738s ok 1599 /checksum/SHA512/117 1738s ok 1600 /checksum/SHA512/118 1738s ok 1601 /checksum/SHA512/119 1738s ok 1602 /checksum/SHA512/120 1738s ok 1603 /checksum/SHA512/121 1738s ok 1604 /checksum/SHA512/122 1738s ok 1605 /checksum/SHA512/123 1738s ok 1606 /checksum/SHA512/124 1738s ok 1607 /checksum/SHA512/125 1738s ok 1608 /checksum/SHA512/126 1738s ok 1609 /checksum/SHA512/127 1738s ok 1610 /checksum/SHA512/128 1738s ok 1611 /checksum/SHA512/129 1738s ok 1612 /checksum/SHA512/130 1738s ok 1613 /checksum/SHA512/131 1738s ok 1614 /checksum/SHA512/132 1738s ok 1615 /checksum/SHA512/133 1738s ok 1616 /checksum/SHA512/134 1738s ok 1617 /checksum/SHA512/135 1738s ok 1618 /checksum/SHA512/136 1738s ok 1619 /checksum/SHA512/137 1738s ok 1620 /checksum/SHA512/138 1738s ok 1621 /checksum/SHA512/139 1738s ok 1622 /checksum/SHA512/140 1738s ok 1623 /checksum/SHA512/141 1738s ok 1624 /checksum/SHA512/142 1738s ok 1625 /checksum/SHA512/143 1738s ok 1626 /checksum/SHA512/144 1738s ok 1627 /checksum/SHA512/145 1738s ok 1628 /checksum/SHA512/146 1738s ok 1629 /checksum/SHA512/147 1738s ok 1630 /checksum/SHA512/148 1738s ok 1631 /checksum/SHA512/149 1738s ok 1632 /checksum/SHA512/150 1738s ok 1633 /checksum/SHA512/151 1738s ok 1634 /checksum/SHA512/152 1738s ok 1635 /checksum/SHA512/153 1738s ok 1636 /checksum/SHA512/154 1738s ok 1637 /checksum/SHA512/155 1738s ok 1638 /checksum/SHA512/156 1738s ok 1639 /checksum/SHA512/157 1738s ok 1640 /checksum/SHA512/158 1738s ok 1641 /checksum/SHA512/159 1738s ok 1642 /checksum/SHA512/160 1738s ok 1643 /checksum/SHA512/161 1738s ok 1644 /checksum/SHA512/162 1738s ok 1645 /checksum/SHA512/163 1738s ok 1646 /checksum/SHA512/164 1738s ok 1647 /checksum/SHA512/165 1738s ok 1648 /checksum/SHA512/166 1739s ok 1649 /checksum/SHA512/167 1739s ok 1650 /checksum/SHA512/168 1739s ok 1651 /checksum/SHA512/169 1739s ok 1652 /checksum/SHA512/170 1739s ok 1653 /checksum/SHA512/171 1739s ok 1654 /checksum/SHA512/172 1739s ok 1655 /checksum/SHA512/173 1739s ok 1656 /checksum/SHA512/174 1739s ok 1657 /checksum/SHA512/175 1739s ok 1658 /checksum/SHA512/176 1739s ok 1659 /checksum/SHA512/177 1739s ok 1660 /checksum/SHA512/178 1739s ok 1661 /checksum/SHA512/179 1739s ok 1662 /checksum/SHA512/180 1739s ok 1663 /checksum/SHA512/181 1739s ok 1664 /checksum/SHA512/182 1739s ok 1665 /checksum/SHA512/183 1739s ok 1666 /checksum/SHA512/string 1739s ok 1667 /checksum/SHA512/bytes 1739s # Start of reset tests 1739s ok 1668 /checksum/SHA512/reset/0 1739s ok 1669 /checksum/SHA512/reset/1 1739s ok 1670 /checksum/SHA512/reset/2 1739s ok 1671 /checksum/SHA512/reset/3 1739s ok 1672 /checksum/SHA512/reset/4 1739s ok 1673 /checksum/SHA512/reset/5 1739s ok 1674 /checksum/SHA512/reset/6 1739s ok 1675 /checksum/SHA512/reset/7 1739s ok 1676 /checksum/SHA512/reset/8 1739s ok 1677 /checksum/SHA512/reset/9 1739s ok 1678 /checksum/SHA512/reset/10 1739s ok 1679 /checksum/SHA512/reset/11 1739s ok 1680 /checksum/SHA512/reset/12 1739s ok 1681 /checksum/SHA512/reset/13 1739s ok 1682 /checksum/SHA512/reset/14 1739s ok 1683 /checksum/SHA512/reset/15 1739s ok 1684 /checksum/SHA512/reset/16 1739s ok 1685 /checksum/SHA512/reset/17 1739s ok 1686 /checksum/SHA512/reset/18 1739s ok 1687 /checksum/SHA512/reset/19 1739s ok 1688 /checksum/SHA512/reset/20 1739s ok 1689 /checksum/SHA512/reset/21 1739s ok 1690 /checksum/SHA512/reset/22 1739s ok 1691 /checksum/SHA512/reset/23 1739s ok 1692 /checksum/SHA512/reset/24 1739s ok 1693 /checksum/SHA512/reset/25 1739s ok 1694 /checksum/SHA512/reset/26 1739s ok 1695 /checksum/SHA512/reset/27 1739s ok 1696 /checksum/SHA512/reset/28 1739s ok 1697 /checksum/SHA512/reset/29 1739s ok 1698 /checksum/SHA512/reset/30 1739s ok 1699 /checksum/SHA512/reset/31 1739s ok 1700 /checksum/SHA512/reset/32 1739s ok 1701 /checksum/SHA512/reset/33 1739s ok 1702 /checksum/SHA512/reset/34 1739s ok 1703 /checksum/SHA512/reset/35 1739s ok 1704 /checksum/SHA512/reset/36 1739s ok 1705 /checksum/SHA512/reset/37 1739s ok 1706 /checksum/SHA512/reset/38 1739s ok 1707 /checksum/SHA512/reset/39 1739s ok 1708 /checksum/SHA512/reset/40 1739s ok 1709 /checksum/SHA512/reset/41 1739s ok 1710 /checksum/SHA512/reset/42 1739s ok 1711 /checksum/SHA512/reset/43 1739s ok 1712 /checksum/SHA512/reset/44 1739s ok 1713 /checksum/SHA512/reset/45 1739s ok 1714 /checksum/SHA512/reset/46 1739s ok 1715 /checksum/SHA512/reset/47 1739s ok 1716 /checksum/SHA512/reset/48 1739s ok 1717 /checksum/SHA512/reset/49 1739s ok 1718 /checksum/SHA512/reset/50 1739s ok 1719 /checksum/SHA512/reset/51 1739s ok 1720 /checksum/SHA512/reset/52 1739s ok 1721 /checksum/SHA512/reset/53 1739s ok 1722 /checksum/SHA512/reset/54 1739s ok 1723 /checksum/SHA512/reset/55 1739s ok 1724 /checksum/SHA512/reset/56 1739s ok 1725 /checksum/SHA512/reset/57 1739s ok 1726 /checksum/SHA512/reset/58 1739s ok 1727 /checksum/SHA512/reset/59 1739s ok 1728 /checksum/SHA512/reset/60 1739s ok 1729 /checksum/SHA512/reset/61 1739s ok 1730 /checksum/SHA512/reset/62 1739s ok 1731 /checksum/SHA512/reset/63 1739s ok 1732 /checksum/SHA512/reset/64 1739s ok 1733 /checksum/SHA512/reset/65 1739s ok 1734 /checksum/SHA512/reset/66 1739s ok 1735 /checksum/SHA512/reset/67 1739s ok 1736 /checksum/SHA512/reset/68 1739s ok 1737 /checksum/SHA512/reset/69 1739s ok 1738 /checksum/SHA512/reset/70 1739s ok 1739 /checksum/SHA512/reset/71 1739s ok 1740 /checksum/SHA512/reset/72 1739s ok 1741 /checksum/SHA512/reset/73 1739s ok 1742 /checksum/SHA512/reset/74 1739s ok 1743 /checksum/SHA512/reset/75 1739s ok 1744 /checksum/SHA512/reset/76 1739s ok 1745 /checksum/SHA512/reset/77 1739s ok 1746 /checksum/SHA512/reset/78 1739s ok 1747 /checksum/SHA512/reset/79 1739s ok 1748 /checksum/SHA512/reset/80 1739s ok 1749 /checksum/SHA512/reset/81 1739s ok 1750 /checksum/SHA512/reset/82 1739s ok 1751 /checksum/SHA512/reset/83 1739s ok 1752 /checksum/SHA512/reset/84 1739s ok 1753 /checksum/SHA512/reset/85 1739s ok 1754 /checksum/SHA512/reset/86 1739s ok 1755 /checksum/SHA512/reset/87 1739s ok 1756 /checksum/SHA512/reset/88 1739s ok 1757 /checksum/SHA512/reset/89 1739s ok 1758 /checksum/SHA512/reset/90 1739s ok 1759 /checksum/SHA512/reset/91 1739s ok 1760 /checksum/SHA512/reset/92 1739s ok 1761 /checksum/SHA512/reset/93 1739s ok 1762 /checksum/SHA512/reset/94 1739s ok 1763 /checksum/SHA512/reset/95 1739s ok 1764 /checksum/SHA512/reset/96 1739s ok 1765 /checksum/SHA512/reset/97 1739s ok 1766 /checksum/SHA512/reset/98 1739s ok 1767 /checksum/SHA512/reset/99 1739s ok 1768 /checksum/SHA512/reset/100 1739s ok 1769 /checksum/SHA512/reset/101 1739s ok 1770 /checksum/SHA512/reset/102 1739s ok 1771 /checksum/SHA512/reset/103 1739s ok 1772 /checksum/SHA512/reset/104 1739s ok 1773 /checksum/SHA512/reset/105 1739s ok 1774 /checksum/SHA512/reset/106 1739s ok 1775 /checksum/SHA512/reset/107 1739s ok 1776 /checksum/SHA512/reset/108 1739s ok 1777 /checksum/SHA512/reset/109 1739s ok 1778 /checksum/SHA512/reset/110 1739s ok 1779 /checksum/SHA512/reset/111 1739s ok 1780 /checksum/SHA512/reset/112 1739s ok 1781 /checksum/SHA512/reset/113 1739s ok 1782 /checksum/SHA512/reset/114 1739s ok 1783 /checksum/SHA512/reset/115 1739s ok 1784 /checksum/SHA512/reset/116 1739s ok 1785 /checksum/SHA512/reset/117 1739s ok 1786 /checksum/SHA512/reset/118 1739s ok 1787 /checksum/SHA512/reset/119 1739s ok 1788 /checksum/SHA512/reset/120 1739s ok 1789 /checksum/SHA512/reset/121 1739s ok 1790 /checksum/SHA512/reset/122 1739s ok 1791 /checksum/SHA512/reset/123 1739s ok 1792 /checksum/SHA512/reset/124 1739s ok 1793 /checksum/SHA512/reset/125 1739s ok 1794 /checksum/SHA512/reset/126 1739s ok 1795 /checksum/SHA512/reset/127 1739s ok 1796 /checksum/SHA512/reset/128 1739s ok 1797 /checksum/SHA512/reset/129 1739s ok 1798 /checksum/SHA512/reset/130 1739s ok 1799 /checksum/SHA512/reset/131 1739s ok 1800 /checksum/SHA512/reset/132 1739s ok 1801 /checksum/SHA512/reset/133 1739s ok 1802 /checksum/SHA512/reset/134 1739s ok 1803 /checksum/SHA512/reset/135 1739s ok 1804 /checksum/SHA512/reset/136 1739s ok 1805 /checksum/SHA512/reset/137 1739s ok 1806 /checksum/SHA512/reset/138 1739s ok 1807 /checksum/SHA512/reset/139 1739s ok 1808 /checksum/SHA512/reset/140 1739s ok 1809 /checksum/SHA512/reset/141 1739s ok 1810 /checksum/SHA512/reset/142 1739s ok 1811 /checksum/SHA512/reset/143 1739s ok 1812 /checksum/SHA512/reset/144 1739s ok 1813 /checksum/SHA512/reset/145 1739s ok 1814 /checksum/SHA512/reset/146 1739s ok 1815 /checksum/SHA512/reset/147 1739s ok 1816 /checksum/SHA512/reset/148 1739s ok 1817 /checksum/SHA512/reset/149 1739s ok 1818 /checksum/SHA512/reset/150 1739s ok 1819 /checksum/SHA512/reset/151 1739s ok 1820 /checksum/SHA512/reset/152 1739s ok 1821 /checksum/SHA512/reset/153 1739s ok 1822 /checksum/SHA512/reset/154 1739s ok 1823 /checksum/SHA512/reset/155 1739s ok 1824 /checksum/SHA512/reset/156 1739s ok 1825 /checksum/SHA512/reset/157 1739s ok 1826 /checksum/SHA512/reset/158 1739s ok 1827 /checksum/SHA512/reset/159 1739s ok 1828 /checksum/SHA512/reset/160 1739s ok 1829 /checksum/SHA512/reset/161 1739s ok 1830 /checksum/SHA512/reset/162 1739s ok 1831 /checksum/SHA512/reset/163 1739s ok 1832 /checksum/SHA512/reset/164 1739s ok 1833 /checksum/SHA512/reset/165 1739s ok 1834 /checksum/SHA512/reset/166 1739s ok 1835 /checksum/SHA512/reset/167 1739s ok 1836 /checksum/SHA512/reset/168 1739s ok 1837 /checksum/SHA512/reset/169 1739s ok 1838 /checksum/SHA512/reset/170 1739s ok 1839 /checksum/SHA512/reset/171 1739s ok 1840 /checksum/SHA512/reset/172 1739s ok 1841 /checksum/SHA512/reset/173 1739s ok 1842 /checksum/SHA512/reset/174 1739s ok 1843 /checksum/SHA512/reset/175 1739s ok 1844 /checksum/SHA512/reset/176 1739s ok 1845 /checksum/SHA512/reset/177 1739s ok 1846 /checksum/SHA512/reset/178 1739s ok 1847 /checksum/SHA512/reset/179 1739s ok 1848 /checksum/SHA512/reset/180 1739s ok 1849 /checksum/SHA512/reset/181 1739s ok 1850 /checksum/SHA512/reset/182 1739s ok 1851 /checksum/SHA512/reset/183 1739s # End of reset tests 1739s # End of SHA512 tests 1739s # End of checksum tests 1739s ok - glib/checksum.test 1739s # Running test: glib/cxx-17.test 1739s TAP version 13 1739s # random seed: R02Sfce9831a3037378d7d98328c2dabbccd 1739s 1..2 1739s # Start of gtask tests 1739s # 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. 1739s ok 1 /gtask/name 1739s # Start of name tests 1739s # 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. 1739s ok 2 /gtask/name/macro-wrapper 1739s # End of name tests 1739s # End of gtask tests 1739s ok - glib/cxx-17.test 1739s # Running test: glib/gdbus-test-codegen.test 1739s TAP version 13 1739s # random seed: R02Sb24209ce6b6ae4a9c5408a9546422f8a 1739s 1..8 1739s # Start of gdbus tests 1739s # Start of codegen tests 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/annotations/.dirs/runtime 1739s ok 1 /gdbus/codegen/annotations 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/interface_stability/.dirs/runtime 1739s ok 2 /gdbus/codegen/interface_stability 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/object-manager/.dirs/runtime 1739s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1739s # Executing: glib/gdbus-test-codegen.test 1739s ok 3 /gdbus/codegen/object-manager 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/property-naming/.dirs/runtime 1739s ok 4 /gdbus/codegen/property-naming 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/autocleanups/.dirs/runtime 1739s ok 5 /gdbus/codegen/autocleanups 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/deprecations/.dirs/runtime 1739s ok 6 /gdbus/codegen/deprecations 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1739s ok 7 /gdbus/codegen/standalone-interface-info 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_199VK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1739s ok 8 /gdbus/codegen/unix-fd-list 1739s # End of codegen tests 1739s # End of gdbus tests 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s ok - glib/gdbus-test-codegen.test 1739s # Running test: glib/gdbus-method-invocation.test 1739s TAP version 13 1739s # random seed: R02S3b7ab4aa499e8fda9c9ea3a46a4cdca4 1739s 1..1 1739s # Start of gdbus tests 1739s # Start of method-invocation tests 1739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/home 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/cache 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/system-config2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/config 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/system-data2 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/data 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/state 1739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_R2TJK2/gdbus/method-invocation/return/.dirs/runtime 1739s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1739s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1739s # Calling org.freedesktop.DBus.Properties.Get 1739s # Calling org.freedesktop.DBus.Properties.Get 1739s # Calling org.freedesktop.DBus.Properties.Get 1739s # Calling org.freedesktop.DBus.Properties.Set 1739s # Calling org.freedesktop.DBus.Properties.GetAll 1739s # Calling org.example.Foo.WrongReturnType 1739s # Calling org.example.Foo.GetFDs 1739s # Calling org.example.Foo.GetFDs 1739s # Calling org.example.Foo.ReturnError 1739s # Calling org.example.Foo.CloseBeforeReturning 1739s ok 1 /gdbus/method-invocation/return 1739s # End of method-invocation tests 1739s # End of gdbus tests 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1739s ok - glib/gdbus-method-invocation.test 1739s # Running test: glib/gsocketclient-slow.test 1739s TAP version 13 1739s # random seed: R02Sd4a87907ad12642625aaf8ca04cb2eda 1739s 1..3 1739s # Start of socket-client tests 1739s # Start of happy-eyeballs tests 1739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1739s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6042d0 and GSocketClientAsyncConnectData 0x600fa8 1739s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1739s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1739s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6051d0 for GSocketClientAsyncConnectData 0x600fa8 1739s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1740s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1740s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1740s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1740s ok 1 /socket-client/happy-eyeballs/slow 1740s # slow test /socket-client/happy-eyeballs/slow executed in 0.62 secs 1740s # Start of cancellation tests 1740s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x606f80 and GSocketClientAsyncConnectData 0x604d00 1740s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1740s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1740s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x607328 and GSocketClientAsyncConnectData 0x6071f0 1740s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1740s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6079f0 for GSocketClientAsyncConnectData 0x6071f0 1740s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1740s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1740s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1740s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1740s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1740s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1740s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1740s # End of cancellation tests 1740s # End of happy-eyeballs tests 1740s # End of socket-client tests 1740s ok - glib/gsocketclient-slow.test 1740s # Running test: glib/properties-refcount4.test 1740s TAP version 13 1740s # random seed: R02Sd17baeb1d3796c9c63670f3ffcc08892 1740s 1..1 1740s # Start of gobject tests 1740s # Start of refcount tests 1740s ok 1 /gobject/refcount/properties-4 1740s # End of refcount tests 1740s # End of gobject tests 1740s ok - glib/properties-refcount4.test 1740s # Running test: glib/test-printf.test 1740s TAP version 13 1740s # random seed: R02S681f73d8b3e625434619a59d1d081094 1740s 1..22 1740s # Start of snprintf tests 1740s ok 1 /snprintf/retval-and-trunc 1740s ok 2 /snprintf/%d 1740s ok 3 /snprintf/%d-invalid 1740s ok 4 /snprintf/%o 1740s ok 5 /snprintf/%u 1740s ok 6 /snprintf/%x 1740s ok 7 /snprintf/%X 1740s ok 8 /snprintf/%f 1740s ok 9 /snprintf/%e 1740s ok 10 /snprintf/%c 1740s ok 11 /snprintf/%s 1740s ok 12 /snprintf/%n 1740s ok 13 /snprintf/test-percent 1740s ok 14 /snprintf/test-positional-params 1740s ok 15 /snprintf/test-64bit 1740s # End of snprintf tests 1740s # Start of printf tests 1740s ok 16 /printf/test-percent 1740s ok 17 /printf/test-positional-params 1740s ok 18 /printf/test-64bit 1740s # Start of test-64bit tests 1740s # Start of subprocess tests 1740s # End of subprocess tests 1740s # End of test-64bit tests 1740s # End of printf tests 1740s # Start of sprintf tests 1740s ok 19 /sprintf/test-positional-params 1740s ok 20 /sprintf/upper-bound 1740s # End of sprintf tests 1740s # Start of vasprintf tests 1740s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1740s ok 21 /vasprintf/invalid-format-placeholder 1740s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1740s ok 22 /vasprintf/invalid-wide-string 1740s # End of vasprintf tests 1740s ok - glib/test-printf.test 1740s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=396.3s; system=367.5s; maxrss=146696 1741s autopkgtest [01:18:02]: test installed-tests: -----------------------] 1749s installed-tests PASS 1749s autopkgtest [01:18:10]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1753s autopkgtest [01:18:14]: test closure-refcount: preparing testbed 1768s Reading package lists... 1769s Building dependency tree... 1769s Reading state information... 1770s Starting pkgProblemResolver with broken count: 0 1771s Starting 2 pkgProblemResolver with broken count: 0 1771s Done 1775s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1775s 1 not fully installed or removed. 1775s After this operation, 0 B of additional disk space will be used. 1775s Setting up autopkgtest-satdep (0) ... 1791s (Reading database ... 28585 files and directories currently installed.) 1791s Removing autopkgtest-satdep (0) ... 1801s autopkgtest [01:19:02]: test closure-refcount: [----------------------- 1804s Running test: glib/closure-refcount.test 1804s TAP version 13 1804s # random seed: R02S59f3d941d50e4ae6d12d4b98d27f37ca 1804s 1..1 1804s # Start of closure tests 1804s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1804s # End of closure tests 1804s PASS: glib/closure-refcount.test 1804s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2480 1805s autopkgtest [01:19:06]: test closure-refcount: -----------------------] 1809s closure-refcount PASS 1809s autopkgtest [01:19:10]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1813s autopkgtest [01:19:14]: test debugcontroller: preparing testbed 1826s Reading package lists... 1827s Building dependency tree... 1827s Reading state information... 1829s Starting pkgProblemResolver with broken count: 0 1829s Starting 2 pkgProblemResolver with broken count: 0 1829s Done 1833s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1833s 1 not fully installed or removed. 1833s After this operation, 0 B of additional disk space will be used. 1833s Setting up autopkgtest-satdep (0) ... 1850s (Reading database ... 28585 files and directories currently installed.) 1850s Removing autopkgtest-satdep (0) ... 1860s autopkgtest [01:20:01]: test debugcontroller: [----------------------- 1863s Running test: glib/debugcontroller.test 1863s TAP version 13 1863s # random seed: R02S6e4cc41016f829afe5659bcc5cefb0f5 1863s 1..3 1863s # Start of debug-controller tests 1863s # Start of dbus tests 1863s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1863s # GLib-GIO-DEBUG: Debug output enabled 1863s # GLib-GIO-DEBUG: Debug output disabled 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s ok 1 /debug-controller/dbus/basic 1863s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s ok 2 /debug-controller/dbus/duplicate 1863s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1863s # GLib-GIO-DEBUG: Debug output enabled 1863s # GLib-GIO-DEBUG: Debug output disabled 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1863s ok 3 /debug-controller/dbus/properties 1863s # End of dbus tests 1863s # End of debug-controller tests 1863s PASS: glib/debugcontroller.test 1863s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4652 1863s autopkgtest [01:20:04]: test debugcontroller: -----------------------] 1868s debugcontroller PASS 1868s autopkgtest [01:20:09]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1872s autopkgtest [01:20:13]: test gdbus-server-auth: preparing testbed 1886s 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 1891s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1891s 1 not fully installed or removed. 1891s After this operation, 0 B of additional disk space will be used. 1891s Setting up autopkgtest-satdep (0) ... 1905s (Reading database ... 28585 files and directories currently installed.) 1905s Removing autopkgtest-satdep (0) ... 1915s autopkgtest [01:20:56]: test gdbus-server-auth: [----------------------- 1918s Running test: glib/gdbus-server-auth.test 1918s TAP version 13 1918s # random seed: R02S87d14e993ad4441a42728ed88ed2ed8f 1918s 1..9 1918s # Start of gdbus tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/.dirs/runtime 1918s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-V9CQK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1918s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-V9CQK2/dbus-TYPg6p8m 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1918s ok 1 /gdbus/server-auth 1918s # Start of server-auth tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/abstract/.dirs/runtime 1918s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-7ONLK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1918s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-7ONLK2/dbus-4SHqe0Bw 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1918s ok 2 /gdbus/server-auth/abstract 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/tcp/.dirs/runtime 1918s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1918s # Connectable address: tcp:host=127.0.0.1,port=44473 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1918s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1918s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1918s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1918s ok 3 /gdbus/server-auth/tcp 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/.dirs/runtime 1918s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-BJNZK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1918s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-BJNZK2/dbus-rgJNsLBg 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1918s ok 4 /gdbus/server-auth/anonymous 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/.dirs/runtime 1918s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-L7DWK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1918s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-L7DWK2/dbus-Je767qqo 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1918s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1918s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1918s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1918s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1918s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1919s ok 5 /gdbus/server-auth/external 1919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/home 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/cache 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/system-config2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/config 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/system-data2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/data 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/state 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/.dirs/runtime 1919s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-B2JRK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1919s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-B2JRK2/dbus-Xgijmnly 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1919s ok 6 /gdbus/server-auth/sha1 1919s # Start of anonymous tests 1919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1919s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1919s # Connectable address: tcp:host=127.0.0.1,port=37553 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1919s ok 7 /gdbus/server-auth/anonymous/tcp 1919s # End of anonymous tests 1919s # Start of external tests 1919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/home 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/config 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/data 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/state 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1919s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-I2D2K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1919s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6SDQK2/gdbus-server-auth-I2D2K2/dbus-LTbNJ5JQ 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14227 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1919s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14227,uid=1000,gid=1000 1919s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14227 1919s ok 8 /gdbus/server-auth/external/require-same-user 1919s # End of external tests 1919s # Start of sha1 tests 1919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/home 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/config 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/data 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/state 1919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6SDQK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1919s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1919s # Connectable address: tcp:host=127.0.0.1,port=42149 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1919s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1919s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1919s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1919s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1919s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1920s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1920s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1920s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1920s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1920s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1920s ok 9 /gdbus/server-auth/sha1/tcp 1920s # End of sha1 tests 1920s # End of server-auth tests 1920s # End of gdbus tests 1920s PASS: glib/gdbus-server-auth.test 1920s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=1.9s; maxrss=6756 1920s autopkgtest [01:21:01]: test gdbus-server-auth: -----------------------] 1924s autopkgtest [01:21:05]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1924s gdbus-server-auth PASS 1928s autopkgtest [01:21:09]: test gdbus-threading: preparing testbed 1941s Reading package lists... 1941s Building dependency tree... 1941s Reading state information... 1943s Starting pkgProblemResolver with broken count: 0 1943s Starting 2 pkgProblemResolver with broken count: 0 1943s Done 1947s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1947s 1 not fully installed or removed. 1947s After this operation, 0 B of additional disk space will be used. 1947s Setting up autopkgtest-satdep (0) ... 1962s (Reading database ... 28585 files and directories currently installed.) 1962s Removing autopkgtest-satdep (0) ... 1971s autopkgtest [01:21:52]: test gdbus-threading: [----------------------- 1974s Running test: glib/gdbus-threading.test 1974s TAP version 13 1974s # random seed: R02S7bed275e6a4d8d0dfb2e6012d7bab770 1974s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1974s 1..3 1974s # Start of gdbus tests 1974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/home 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/cache 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/system-config2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/config 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/system-data2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/data 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/state 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_1X9PK2/gdbus/delivery-in-thread/.dirs/runtime 1974s ok 1 /gdbus/delivery-in-thread 1974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/home 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/cache 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/system-config2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/config 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/system-data2 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/data 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/state 1974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_1X9PK2/gdbus/method-calls-in-thread/.dirs/runtime 1975s ok 2 /gdbus/method-calls-in-thread 1975s # slow test /gdbus/method-calls-in-thread executed in 1.03 secs 1975s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/home 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/cache 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/system-config2 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/config 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/system-data2 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/data 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/state 1975s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_1X9PK2/gdbus/threaded-singleton/.dirs/runtime 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: refcount of 0xf4f00890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1975s # GLib-GIO-DEBUG: refcount of 0xf4f00890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: refcount of 0xf4f04150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf4f013e8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf4f04248 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s Executing: glib/gdbus-threading.test 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf4f02b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf4f03f90 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0xf4f03f90 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf4f04d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf4f007c8 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf4f00f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf4f02840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s ok 3 /gdbus/threaded-singleton 1984s # slow test /gdbus/threaded-singleton executed in 9.26 secs 1984s # End of gdbus tests 1984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1984s PASS: glib/gdbus-threading.test 1984s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.7s; system=5.6s; maxrss=4616 1985s autopkgtest [01:22:06]: test gdbus-threading: -----------------------] 1989s gdbus-threading PASSautopkgtest [01:22:10]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1989s 1993s autopkgtest [01:22:14]: test gmenumodel: preparing testbed 2005s Reading package lists... 2006s Building dependency tree... 2006s Reading state information... 2007s Starting pkgProblemResolver with broken count: 0 2007s Starting 2 pkgProblemResolver with broken count: 0 2007s Done 2010s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2010s 1 not fully installed or removed. 2010s After this operation, 0 B of additional disk space will be used. 2010s Setting up autopkgtest-satdep (0) ... 2024s (Reading database ... 28585 files and directories currently installed.) 2024s Removing autopkgtest-satdep (0) ... 2034s autopkgtest [01:22:55]: test gmenumodel: [----------------------- 2037s Running test: glib/gmenumodel.test 2037s TAP version 13 2037s # random seed: R02Se82deea0e4e70abd862055b106beeda1 2037s 1..14 2037s # Start of gmenu tests 2039s ok 1 /gmenu/equality 2039s # slow test /gmenu/equality executed in 2.05 secs 2041s ok 2 /gmenu/random 2041s # slow test /gmenu/random executed in 2.26 secs 2041s ok 3 /gmenu/attributes 2041s ok 4 /gmenu/links 2041s ok 5 /gmenu/mutable 2041s ok 6 /gmenu/convenience 2041s ok 7 /gmenu/menuitem 2041s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2041s ok 8 /gmenu/input-validation 2041s # Start of dbus tests 2041s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2042s Executing: glib/gmenumodel.test 2043s ok 9 /gmenu/dbus/roundtrip 2043s # slow test /gmenu/dbus/roundtrip executed in 1.77 secs 2043s ok 10 /gmenu/dbus/subscriptions 2046s ok 11 /gmenu/dbus/threaded 2046s # slow test /gmenu/dbus/threaded executed in 2.44 secs 2046s # Start of peer tests 2047s Executing: glib/gmenumodel.test 2047s ok 12 /gmenu/dbus/peer/roundtrip 2047s # slow test /gmenu/dbus/peer/roundtrip executed in 1.39 secs 2048s ok 13 /gmenu/dbus/peer/subscriptions 2048s # End of peer tests 2048s # End of dbus tests 2048s # Start of attributes tests 2048s ok 14 /gmenu/attributes/iterate 2048s # End of attributes tests 2048s # End of gmenu tests 2048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2048s PASS: glib/gmenumodel.test 2048s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=13.4s; system=5.0s; maxrss=11112 2048s autopkgtest [01:23:09]: test gmenumodel: -----------------------] 2052s autopkgtest [01:23:13]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2052s gmenumodel PASS 2056s autopkgtest [01:23:17]: test mainloop: preparing testbed 2069s Reading package lists... 2070s Building dependency tree... 2070s Reading state information... 2071s Starting pkgProblemResolver with broken count: 0 2071s Starting 2 pkgProblemResolver with broken count: 0 2072s Done 2075s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2075s 1 not fully installed or removed. 2075s After this operation, 0 B of additional disk space will be used. 2075s Setting up autopkgtest-satdep (0) ... 2091s (Reading database ... 28585 files and directories currently installed.) 2091s Removing autopkgtest-satdep (0) ... 2101s autopkgtest [01:24:02]: test mainloop: [----------------------- 2104s Running test: glib/mainloop.test 2104s TAP version 13 2104s # random seed: R02Sea3afe172b35ce87ae987a1666a16b3e 2104s 1..45 2104s # Start of maincontext tests 2104s ok 1 /maincontext/basic 2104s # Add same-priority sources: 61 2104s # Find each source: 12 2104s # Remove in random order: 193 2104s ok 2 /maincontext/nsources_same_priority 2104s # Add different-priority sources: 33 2104s # Find each source: 6 2105s # Remove in random order: 169 2105s ok 3 /maincontext/nsources_different_priority 2105s # Add sources from threads: 476 2106s # Remove sources from threads: 379 2106s ok 4 /maincontext/nsources_threadpool 2106s # slow test /maincontext/nsources_threadpool executed in 0.95 secs 2106s ok 5 /maincontext/source_finalization 2106s # /maincontext/idle-once summary: Test g_idle_add_once() works 2106s ok 6 /maincontext/idle-once 2106s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2106s ok 7 /maincontext/timeout-once 2106s # Start of source_finalization_from_source tests 2106s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 8 /maincontext/source_finalization_from_source/0 2106s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 9 /maincontext/source_finalization_from_source/1 2106s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 10 /maincontext/source_finalization_from_source/2 2106s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 11 /maincontext/source_finalization_from_source/3 2106s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 12 /maincontext/source_finalization_from_source/4 2106s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 13 /maincontext/source_finalization_from_source/5 2106s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 14 /maincontext/source_finalization_from_source/6 2106s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 15 /maincontext/source_finalization_from_source/7 2106s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 16 /maincontext/source_finalization_from_source/8 2106s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2106s ok 17 /maincontext/source_finalization_from_source/9 2106s # End of source_finalization_from_source tests 2106s # Start of source_finalization_from_dispatch tests 2106s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2106s ok 18 /maincontext/source_finalization_from_dispatch/0 2106s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2106s ok 19 /maincontext/source_finalization_from_dispatch/1 2106s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2106s ok 20 /maincontext/source_finalization_from_dispatch/2 2106s # End of source_finalization_from_dispatch tests 2106s # End of maincontext tests 2106s # Start of mainloop tests 2106s ok 21 /mainloop/basic 2106s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2106s ok 23 /mainloop/priorities 2106s ok 24 /mainloop/invoke 2106s # slow test /mainloop/invoke executed in 0.51 secs 2108s ok 25 /mainloop/child_sources 2108s # slow test /mainloop/child_sources executed in 1.46 secs 2109s Executing: glib/mainloop.test 2110s ok 26 /mainloop/recursive_child_sources 2110s # slow test /mainloop/recursive_child_sources executed in 2.75 secs 2110s ok 27 /mainloop/recursive_loop_child_sources 2110s ok 28 /mainloop/swapping_child_sources 2110s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2110s ok 29 /mainloop/blocked_child_sources 2111s ok 30 /mainloop/source_time 2111s # slow test /mainloop/source_time executed in 1.00 secs 2111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2111s ok 31 /mainloop/overflow 2112s ok 32 /mainloop/ready-time 2112s # slow test /mainloop/ready-time executed in 0.53 secs 2112s ok 33 /mainloop/wakeup 2112s ok 34 /mainloop/remove-invalid 2112s ok 35 /mainloop/unref-while-pending 2114s Executing: glib/mainloop.test 2115s ok 36 /mainloop/unix-fd 2115s # slow test /mainloop/unix-fd executed in 3.22 secs 2115s ok 37 /mainloop/unix-fd-source 2115s ok 38 /mainloop/source-unix-fd-api 2115s ok 39 /mainloop/wait 2115s ok 40 /mainloop/unix-file-poll 2115s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2115s ok 41 /mainloop/unix-fd-priority 2115s ok 42 /mainloop/nfds 2115s ok 43 /mainloop/steal-fd 2115s # Start of ownerless-polling tests 2115s ok 44 /mainloop/ownerless-polling/attach-first 2115s ok 45 /mainloop/ownerless-polling/pop-first 2115s # End of ownerless-polling tests 2115s # End of mainloop tests 2115s PASS: glib/mainloop.test 2115s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.5s; system=5.0s; maxrss=9156 2116s autopkgtest [01:24:17]: test mainloop: -----------------------] 2120s mainloop PASS 2120s autopkgtest [01:24:21]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2124s autopkgtest [01:24:25]: test memory-monitor-dbus: preparing testbed 2137s Reading package lists... 2139s Building dependency tree... 2139s Reading state information... 2140s Starting pkgProblemResolver with broken count: 0 2140s Starting 2 pkgProblemResolver with broken count: 0 2140s Done 2144s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2144s 1 not fully installed or removed. 2144s After this operation, 0 B of additional disk space will be used. 2144s Setting up autopkgtest-satdep (0) ... 2159s (Reading database ... 28585 files and directories currently installed.) 2159s Removing autopkgtest-satdep (0) ... 2170s autopkgtest [01:25:11]: test memory-monitor-dbus: [----------------------- 2173s Running test: glib/memory-monitor-dbus.test 2174s TAP version 13 2174s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2174s # Received memory warning signal, level 2174s # Received memory warning signal, level 2174s # Received memory warning signal, level 2174s 1..1 2174s PASS: glib/memory-monitor-dbus.test 2174s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=0.6s; maxrss=18132 2175s autopkgtest [01:25:16]: test memory-monitor-dbus: -----------------------] 2179s memory-monitor-dbus PASS 2179s autopkgtest [01:25:20]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2183s autopkgtest [01:25:24]: test socket: preparing testbed 2198s Reading package lists... 2199s Building dependency tree... 2199s Reading state information... 2200s Starting pkgProblemResolver with broken count: 0 2201s Starting 2 pkgProblemResolver with broken count: 0 2201s Done 2205s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2205s 1 not fully installed or removed. 2205s After this operation, 0 B of additional disk space will be used. 2205s Setting up autopkgtest-satdep (0) ... 2221s (Reading database ... 28585 files and directories currently installed.) 2221s Removing autopkgtest-satdep (0) ... 2232s autopkgtest [01:26:13]: test socket: [----------------------- 2235s Running test: glib/socket.test 2235s TAP version 13 2235s # random seed: R02Sfc6b402312e4b66ab07b6cd842f7a0cf 2235s 1..28 2235s # Start of socket tests 2236s ok 1 /socket/ipv4_sync 2236s # slow test /socket/ipv4_sync executed in 1.01 secs 2237s ok 2 /socket/ipv4_async 2237s # slow test /socket/ipv4_async executed in 1.00 secs 2237s ok 3 /socket/ipv6_sync 2237s ok 4 /socket/ipv6_async 2237s ok 5 /socket/ipv6_v4mapped 2238s ok 6 /socket/close_graceful 2238s # slow test /socket/close_graceful executed in 1.00 secs 2238s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2238s ok 8 /socket/fd_reuse 2238s ok 9 /socket/address 2238s ok 10 /socket/unix-from-fd 2238s ok 11 /socket/unix-connection 2238s ok 12 /socket/unix-connection-ancillary-data 2238s ok 13 /socket/source-postmortem 2238s ok 14 /socket/read_write 2238s ok 15 /socket/read_writev 2238s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2238s ok 16 /socket/receive_bytes 2238s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2238s ok 17 /socket/receive_bytes_from 2238s # Start of ipv4_sync tests 2238s ok 18 /socket/ipv4_sync/datagram 2238s # Start of datagram tests 2239s ok 19 /socket/ipv4_sync/datagram/timeouts 2239s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2239s # End of datagram tests 2239s # End of ipv4_sync tests 2239s # Start of ipv6_sync tests 2239s ok 20 /socket/ipv6_sync/datagram 2239s # Start of datagram tests 2240s ok 21 /socket/ipv6_sync/datagram/timeouts 2240s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2240s # End of datagram tests 2240s # End of ipv6_sync tests 2240s # Start of reuse tests 2240s ok 22 /socket/reuse/tcp 2240s ok 23 /socket/reuse/udp 2240s # End of reuse tests 2240s # Start of get_available tests 2240s ok 24 /socket/get_available/datagram 2240s ok 25 /socket/get_available/stream 2240s # End of get_available tests 2240s # Start of credentials tests 2240s # Supported on this OS: GCredentials:linux-ucred:pid=0 2240s ok 26 /socket/credentials/tcp_client 2240s # Supported on this OS: GCredentials:linux-ucred:pid=0 2240s ok 27 /socket/credentials/tcp_server 2240s # Supported on this OS: GCredentials:linux-ucred:pid=16823,uid=1000,gid=1000 2240s ok 28 /socket/credentials/unix_socketpair 2240s # End of credentials tests 2240s # End of socket tests 2240s PASS: glib/socket.test 2240s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=4076 2241s autopkgtest [01:26:22]: test socket: -----------------------] 2245s socket PASS 2245s autopkgtest [01:26:26]: test socket: - - - - - - - - - - results - - - - - - - - - - 2249s autopkgtest [01:26:30]: test testfilemonitor: preparing testbed 2263s Reading package lists... 2264s Building dependency tree... 2264s Reading state information... 2266s Starting pkgProblemResolver with broken count: 0 2266s Starting 2 pkgProblemResolver with broken count: 0 2266s Done 2270s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2270s 1 not fully installed or removed. 2270s After this operation, 0 B of additional disk space will be used. 2270s Setting up autopkgtest-satdep (0) ... 2284s (Reading database ... 28585 files and directories currently installed.) 2284s Removing autopkgtest-satdep (0) ... 2294s autopkgtest [01:27:15]: test testfilemonitor: [----------------------- 2296s Running test: glib/testfilemonitor.test 2296s TAP version 13 2296s # random seed: R02S7d6602cc60e999795c7c20a92d0799dc 2296s 1..8 2296s # Start of monitor tests 2296s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2296s # Using temporary directory: /tmp/gio-test-testfilemonitor_M5R1K2 2296s # Using GFileMonitor GInotifyFileMonitor 2298s ok 1 /monitor/atomic-replace 2298s # slow test /monitor/atomic-replace executed in 2.01 secs 2298s # Using temporary directory: /tmp/gio-test-testfilemonitor_HQY1K2 2298s # Using GFileMonitor GInotifyFileMonitor 2301s ok 2 /monitor/file-changes 2301s # slow test /monitor/file-changes executed in 2.51 secs 2301s # Using temporary directory: /tmp/gio-test-testfilemonitor_O4XPK2 2301s # Using GFileMonitor GInotifyFileMonitor 2301s Executing: glib/testfilemonitor.test 2304s ok 3 /monitor/dir-monitor 2304s # slow test /monitor/dir-monitor executed in 3.51 secs 2304s # Using temporary directory: /tmp/gio-test-testfilemonitor_3ZU0K2 2304s # Using GFileMonitor GInotifyFileMonitor 2306s Executing: glib/testfilemonitor.test 2311s Executing: glib/testfilemonitor.test 2316s Executing: glib/testfilemonitor.test 2321s Executing: glib/testfilemonitor.test 2326s Executing: glib/testfilemonitor.test 2329s ok 4 /monitor/dir-not-existent 2329s # slow test /monitor/dir-not-existent executed in 25.06 secs 2329s # Using temporary directory: /tmp/gio-test-testfilemonitor_L9JZK2 2329s # Using GFileMonitor 0 GInotifyFileMonitor 2329s # Using GFileMonitor 1 GInotifyFileMonitor 2331s Executing: glib/testfilemonitor.test 2331s ok 5 /monitor/cross-dir-moves 2331s # slow test /monitor/cross-dir-moves executed in 2.02 secs 2331s # Using temporary directory: /tmp/gio-test-testfilemonitor_1DXZK2 2331s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2331s ok 6 /monitor/finalize-in-callback 2331s # Using temporary directory: /tmp/gio-test-testfilemonitor_0QAYK2 2331s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2331s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2331s ok 7 /monitor/root 2331s # Start of file tests 2331s # Using temporary directory: /tmp/gio-test-testfilemonitor_96AYK2 2331s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2331s # Running with hard link tests 2331s # Using GFileMonitor GInotifyFileMonitor 2335s # Event 0 at expected index 7 skipped because it is marked as optional 2335s # Event 2 at expected index 11 skipped because it is marked as optional 2335s ok 8 /monitor/file/hard-links 2335s # slow test /monitor/file/hard-links executed in 3.52 secs 2335s # End of file tests 2335s # End of monitor tests 2335s PASS: glib/testfilemonitor.test 2335s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.3s; maxrss=4064 2335s autopkgtest [01:27:56]: test testfilemonitor: -----------------------] 2340s testfilemonitor PASS 2340s autopkgtest [01:28:01]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2344s autopkgtest [01:28:05]: test thread-pool-slow: preparing testbed 2358s Reading package lists... 2359s Building dependency tree... 2359s Reading state information... 2360s Starting pkgProblemResolver with broken count: 0 2361s Starting 2 pkgProblemResolver with broken count: 0 2361s Done 2364s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2364s 1 not fully installed or removed. 2364s After this operation, 0 B of additional disk space will be used. 2364s Setting up autopkgtest-satdep (0) ... 2380s (Reading database ... 28585 files and directories currently installed.) 2380s Removing autopkgtest-satdep (0) ... 2391s autopkgtest [01:28:52]: test thread-pool-slow: [----------------------- 2393s Running test: glib/thread-pool-slow.test 2393s TAP version 13 2393s # random seed: R02S30b8556292182334925357916903b675 2393s 1..7 2393s # Start of threadpool tests 2393s ok 1 /threadpool/functions 2394s ok 2 /threadpool/stop-unused 2394s # slow test /threadpool/stop-unused executed in 0.54 secs 2394s ok 3 /threadpool/pools 2394s # [unsorted] ===> pushed new thread with id:76, number of threads:1, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:86, number of threads:2, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:10, number of threads:3, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:36, number of threads:4, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:50, number of threads:5, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:54, number of threads:6, unprocessed:2 2394s # [unsorted] ===> pushed new thread with id:71, number of threads:7, unprocessed:3 2394s # [unsorted] ===> pushed new thread with id:88, number of threads:8, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:1 2394s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:2 2394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:3 2394s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:3 2394s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:4 2394s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:5 2394s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:6 2394s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:6 2394s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:7 2394s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:8 2394s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:9 2394s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:10 2394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:11 2394s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:12 2394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:13 2394s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:14 2394s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:15 2394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:16 2394s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:17 2394s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:18 2394s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:19 2394s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:20 2394s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:21 2394s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:22 2394s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:23 2394s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:24 2394s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:25 2394s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:26 2394s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:27 2394s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:28 2394s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:29 2394s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:30 2394s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:31 2394s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:32 2394s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:33 2394s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:34 2394s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:35 2394s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:36 2394s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:37 2394s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:38 2394s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:39 2394s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:40 2394s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:41 2394s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:42 2394s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:43 2394s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:44 2394s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:45 2394s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:46 2394s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:47 2394s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:48 2394s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:49 2394s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:50 2394s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:51 2394s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:52 2394s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 2394s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:54 2394s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:55 2394s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:56 2394s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:57 2394s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58 2394s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:59 2394s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:60 2394s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:61 2394s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:62 2394s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:63 2394s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:64 2394s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:65 2394s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:66 2394s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:67 2394s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:68 2394s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:69 2394s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:70 2394s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:71 2394s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:72 2394s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:73 2394s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:74 2394s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:75 2394s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:76 2394s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:77 2394s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:78 2394s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:79 2394s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:80 2394s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:81 2394s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:82 2394s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:83 2394s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:84 2394s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:85 2394s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:86 2394s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:87 2394s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:88 2394s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:89 2394s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:90 2394s ok 4 /threadpool/no-sort 2394s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:1 2394s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:2 2394s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:3 2394s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:4 2394s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:5 2394s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:6 2394s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:7 2394s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:8 2394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:9 2394s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:10 2394s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:11 2394s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:12 2394s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:13 2394s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:14 2394s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:15 2394s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:16 2394s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:17 2394s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:18 2394s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:19 2394s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:20 2394s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:21 2394s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:22 2394s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:23 2394s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:24 2394s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:25 2394s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:26 2394s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:27 2394s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:28 2394s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:29 2394s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:30 2394s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:31 2394s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:32 2394s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:33 2394s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:34 2394s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:35 2394s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:36 2394s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:37 2394s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:38 2394s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:39 2394s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:40 2394s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:41 2394s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:42 2394s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:43 2394s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:44 2394s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:45 2394s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:46 2394s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:47 2394s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:48 2394s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:49 2394s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:50 2394s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:51 2394s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:52 2394s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:53 2394s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:54 2394s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:55 2394s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:56 2394s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:57 2394s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:58 2394s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:59 2394s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:60 2394s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:61 2394s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:62 2394s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:63 2394s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:64 2394s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:65 2394s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:66 2394s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:67 2394s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:68 2394s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:69 2394s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:70 2394s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:71 2394s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:72 2394s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:73 2394s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:74 2394s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:75 2394s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:76 2394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:77 2394s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:78 2394s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:79 2394s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:80 2394s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:81 2394s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:82 2394s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:83 2394s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:84 2394s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:85 2394s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:86 2394s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:87 2394s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:88 2394s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:89 2394s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:90 2394s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:91 2394s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:92 2394s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:93 2394s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:94 2394s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:95 2394s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:96 2394s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:97 2394s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:98 2394s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:99 2394s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:100 2394s # Starting thread pool processing 2394s ok 5 /threadpool/sort 2394s ok 6 /threadpool/stop-unused-multiple 2394s # slow test /threadpool/stop-unused-multiple executed in 0.58 secs 2394s # Pool idle thread count: 0, unprocessed jobs: 50 2395s # Pool idle thread count: 0, unprocessed jobs: 0 2395s # Pool idle thread count: 0, unprocessed jobs: 0 2396s # Pool idle thread count: 10, unprocessed jobs: 0 2396s # Pool idle thread count: 10, unprocessed jobs: 0 2396s # Pool idle thread count: 10, unprocessed jobs: 0 2396s # Pool idle thread count: 10, unprocessed jobs: 0 2397s # Pool idle thread count: 10, unprocessed jobs: 0 2397s # Pool idle thread count: 10, unprocessed jobs: 0 2397s # Pool idle thread count: 10, unprocessed jobs: 0 2397s # Pool idle thread count: 10, unprocessed jobs: 0 2398s # Pool idle thread count: 10, unprocessed jobs: 0 2398s # Pool idle thread count: 10, unprocessed jobs: 0 2398s # Pool idle thread count: 10, unprocessed jobs: 0 2398s # Pool idle thread count: 10, unprocessed jobs: 0 2398s Executing: glib/thread-pool-slow.test 2399s # Pool idle thread count: 10, unprocessed jobs: 0 2399s # Pool idle thread count: 10, unprocessed jobs: 0 2399s # Pool idle thread count: 10, unprocessed jobs: 0 2399s # Pool idle thread count: 10, unprocessed jobs: 0 2400s # Pool idle thread count: 10, unprocessed jobs: 0 2400s # Pool idle thread count: 10, unprocessed jobs: 0 2400s # Pool idle thread count: 10, unprocessed jobs: 0 2400s # Pool idle thread count: 10, unprocessed jobs: 0 2401s # Pool idle thread count: 10, unprocessed jobs: 0 2401s # Pool idle thread count: 10, unprocessed jobs: 0 2401s # Pool idle thread count: 10, unprocessed jobs: 0 2401s # Pool idle thread count: 10, unprocessed jobs: 0 2402s # Pool idle thread count: 10, unprocessed jobs: 0 2402s # Pool idle thread count: 10, unprocessed jobs: 0 2402s # Pool idle thread count: 10, unprocessed jobs: 0 2402s # Pool idle thread count: 10, unprocessed jobs: 0 2403s # Pool idle thread count: 10, unprocessed jobs: 0 2403s # Pool idle thread count: 10, unprocessed jobs: 0 2403s # Pool idle thread count: 10, unprocessed jobs: 0 2403s # Pool idle thread count: 10, unprocessed jobs: 0 2403s Executing: glib/thread-pool-slow.test 2404s # Pool idle thread count: 10, unprocessed jobs: 2 2404s # Pool idle thread count: 9, unprocessed jobs: 1 2404s # Pool idle thread count: 8, unprocessed jobs: 0 2404s # Pool idle thread count: 8, unprocessed jobs: 0 2404s # Pool idle thread count: 10, unprocessed jobs: 0 2404s # Pool idle thread count: 10, unprocessed jobs: 0 2405s # Pool idle thread count: 10, unprocessed jobs: 0 2405s # Pool idle thread count: 10, unprocessed jobs: 0 2405s # Pool idle thread count: 2, unprocessed jobs: 0 2405s # Pool idle thread count: 2, unprocessed jobs: 0 2406s # Pool idle thread count: 2, unprocessed jobs: 0 2406s # Pool idle thread count: 2, unprocessed jobs: 0 2406s # Pool idle thread count: 2, unprocessed jobs: 0 2406s # Pool idle thread count: 2, unprocessed jobs: 0 2407s # Pool idle thread count: 2, unprocessed jobs: 0 2407s # Pool idle thread count: 2, unprocessed jobs: 0 2407s # Pool idle thread count: 2, unprocessed jobs: 0 2407s # Pool idle thread count: 2, unprocessed jobs: 0 2408s # Pool idle thread count: 2, unprocessed jobs: 0 2408s # Pool idle thread count: 2, unprocessed jobs: 0 2408s # Pool idle thread count: 2, unprocessed jobs: 0 2408s # Pool idle thread count: 2, unprocessed jobs: 0 2408s Executing: glib/thread-pool-slow.test 2409s # Pool idle thread count: 2, unprocessed jobs: 0 2409s # Pool idle thread count: 2, unprocessed jobs: 0 2409s # Pool idle thread count: 2, unprocessed jobs: 0 2409s # Pool idle thread count: 2, unprocessed jobs: 0 2410s # Pool idle thread count: 2, unprocessed jobs: 0 2410s # Pool idle thread count: 2, unprocessed jobs: 0 2410s # Pool idle thread count: 2, unprocessed jobs: 0 2410s # Pool idle thread count: 2, unprocessed jobs: 0 2411s # Pool idle thread count: 2, unprocessed jobs: 0 2411s # Pool idle thread count: 2, unprocessed jobs: 0 2411s # Pool idle thread count: 2, unprocessed jobs: 0 2411s # Pool idle thread count: 2, unprocessed jobs: 0 2412s # Pool idle thread count: 2, unprocessed jobs: 0 2412s # Pool idle thread count: 2, unprocessed jobs: 0 2412s # Pool idle thread count: 2, unprocessed jobs: 0 2412s # Pool idle thread count: 2, unprocessed jobs: 0 2413s # Pool idle thread count: 2, unprocessed jobs: 0 2413s # Pool idle thread count: 2, unprocessed jobs: 0 2413s # Pool idle thread count: 2, unprocessed jobs: 0 2413s # Pool idle thread count: 2, unprocessed jobs: 0 2413s Executing: glib/thread-pool-slow.test 2414s # Pool idle thread count: 2, unprocessed jobs: 0 2414s # Pool idle thread count: 2, unprocessed jobs: 0 2414s ok 7 /threadpool/idle-time 2414s # slow test /threadpool/idle-time executed in 19.58 secs 2414s # End of threadpool tests 2414s PASS: glib/thread-pool-slow.test 2414s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.3s; maxrss=2304 2414s autopkgtest [01:29:15]: test thread-pool-slow: -----------------------] 2419s autopkgtest [01:29:20]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2419s thread-pool-slow PASS 2423s autopkgtest [01:29:24]: test threadtests: preparing testbed 2437s Reading package lists... 2438s Building dependency tree... 2438s Reading state information... 2439s Starting pkgProblemResolver with broken count: 0 2439s Starting 2 pkgProblemResolver with broken count: 0 2440s Done 2443s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2443s 1 not fully installed or removed. 2443s After this operation, 0 B of additional disk space will be used. 2444s Setting up autopkgtest-satdep (0) ... 2458s (Reading database ... 28585 files and directories currently installed.) 2458s Removing autopkgtest-satdep (0) ... 2469s autopkgtest [01:30:10]: test threadtests: [----------------------- 2472s Running test: glib/threadtests.test 2472s TAP version 13 2472s # random seed: R02S19650ce9194ff6201ff1d6a00c9af498 2472s 1..5 2472s # Start of GObject tests 2472s ok 1 /GObject/threaded-object-init 2477s Executing: glib/threadtests.test 2479s ok 2 /GObject/threaded-weak-ref 2479s # slow test /GObject/threaded-weak-ref executed in 6.68 secs 2479s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2479s # /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 2479s ok 3 /GObject/threaded-toggle-notify 2479s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2479s # Start of threaded-weak-ref tests 2479s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2479s # /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. 2479s ok 5 /GObject/threaded-weak-ref/on-finalization 2479s # End of threaded-weak-ref tests 2479s # End of GObject tests 2479s PASS: glib/threadtests.test 2479s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.8s; system=4.7s; maxrss=2704 2480s autopkgtest [01:30:21]: test threadtests: -----------------------] 2484s threadtests PASS 2484s autopkgtest [01:30:25]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2488s autopkgtest [01:30:29]: test timeout: preparing testbed 2503s Reading package lists... 2504s Building dependency tree... 2504s Reading state information... 2505s Starting pkgProblemResolver with broken count: 0 2506s Starting 2 pkgProblemResolver with broken count: 0 2506s Done 2509s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2509s 1 not fully installed or removed. 2509s After this operation, 0 B of additional disk space will be used. 2509s Setting up autopkgtest-satdep (0) ... 2525s (Reading database ... 28585 files and directories currently installed.) 2525s Removing autopkgtest-satdep (0) ... 2536s autopkgtest [01:31:17]: test timeout: [----------------------- 2539s Running test: glib/timeout.test 2539s TAP version 13 2539s # random seed: R02Sc99279fffe9f36db245e964942d44640 2539s 1..5 2539s # Start of timeout tests 2539s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2541s ok 1 /timeout/seconds 2541s # slow test /timeout/seconds executed in 2.10 secs 2543s ok 2 /timeout/seconds-once 2543s # slow test /timeout/seconds-once executed in 2.10 secs 2543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2544s Executing: glib/timeout.test 2545s ok 3 /timeout/weeks-overflow 2545s # slow test /timeout/weeks-overflow executed in 2.10 secs 2545s ok 4 /timeout/far-future-ready-time 2549s Executing: glib/timeout.test 2554s Executing: glib/timeout.test 2555s ok 5 /timeout/rounding 2555s # slow test /timeout/rounding executed in 10.45 secs 2555s # End of timeout tests 2555s PASS: glib/timeout.test 2555s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2148 2556s autopkgtest [01:31:37]: test timeout: -----------------------] 2560s autopkgtest [01:31:41]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2560s timeout PASS 2564s autopkgtest [01:31:45]: test timer: preparing testbed 2578s Reading package lists... 2578s Building dependency tree... 2578s Reading state information... 2579s Starting pkgProblemResolver with broken count: 0 2580s Starting 2 pkgProblemResolver with broken count: 0 2580s Done 2583s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 2583s 1 not fully installed or removed. 2583s After this operation, 0 B of additional disk space will be used. 2583s Setting up autopkgtest-satdep (0) ... 2597s (Reading database ... 28585 files and directories currently installed.) 2597s Removing autopkgtest-satdep (0) ... 2608s autopkgtest [01:32:29]: test timer: [----------------------- 2610s Running test: glib/timer.test 2610s TAP version 13 2610s # random seed: R02Sf322f3953a4c653bf95ad98e53139efb 2610s 1..10 2610s # Start of timer tests 2610s ok 1 /timer/basic 2610s ok 2 /timer/stop 2610s ok 3 /timer/continue 2610s ok 4 /timer/reset 2610s ok 5 /timer/is_active 2610s # End of timer tests 2610s # Start of timeval tests 2610s ok 6 /timeval/add 2610s ok 7 /timeval/from-iso8601 2610s ok 8 /timeval/to-iso8601 2610s # Start of to-iso8601 tests 2610s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 2610s # End of to-iso8601 tests 2610s # End of timeval tests 2610s # Start of usleep tests 2610s ok 10 /usleep/with-zero-wait 2610s # End of usleep tests 2610s PASS: glib/timer.test 2610s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2244 2611s autopkgtest [01:32:32]: test timer: -----------------------] 2615s autopkgtest [01:32:36]: test timer: - - - - - - - - - - results - - - - - - - - - - 2615s timer PASS 2618s autopkgtest [01:32:39]: test 1065022-futureproofing: preparing testbed 2685s autopkgtest [01:33:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2688s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 2688s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3716 kB] 2689s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [51.4 kB] 2689s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 2689s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 2689s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [574 kB] 2689s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 2689s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 2689s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 2689s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [3502 kB] 2689s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 2689s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [33.8 kB] 2689s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 2702s Fetched 8497 kB in 3s (2606 kB/s) 2703s Reading package lists... 2708s /etc/apt/sources.list.d/proposed.list 2710s tee: /proc/self/fd/2: Permission denied 2742s Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease 2742s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 2742s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 2742s Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease 2742s Hit:5 http://ftpmaster.internal/ubuntu noble-security InRelease 2742s Hit:6 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease 2742s Hit:7 http://ftpmaster.internal/ubuntu noble-proposed InRelease 2742s Hit:8 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease 2750s Reading package lists... 2751s Reading package lists... 2753s Building dependency tree... 2753s Reading state information... 2755s Calculating upgrade... 2758s The following packages were automatically installed and are no longer required: 2758s libatasmart4 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 2758s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 2758s libblockdev-utils3 libblockdev3 libbytesize-common libbytesize1 libnspr4 2758s libnss3 libnvme1t64 libpolkit-agent-1-0 libvolume-key1 2758s linux-headers-6.8.0-11 python3-lib2to3 2758s Use 'apt autoremove' to remove them. 2761s The following packages will be REMOVED: 2761s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 2761s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 2761s libhogweed6 libmagic1 libnetplan0 libnettle8 libnpth0 libnvme1 libparted2 2761s libpcap0.8 libperl5.38 libpng16-16 libpsl5 libreadline8 libreiserfscore0 2761s libssl3 libtirpc3 libudisks2-0 libuv1 linux-headers-6.8.0-11-generic 2761s linux-headers-generic python3-distutils udisks2 2761s The following NEW packages will be installed: 2761s libapt-pkg6.0t64 libarchive13t64 libatm1t64 libcurl3t64-gnutls libcurl4t64 2761s libdb5.3t64 libelf1t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 2761s libglib2.0-0t64 libgnutls30t64 libgpgme11t64 libhogweed6t64 libmagic1t64 2761s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 2761s libpcap0.8t64 libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 2761s libreiserfscore0t64 libssl3t64 libtirpc3t64 libuv1t64 xdg-user-dirs 2761s The following packages have been kept back: 2761s multipath-tools 2761s The following packages will be upgraded: 2761s apparmor apt apt-utils bind9-dnsutils bind9-host bind9-libs bolt 2761s bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 2761s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 2761s dbus-user-session debianutils dhcpcd-base dirmngr dmsetup dpkg dpkg-dev 2761s e2fsprogs e2fsprogs-l10n eject fdisk file ftp fwupd gawk gcc-13-base 2761s gcc-14-base gir1.2-girepository-2.0 gir1.2-glib-2.0 gnupg gnupg-l10n 2761s gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv groff-base 2761s ibverbs-providers inetutils-telnet info initramfs-tools initramfs-tools-bin 2761s initramfs-tools-core install-info iproute2 jq keyboxd kmod kpartx 2761s krb5-locales libapparmor1 libaudit-common libaudit1 libblkid1 2761s libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 2761s libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 libblockdev-utils3 2761s libblockdev3 libbpf1 libbrotli1 libbsd0 libc-bin libc6 libcap-ng0 2761s libcom-err2 libcryptsetup12 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 2761s libdpkg-perl libevent-core-2.1-7 libexpat1 libfdisk1 libfido2-1 libftdi1-2 2761s libfwupd2 libgcc-s1 libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 2761s libgudev-1.0-0 libgusb2 libibverbs1 libjcat1 libjq1 libjson-glib-1.0-0 2761s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 2761s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 2761s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 2761s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 2761s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 2761s libpolkit-gobject-1-0 libpython3-stdlib libpython3.11-minimal 2761s libpython3.11-stdlib libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 2761s libqmi-proxy libqrtr-glib0 librtmp1 libsasl2-2 libsasl2-modules 2761s libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libsemanage2 2761s libslang2 libsmartcols1 libsqlite3-0 libss2 libssh-4 libstdc++6 2761s libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl 2761s libtirpc-common libudev1 libusb-1.0-0 libuuid1 libvolume-key1 libxml2 2761s libxmlb2 libxmuu1 locales logsave lshw lsof man-db mount mtr-tiny 2761s netplan-generator netplan.io openssh-client openssh-server 2761s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 2761s pinentry-curses plymouth plymouth-theme-ubuntu-text psmisc python-apt-common 2761s python3 python3-apt python3-cryptography python3-dbus python3-gdbm 2761s python3-gi python3-lib2to3 python3-markupsafe python3-minimal 2761s python3-netplan python3-openssl python3-pkg-resources python3-pyrsistent 2761s python3-setuptools python3-typing-extensions python3-yaml python3.11 2761s python3.11-minimal python3.12 python3.12-minimal readline-common rsync 2761s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 2761s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 2761s ubuntu-pro-client-l10n udev util-linux uuid-runtime vim-common vim-tiny wget 2761s xxd xz-utils zlib1g 2761s 225 upgraded, 30 newly installed, 34 to remove and 1 not upgraded. 2761s Need to get 87.1 MB of archives. 2761s After this operation, 9056 kB disk space will be freed. 2761s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdutils armhf 1:2.39.3-9ubuntu2 [102 kB] 2762s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-14-base armhf 14-20240315-1ubuntu1 [47.0 kB] 2762s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-s1 armhf 14-20240315-1ubuntu1 [41.5 kB] 2762s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++6 armhf 14-20240315-1ubuntu1 [714 kB] 2762s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6 armhf 2.39-0ubuntu6 [2827 kB] 2763s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssl armhf 3.0.13-0ubuntu1 [974 kB] 2763s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g armhf 1:1.3.dfsg-3.1ubuntu1 [49.2 kB] 2763s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2build6 [51.3 kB] 2763s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12 armhf 3.12.2-4build2 [645 kB] 2763s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libexpat1 armhf 2.6.1-2 [65.9 kB] 2763s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12-minimal armhf 3.12.2-4build2 [1943 kB] 2763s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-stdlib armhf 3.12.2-4build2 [1907 kB] 2763s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-minimal armhf 3.12.2-4build2 [816 kB] 2763s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma5 armhf 5.6.0-0.2 [117 kB] 2763s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsqlite3-0 armhf 3.45.1-1ubuntu1 [599 kB] 2763s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11 armhf 3.11.8-1build3 [589 kB] 2764s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11-minimal armhf 3.11.8-1build3 [1794 kB] 2764s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-stdlib armhf 3.11.8-1build3 [1810 kB] 2764s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-minimal armhf 3.11.8-1build3 [827 kB] 2764s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-iconv-perl armhf 1.7-8build2 [12.7 kB] 2764s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-charwidth-perl armhf 0.04-11build2 [8962 B] 2764s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 2764s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-4ubuntu4 [19.2 kB] 2764s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-5build1 [661 kB] 2764s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gdbm armhf 3.12.2-3ubuntu2 [17.1 kB] 2764s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main armhf man-db armhf 2.12.0-3build4 [1196 kB] 2764s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm6t64 armhf 1.23-5.1 [30.3 kB] 2764s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm-compat4t64 armhf 1.23-5.1 [6208 B] 2764s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperl5.38t64 armhf 5.38.2-3.2 [4101 kB] 2764s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl armhf 5.38.2-3.2 [231 kB] 2764s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-base armhf 5.38.2-3.2 [1671 kB] 2765s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblocale-gettext-perl armhf 1.07-6ubuntu3 [15.0 kB] 2765s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-timesyncd armhf 255.4-1ubuntu5 [36.0 kB] 2765s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 2765s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit-common all 1:3.1.2-2.1 [5674 B] 2765s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcap-ng0 armhf 0.8.4-2build1 [13.5 kB] 2765s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit1 armhf 1:3.1.2-2.1 [44.3 kB] 2765s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam0g armhf 1.5.3-5ubuntu3 [62.0 kB] 2765s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2build3 [70.5 kB] 2765s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules-bin armhf 1.5.3-5ubuntu3 [47.0 kB] 2765s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules armhf 1.5.3-5ubuntu3 [261 kB] 2765s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 2765s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-sysv armhf 255.4-1ubuntu5 [11.9 kB] 2765s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-systemd armhf 255.4-1ubuntu5 [216 kB] 2765s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-user-session armhf 1.14.10-4ubuntu2 [9962 B] 2765s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapparmor1 armhf 4.0.0~beta2-0ubuntu3 [44.8 kB] 2765s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-bin armhf 1.14.10-4ubuntu2 [37.1 kB] 2765s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 2765s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus armhf 1.14.10-4ubuntu2 [28.1 kB] 2765s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-daemon armhf 1.14.10-4ubuntu2 [109 kB] 2765s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdbus-1-3 armhf 1.14.10-4ubuntu2 [190 kB] 2765s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-resolved armhf 255.4-1ubuntu5 [289 kB] 2765s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid1 armhf 2.39.3-9ubuntu2 [160 kB] 2765s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kmod armhf 31+20240202-2ubuntu4 [91.8 kB] 2765s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkmod2 armhf 31+20240202-2ubuntu4 [44.9 kB] 2765s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount1 armhf 2.39.3-9ubuntu2 [171 kB] 2765s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libseccomp2 armhf 2.5.5-1ubuntu2 [49.5 kB] 2765s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu6 [172 kB] 2765s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-0t64 armhf 2.79.3-3ubuntu5 [1414 kB] 2765s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvolume-key1 armhf 0.3.12-7build1 [38.4 kB] 2765s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgpgme11t64 armhf 1.18.0-4.1ubuntu3 [120 kB] 2765s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjcat1 armhf 0.2.0-2build2 [30.4 kB] 2765s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libarchive13t64 armhf 3.7.2-1.1ubuntu1 [330 kB] 2765s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fwupd armhf 1.9.15-1 [4349 kB] 2765s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client-l10n armhf 31.2 [19.4 kB] 2765s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client armhf 31.2 [216 kB] 2765s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparted2t64 armhf 3.6-3.1build2 [143 kB] 2765s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main armhf parted armhf 3.6-3.1build2 [39.4 kB] 2765s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf keyboxd armhf 2.4.4-2ubuntu15 [111 kB] 2765s Get:70 http://ftpmaster.internal/ubuntu noble/main armhf libnpth0t64 armhf 1.6-3.1 [6940 B] 2765s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgv armhf 2.4.4-2ubuntu15 [224 kB] 2765s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg armhf 2.4.4-2ubuntu15 [524 kB] 2765s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-wks-client armhf 2.4.4-2ubuntu15 [87.4 kB] 2765s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-utils armhf 2.4.4-2ubuntu15 [158 kB] 2765s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-agent armhf 2.4.4-2ubuntu15 [235 kB] 2765s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgsm armhf 2.4.4-2ubuntu15 [241 kB] 2765s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline8t64 armhf 8.2-3.1 [129 kB] 2765s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gawk armhf 1:5.2.1-2build2 [415 kB] 2766s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fdisk armhf 2.39.3-9ubuntu2 [135 kB] 2766s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgconf armhf 2.4.4-2ubuntu15 [115 kB] 2766s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dirmngr armhf 2.4.4-2ubuntu15 [346 kB] 2766s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg all 2.4.4-2ubuntu15 [359 kB] 2766s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-apt armhf 2.7.6build1 [162 kB] 2766s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt-utils armhf 2.7.13ubuntu1 [210 kB] 2766s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg6.0t64 armhf 2.7.13ubuntu1 [986 kB] 2766s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnettle8t64 armhf 3.9.1-2.2 [187 kB] 2766s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhogweed6t64 armhf 3.9.1-2.2 [187 kB] 2766s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgnutls30t64 armhf 3.8.3-1.1ubuntu2 [1046 kB] 2766s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt armhf 2.7.13ubuntu1 [1367 kB] 2766s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl3t64-gnutls armhf 8.5.0-2ubuntu7 [290 kB] 2766s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfwupd2 armhf 1.9.15-1 [123 kB] 2766s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.7 kB] 2766s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf wget armhf 1.21.4-1ubuntu2 [317 kB] 2766s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tnftp armhf 20230507-2build1 [98.6 kB] 2766s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpcap0.8t64 armhf 1.10.4-4.1ubuntu1 [137 kB] 2766s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tcpdump armhf 4.99.4-3ubuntu2 [425 kB] 2766s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main armhf sudo armhf 1.9.15p5-3ubuntu2 [936 kB] 2766s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main armhf rsync armhf 3.2.7-1build1 [413 kB] 2766s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-cryptography armhf 41.0.7-4build2 [788 kB] 2766s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-sftp-server armhf 1:9.6p1-3ubuntu10 [35.5 kB] 2766s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-client armhf 1:9.6p1-3ubuntu10 [890 kB] 2766s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-server armhf 1:9.6p1-3ubuntu10 [503 kB] 2767s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl3t64 armhf 3.0.13-0ubuntu1 [1557 kB] 2768s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-dev all 255.4-1ubuntu5 [103 kB] 2768s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd armhf 255.4-1ubuntu5 [3502 kB] 2769s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udev armhf 255.4-1ubuntu5 [1852 kB] 2770s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnss-systemd armhf 255.4-1ubuntu5 [148 kB] 2770s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd-shared armhf 255.4-1ubuntu5 [2009 kB] 2770s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudev1 armhf 255.4-1ubuntu5 [166 kB] 2770s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.185-3ubuntu2 [135 kB] 2770s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuuid1 armhf 2.39.3-9ubuntu2 [34.4 kB] 2770s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcryptsetup12 armhf 2:2.7.0-1ubuntu2 [238 kB] 2770s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfdisk1 armhf 2.39.3-9ubuntu2 [196 kB] 2770s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mount armhf 2.39.3-9ubuntu2 [134 kB] 2770s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd0 armhf 255.4-1ubuntu5 [410 kB] 2770s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-yaml armhf 6.0.1-2build1 [117 kB] 2770s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf pinentry-curses armhf 1.2.1-3ubuntu4 [36.7 kB] 2770s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsmartcols1 armhf 2.39.3-9ubuntu2 [117 kB] 2770s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf readline-common all 8.2-3.1 [56.4 kB] 2770s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python-apt-common all 2.7.6build1 [19.8 kB] 2770s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 2770s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 2770s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg armhf 1.22.6ubuntu2 [1229 kB] 2771s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-minimal armhf 3.12.2-0ubuntu1 [27.1 kB] 2771s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3 armhf 3.12.2-0ubuntu1 [24.1 kB] 2771s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3-stdlib armhf 3.12.2-0ubuntu1 [9802 B] 2771s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdextrautils armhf 2.39.3-9ubuntu2 [78.7 kB] 2771s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main armhf groff-base armhf 1.23.0-3build1 [946 kB] 2771s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-2 armhf 2.1.28+dfsg1-4ubuntu4 [49.7 kB] 2771s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 2771s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-0 armhf 1.8.0-2build1 [61.2 kB] 2771s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml2 armhf 2.9.14+dfsg-1.3ubuntu2 [595 kB] 2771s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgudev-1.0-0 armhf 1:238-3ubuntu2 [13.6 kB] 2771s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libusb-1.0-0 armhf 2:1.0.27-1 [48.7 kB] 2771s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgusb2 armhf 0.4.8-1build1 [34.6 kB] 2771s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-proxy armhf 1.31.2-0ubuntu2 [5748 B] 2771s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-glib4 armhf 1.31.2-0ubuntu2 [216 kB] 2771s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmm-glib0 armhf 1.23.4-0ubuntu1 [214 kB] 2771s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-agent-1-0 armhf 124-1ubuntu1 [15.3 kB] 2771s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-gobject-1-0 armhf 124-1ubuntu1 [44.1 kB] 2771s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-proxy armhf 1.35.2-0ubuntu1 [5732 B] 2771s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqrtr-glib0 armhf 1.2.2-1ubuntu3 [15.4 kB] 2771s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-glib5 armhf 1.35.2-0ubuntu1 [908 kB] 2771s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmlb2 armhf 0.3.15-1build1 [57.0 kB] 2771s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main armhf shared-mime-info armhf 2.4-1build1 [470 kB] 2771s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbrotli1 armhf 1.1.0-2build1 [319 kB] 2771s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgssapi-krb5-2 armhf 1.20.1-5.1build3 [119 kB] 2771s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5-3 armhf 1.20.1-5.1build3 [321 kB] 2771s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5support0 armhf 1.20.1-5.1build3 [31.4 kB] 2771s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libk5crypto3 armhf 1.20.1-5.1build3 [78.6 kB] 2771s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcom-err2 armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 2771s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnghttp2-14 armhf 1.59.0-1build1 [68.1 kB] 2771s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh-4 armhf 0.10.6-2build1 [169 kB] 2771s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libibverbs1 armhf 50.0-2build1 [57.9 kB] 2771s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfido2-1 armhf 1.14.0-1build1 [75.8 kB] 2771s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main armhf coreutils armhf 9.4-3ubuntu3 [1280 kB] 2771s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main armhf debianutils armhf 5.17 [88.9 kB] 2771s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main armhf util-linux armhf 2.39.3-9ubuntu2 [1216 kB] 2771s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-bin armhf 2.39-0ubuntu6 [530 kB] 2771s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main armhf curl armhf 8.5.0-2ubuntu7 [219 kB] 2771s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4t64 armhf 8.5.0-2ubuntu7 [296 kB] 2771s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbpf1 armhf 1:1.3.0-2build1 [146 kB] 2771s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main armhf iproute2 armhf 6.1.0-1ubuntu5 [1060 kB] 2772s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libelf1t64 armhf 0.190-1.1build2 [49.9 kB] 2772s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lsof armhf 4.95.0-1build2 [248 kB] 2772s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnsl2 armhf 1.3.0-3build2 [36.5 kB] 2772s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc-common all 1.3.4+ds-1.1 [8018 B] 2772s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc3t64 armhf 1.3.4+ds-1.1 [73.2 kB] 2772s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-utils3 armhf 3.1.0-1build1 [16.9 kB] 2772s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-fs3 armhf 3.1.0-1build1 [34.4 kB] 2772s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main armhf logsave armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 2772s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools all 0.142ubuntu22 [9056 B] 2772s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-core all 0.142ubuntu22 [50.0 kB] 2772s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 2772s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libext2fs2t64 armhf 1.47.0-2.4~exp1ubuntu2 [201 kB] 2772s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs armhf 1.47.0-2.4~exp1ubuntu2 [571 kB] 2772s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main armhf btrfs-progs armhf 6.6.3-1.1build1 [852 kB] 2772s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dhcpcd-base armhf 1:10.0.6-1ubuntu2 [186 kB] 2772s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-bin armhf 0.142ubuntu22 [20.1 kB] 2772s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreiserfscore0t64 armhf 1:3.6.27-7.1 [66.2 kB] 2772s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main armhf file armhf 1:5.45-3 [21.1 kB] 2772s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic-mgc armhf 1:5.45-3 [307 kB] 2772s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic1t64 armhf 1:5.45-3 [81.4 kB] 2772s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetplan1 armhf 1.0-1 [113 kB] 2772s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-netplan armhf 1.0-1 [22.5 kB] 2772s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan-generator armhf 1.0-1 [58.7 kB] 2772s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-dbus armhf 1.3.2-5build2 [94.7 kB] 2772s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan.io armhf 1.0-1 [64.3 kB] 2772s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-nvme3 armhf 3.1.0-1build1 [17.5 kB] 2772s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnvme1t64 armhf 1.8-3 [67.5 kB] 2772s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libplymouth5 armhf 24.004.60-1ubuntu4 [139 kB] 2772s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng16-16t64 armhf 1.6.43-3 [166 kB] 2772s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-host armhf 1:9.18.24-0ubuntu3 [47.4 kB] 2772s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-dnsutils armhf 1:9.18.24-0ubuntu3 [149 kB] 2772s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-libs armhf 1:9.18.24-0ubuntu3 [1148 kB] 2772s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuv1t64 armhf 1.48.0-1.1 [82.9 kB] 2772s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-runtime armhf 2.39.3-9ubuntu2 [41.7 kB] 2772s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebconfclient0 armhf 0.271ubuntu2 [10.8 kB] 2772s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage-common all 3.5-1build4 [10.1 kB] 2772s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage2 armhf 3.5-1build4 [84.5 kB] 2772s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main armhf install-info armhf 7.1-3build1 [60.5 kB] 2772s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-base armhf 13.2.0-19ubuntu1 [47.7 kB] 2772s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libss2 armhf 1.47.0-2.4~exp1ubuntu2 [14.7 kB] 2772s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dmsetup armhf 2:1.02.185-3ubuntu2 [81.1 kB] 2773s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main armhf eject armhf 2.39.3-9ubuntu2 [43.2 kB] 2773s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-girepository-2.0 armhf 1.79.1-1ubuntu6 [24.8 kB] 2773s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-glib-2.0 armhf 2.79.3-3ubuntu5 [182 kB] 2773s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-1.0-1 armhf 1.79.1-1ubuntu6 [106 kB] 2773s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main armhf krb5-locales all 1.20.1-5.1build3 [13.8 kB] 2773s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbsd0 armhf 0.12.1-1 [36.6 kB] 2773s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 2773s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libslang2 armhf 2.3.3-3build1 [478 kB] 2773s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main armhf locales all 2.39-0ubuntu6 [4232 kB] 2774s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gi armhf 3.47.0-3build1 [219 kB] 2774s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-tiny armhf 2:9.1.0016-1ubuntu5 [665 kB] 2774s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-common all 2:9.1.0016-1ubuntu5 [385 kB] 2774s Get:217 http://ftpmaster.internal/ubuntu noble/main armhf xdg-user-dirs armhf 0.18-1 [17.3 kB] 2774s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xxd armhf 2:9.1.0016-1ubuntu5 [62.4 kB] 2774s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apparmor armhf 4.0.0~beta2-0ubuntu3 [557 kB] 2774s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ftp all 20230507-2build1 [4724 B] 2774s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main armhf inetutils-telnet armhf 2:2.5-3ubuntu3 [90.7 kB] 2774s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main armhf info armhf 7.1-3build1 [127 kB] 2774s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmuu1 armhf 2:1.1.3-3build1 [8004 B] 2774s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2build2 [310 kB] 2774s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mtr-tiny armhf 0.95-1.1build1 [51.7 kB] 2774s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-1ubuntu4 [9828 B] 2774s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth armhf 24.004.60-1ubuntu4 [143 kB] 2774s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main armhf psmisc armhf 23.7-1 [176 kB] 2774s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main armhf telnet all 0.17+2.5-3ubuntu3 [3682 B] 2774s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xz-utils armhf 5.6.0-0.2 [271 kB] 2774s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bolt armhf 0.9.6-2build1 [138 kB] 2774s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cryptsetup-bin armhf 2:2.7.0-1ubuntu2 [214 kB] 2774s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg-dev all 1.22.6ubuntu2 [1074 kB] 2775s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdpkg-perl all 1.22.6ubuntu2 [269 kB] 2775s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 2775s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ibverbs-providers armhf 50.0-2build1 [27.4 kB] 2775s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf jq armhf 1.7.1-3 [65.2 kB] 2775s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjq1 armhf 1.7.1-3 [156 kB] 2775s Get:239 http://ftpmaster.internal/ubuntu noble/main armhf libatm1t64 armhf 1:2.5.1-5.1 [20.0 kB] 2775s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-crypto3 armhf 3.1.0-1build1 [20.3 kB] 2775s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-loop3 armhf 3.1.0-1build1 [6502 B] 2775s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-mdraid3 armhf 3.1.0-1build1 [13.3 kB] 2775s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-part3 armhf 3.1.0-1build1 [16.4 kB] 2775s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-swap3 armhf 3.1.0-1build1 [8894 B] 2775s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev3 armhf 3.1.0-1build1 [42.9 kB] 2775s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-core-2.1-7 armhf 2.1.12-stable-9build1 [82.3 kB] 2775s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libftdi1-2 armhf 1.5-6build4 [25.7 kB] 2775s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 2775s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules armhf 2.1.28+dfsg1-4ubuntu4 [61.4 kB] 2775s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-lib2to3 all 3.12.2-3ubuntu2 [79.3 kB] 2775s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-markupsafe armhf 2.1.5-1build1 [12.1 kB] 2775s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-openssl all 24.0.0-2 [47.5 kB] 2775s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pyrsistent armhf 0.20.0-1build1 [53.0 kB] 2775s Get:254 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-typing-extensions all 4.10.0-1 [60.7 kB] 2775s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kpartx armhf 0.9.4-5ubuntu4 [31.4 kB] 2781s Preconfiguring packages ... 2782s Fetched 87.1 MB in 14s (6284 kB/s) 2783s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2783s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_armhf.deb ... 2783s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 2783s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 2783s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2783s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_armhf.deb ... 2783s Unpacking gcc-14-base:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 2784s Setting up gcc-14-base:armhf (14-20240315-1ubuntu1) ... 2784s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2784s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_armhf.deb ... 2784s Unpacking libgcc-s1:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 2784s Setting up libgcc-s1:armhf (14-20240315-1ubuntu1) ... 2784s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2784s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_armhf.deb ... 2784s Unpacking libstdc++6:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 2785s Setting up libstdc++6:armhf (14-20240315-1ubuntu1) ... 2785s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2785s Preparing to unpack .../libc6_2.39-0ubuntu6_armhf.deb ... 2786s Unpacking libc6:armhf (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 2787s Setting up libc6:armhf (2.39-0ubuntu6) ... 2789s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2789s Preparing to unpack .../openssl_3.0.13-0ubuntu1_armhf.deb ... 2789s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 2790s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 2790s Unpacking zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 2790s Setting up zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) ... 2791s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2791s Preparing to unpack .../0-librtmp1_2.4+20151223.gitfa8646d.1-2build6_armhf.deb ... 2791s Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 2791s Preparing to unpack .../1-python3.12_3.12.2-4build2_armhf.deb ... 2791s Unpacking python3.12 (3.12.2-4build2) over (3.12.2-1) ... 2791s Preparing to unpack .../2-libexpat1_2.6.1-2_armhf.deb ... 2791s Unpacking libexpat1:armhf (2.6.1-2) over (2.6.0-1) ... 2792s Preparing to unpack .../3-python3.12-minimal_3.12.2-4build2_armhf.deb ... 2792s Unpacking python3.12-minimal (3.12.2-4build2) over (3.12.2-1) ... 2792s Preparing to unpack .../4-libpython3.12-stdlib_3.12.2-4build2_armhf.deb ... 2792s Unpacking libpython3.12-stdlib:armhf (3.12.2-4build2) over (3.12.2-1) ... 2794s Preparing to unpack .../5-libpython3.12-minimal_3.12.2-4build2_armhf.deb ... 2794s Unpacking libpython3.12-minimal:armhf (3.12.2-4build2) over (3.12.2-1) ... 2795s Preparing to unpack .../6-liblzma5_5.6.0-0.2_armhf.deb ... 2795s Unpacking liblzma5:armhf (5.6.0-0.2) over (5.4.5-0.3) ... 2795s Setting up liblzma5:armhf (5.6.0-0.2) ... 2795s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2795s Preparing to unpack .../0-libsqlite3-0_3.45.1-1ubuntu1_armhf.deb ... 2795s Unpacking libsqlite3-0:armhf (3.45.1-1ubuntu1) over (3.45.1-1) ... 2796s Preparing to unpack .../1-python3.11_3.11.8-1build3_armhf.deb ... 2796s Unpacking python3.11 (3.11.8-1build3) over (3.11.8-1) ... 2796s Preparing to unpack .../2-python3.11-minimal_3.11.8-1build3_armhf.deb ... 2796s Unpacking python3.11-minimal (3.11.8-1build3) over (3.11.8-1) ... 2797s Preparing to unpack .../3-libpython3.11-stdlib_3.11.8-1build3_armhf.deb ... 2797s Unpacking libpython3.11-stdlib:armhf (3.11.8-1build3) over (3.11.8-1) ... 2798s Preparing to unpack .../4-libpython3.11-minimal_3.11.8-1build3_armhf.deb ... 2798s Unpacking libpython3.11-minimal:armhf (3.11.8-1build3) over (3.11.8-1) ... 2800s Preparing to unpack .../5-libtext-iconv-perl_1.7-8build2_armhf.deb ... 2800s Unpacking libtext-iconv-perl:armhf (1.7-8build2) over (1.7-8build1) ... 2800s Preparing to unpack .../6-libtext-charwidth-perl_0.04-11build2_armhf.deb ... 2800s Unpacking libtext-charwidth-perl:armhf (0.04-11build2) over (0.04-11build1) ... 2800s Preparing to unpack .../7-perl-modules-5.38_5.38.2-3.2_all.deb ... 2800s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 2803s Preparing to unpack .../8-libsasl2-modules-db_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 2803s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 2803s dpkg: libperl5.38:armhf: dependency problems, but removing anyway as you requested: 2803s perl depends on libperl5.38 (= 5.38.2-3). 2803s 2803s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 2803s Removing libperl5.38:armhf (5.38.2-3) ... 2804s dpkg: libdb5.3:armhf: dependency problems, but removing anyway as you requested: 2804s libpam-modules:armhf depends on libdb5.3. 2804s iproute2 depends on libdb5.3. 2804s apt-utils depends on libdb5.3. 2804s 2804s Removing libdb5.3:armhf (5.3.28+dfsg2-4) ... 2804s Selecting previously unselected package libdb5.3t64:armhf. 2804s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58091 files and directories currently installed.) 2804s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-5build1_armhf.deb ... 2804s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 2804s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu2_armhf.deb ... 2804s Unpacking python3-gdbm:armhf (3.12.2-3ubuntu2) over (3.11.5-1) ... 2804s Preparing to unpack .../man-db_2.12.0-3build4_armhf.deb ... 2805s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 2806s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58097 files and directories currently installed.) 2806s Removing libgdbm-compat4:armhf (1.23-5) ... 2806s Removing libgdbm6:armhf (1.23-5) ... 2806s Selecting previously unselected package libgdbm6t64:armhf. 2806s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58087 files and directories currently installed.) 2806s Preparing to unpack .../libgdbm6t64_1.23-5.1_armhf.deb ... 2806s Unpacking libgdbm6t64:armhf (1.23-5.1) ... 2806s Selecting previously unselected package libgdbm-compat4t64:armhf. 2806s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_armhf.deb ... 2806s Unpacking libgdbm-compat4t64:armhf (1.23-5.1) ... 2806s Selecting previously unselected package libperl5.38t64:armhf. 2806s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_armhf.deb ... 2806s Unpacking libperl5.38t64:armhf (5.38.2-3.2) ... 2808s Preparing to unpack .../perl_5.38.2-3.2_armhf.deb ... 2808s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 2808s Preparing to unpack .../perl-base_5.38.2-3.2_armhf.deb ... 2808s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 2810s Setting up perl-base (5.38.2-3.2) ... 2810s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2810s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu3_armhf.deb ... 2810s Unpacking liblocale-gettext-perl (1.07-6ubuntu3) over (1.07-6build1) ... 2810s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu5_armhf.deb ... 2810s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2810s Preparing to unpack .../dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 2810s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2810s Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1_all.deb ... 2810s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 2811s Setting up libaudit-common (1:3.1.2-2.1) ... 2811s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2811s Preparing to unpack .../libcap-ng0_0.8.4-2build1_armhf.deb ... 2811s Unpacking libcap-ng0:armhf (0.8.4-2build1) over (0.8.4-2) ... 2811s Setting up libcap-ng0:armhf (0.8.4-2build1) ... 2811s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2811s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_armhf.deb ... 2811s Unpacking libaudit1:armhf (1:3.1.2-2.1) over (1:3.1.2-2) ... 2811s Setting up libaudit1:armhf (1:3.1.2-2.1) ... 2812s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2812s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_armhf.deb ... 2812s Unpacking libpam0g:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 2812s Setting up libpam0g:armhf (1.5.3-5ubuntu3) ... 2813s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2813s Preparing to unpack .../libselinux1_3.5-2build3_armhf.deb ... 2813s Unpacking libselinux1:armhf (3.5-2build3) over (3.5-2build1) ... 2813s Setting up libselinux1:armhf (3.5-2build3) ... 2813s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2813s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_armhf.deb ... 2813s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 2813s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 2814s pam_namespace.service is a disabled or a static unit not running, not starting it. 2815s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58618 files and directories currently installed.) 2815s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_armhf.deb ... 2815s Unpacking libpam-modules:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 2816s Setting up libpam-modules:armhf (1.5.3-5ubuntu3) ... 2816s Installing new version of config file /etc/security/namespace.init ... 2816s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 2816s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 2816s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 2816s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 2817s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 2817s Preparing to unpack .../00-systemd-sysv_255.4-1ubuntu5_armhf.deb ... 2817s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2817s Preparing to unpack .../01-libpam-systemd_255.4-1ubuntu5_armhf.deb ... 2817s Unpacking libpam-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2817s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_armhf.deb ... 2817s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2818s Preparing to unpack .../03-libapparmor1_4.0.0~beta2-0ubuntu3_armhf.deb ... 2818s Unpacking libapparmor1:armhf (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 2818s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_armhf.deb ... 2818s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2818s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 2818s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2818s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_armhf.deb ... 2818s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2818s Preparing to unpack .../07-dbus-daemon_1.14.10-4ubuntu2_armhf.deb ... 2818s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2819s Preparing to unpack .../08-libdbus-1-3_1.14.10-4ubuntu2_armhf.deb ... 2819s Unpacking libdbus-1-3:armhf (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2819s Preparing to unpack .../09-systemd-resolved_255.4-1ubuntu5_armhf.deb ... 2819s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2819s Preparing to unpack .../10-libblkid1_2.39.3-9ubuntu2_armhf.deb ... 2819s Unpacking libblkid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2819s Setting up libblkid1:armhf (2.39.3-9ubuntu2) ... 2820s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58616 files and directories currently installed.) 2820s Preparing to unpack .../kmod_31+20240202-2ubuntu4_armhf.deb ... 2820s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 2820s dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty 2820s Preparing to unpack .../libkmod2_31+20240202-2ubuntu4_armhf.deb ... 2820s Unpacking libkmod2:armhf (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 2820s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_armhf.deb ... 2820s Unpacking libmount1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2820s Setting up libmount1:armhf (2.39.3-9ubuntu2) ... 2820s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 2820s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_armhf.deb ... 2820s Unpacking libseccomp2:armhf (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 2820s Setting up libseccomp2:armhf (2.5.5-1ubuntu2) ... 2821s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 2821s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu6_armhf.deb ... 2821s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 2821s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 2821s Removing udisks2 (2.10.1-1ubuntu2) ... 2822s dpkg: libglib2.0-0:armhf: dependency problems, but removing anyway as you requested: 2822s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 2822s python3-gi depends on libglib2.0-0 (>= 2.77.0). 2822s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 2822s netplan.io depends on libglib2.0-0 (>= 2.70.0). 2822s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 2822s libxmlb2:armhf depends on libglib2.0-0 (>= 2.54.0). 2822s libvolume-key1:armhf depends on libglib2.0-0 (>= 2.18.0). 2822s libudisks2-0:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libqrtr-glib0:armhf depends on libglib2.0-0 (>= 2.56). 2822s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 2822s libqmi-glib5:armhf depends on libglib2.0-0 (>= 2.54.0). 2822s libpolkit-gobject-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 2822s libpolkit-agent-1-0:armhf depends on libglib2.0-0 (>= 2.38.0). 2822s libnetplan0:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libmm-glib0:armhf depends on libglib2.0-0 (>= 2.62.0). 2822s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 2822s libmbim-glib4:armhf depends on libglib2.0-0 (>= 2.56). 2822s libjson-glib-1.0-0:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libjcat1:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libgusb2:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libgudev-1.0-0:armhf depends on libglib2.0-0 (>= 2.38.0). 2822s libgirepository-1.0-1:armhf depends on libglib2.0-0 (>= 2.79.0). 2822s libfwupd2:armhf depends on libglib2.0-0 (>= 2.79.0). 2822s libblockdev3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-utils3:armhf depends on libglib2.0-0 (>= 2.75.3). 2822s libblockdev-swap3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-part3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-nvme3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-mdraid3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-loop3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-fs3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s libblockdev-crypto3:armhf depends on libglib2.0-0 (>= 2.42.2). 2822s gir1.2-glib-2.0:armhf depends on libglib2.0-0 (= 2.79.2-1~ubuntu1). 2822s fwupd depends on libglib2.0-0 (>= 2.79.0). 2822s bolt depends on libglib2.0-0 (>= 2.56.0). 2822s 2822s Removing libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 2822s Selecting previously unselected package libglib2.0-0t64:armhf. 2822s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58563 files and directories currently installed.) 2822s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_armhf.deb ... 2822s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:armhf.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 2822s removed '/var/lib/dpkg/info/libglib2.0-0:armhf.postrm' 2822s Unpacking libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 2822s Preparing to unpack .../libvolume-key1_0.3.12-7build1_armhf.deb ... 2822s Unpacking libvolume-key1:armhf (0.3.12-7build1) over (0.3.12-5build2) ... 2823s dpkg: libgpgme11:armhf: dependency problems, but removing anyway as you requested: 2823s libjcat1:armhf depends on libgpgme11 (>= 1.2.0). 2823s 2823s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58588 files and directories currently installed.) 2823s Removing libgpgme11:armhf (1.18.0-4ubuntu1) ... 2823s Selecting previously unselected package libgpgme11t64:armhf. 2823s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58582 files and directories currently installed.) 2823s Preparing to unpack .../libgpgme11t64_1.18.0-4.1ubuntu3_armhf.deb ... 2823s Unpacking libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 2823s Preparing to unpack .../libjcat1_0.2.0-2build2_armhf.deb ... 2823s Unpacking libjcat1:armhf (0.2.0-2build2) over (0.2.0-2) ... 2823s dpkg: libarchive13:armhf: dependency problems, but removing anyway as you requested: 2823s fwupd depends on libarchive13 (>= 3.2.1). 2823s 2823s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58589 files and directories currently installed.) 2823s Removing libarchive13:armhf (3.7.2-1ubuntu2) ... 2824s Selecting previously unselected package libarchive13t64:armhf. 2824s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58583 files and directories currently installed.) 2824s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu1_armhf.deb ... 2824s Unpacking libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 2824s Preparing to unpack .../fwupd_1.9.15-1_armhf.deb ... 2825s Unpacking fwupd (1.9.15-1) over (1.9.14-1) ... 2826s Preparing to unpack .../ubuntu-pro-client-l10n_31.2_armhf.deb ... 2826s Unpacking ubuntu-pro-client-l10n (31.2) over (31.1) ... 2826s Preparing to unpack .../ubuntu-pro-client_31.2_armhf.deb ... 2827s Unpacking ubuntu-pro-client (31.2) over (31.1) ... 2828s dpkg: libparted2:armhf: dependency problems, but removing anyway as you requested: 2828s parted depends on libparted2 (= 3.6-3). 2828s 2828s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58590 files and directories currently installed.) 2828s Removing libparted2:armhf (3.6-3) ... 2828s Selecting previously unselected package libparted2t64:armhf. 2828s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58584 files and directories currently installed.) 2828s Preparing to unpack .../libparted2t64_3.6-3.1build2_armhf.deb ... 2828s Unpacking libparted2t64:armhf (3.6-3.1build2) ... 2829s Preparing to unpack .../parted_3.6-3.1build2_armhf.deb ... 2829s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 2829s Preparing to unpack .../keyboxd_2.4.4-2ubuntu15_armhf.deb ... 2829s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2829s dpkg: libnpth0:armhf: dependency problems, but removing anyway as you requested: 2829s gpgv depends on libnpth0 (>= 0.90). 2829s gpgsm depends on libnpth0 (>= 0.90). 2829s gpg-agent depends on libnpth0 (>= 0.90). 2829s gpg depends on libnpth0 (>= 0.90). 2829s dirmngr depends on libnpth0 (>= 0.90). 2829s 2829s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58591 files and directories currently installed.) 2829s Removing libnpth0:armhf (1.6-3build2) ... 2830s Selecting previously unselected package libnpth0t64:armhf. 2830s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58586 files and directories currently installed.) 2830s Preparing to unpack .../libnpth0t64_1.6-3.1_armhf.deb ... 2830s Unpacking libnpth0t64:armhf (1.6-3.1) ... 2830s Setting up libnpth0t64:armhf (1.6-3.1) ... 2830s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 2830s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_armhf.deb ... 2830s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2830s Setting up gpgv (2.4.4-2ubuntu15) ... 2831s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 2831s Preparing to unpack .../gpg_2.4.4-2ubuntu15_armhf.deb ... 2831s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2831s Preparing to unpack .../gpg-wks-client_2.4.4-2ubuntu15_armhf.deb ... 2831s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2831s Preparing to unpack .../gnupg-utils_2.4.4-2ubuntu15_armhf.deb ... 2831s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2831s Preparing to unpack .../gpg-agent_2.4.4-2ubuntu15_armhf.deb ... 2831s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2831s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_armhf.deb ... 2831s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2832s dpkg: libreadline8:armhf: dependency problems, but removing anyway as you requested: 2832s gpgconf depends on libreadline8 (>= 6.0). 2832s gawk depends on libreadline8 (>= 6.0). 2832s fdisk depends on libreadline8 (>= 6.0). 2832s 2832s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 2832s Removing libreadline8:armhf (8.2-3) ... 2832s Selecting previously unselected package libreadline8t64:armhf. 2832s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58580 files and directories currently installed.) 2832s Preparing to unpack .../libreadline8t64_8.2-3.1_armhf.deb ... 2832s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 2832s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 2832s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 2832s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 2832s Unpacking libreadline8t64:armhf (8.2-3.1) ... 2833s Setting up libreadline8t64:armhf (8.2-3.1) ... 2833s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 2833s Preparing to unpack .../0-gawk_1%3a5.2.1-2build2_armhf.deb ... 2833s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 2833s Preparing to unpack .../1-fdisk_2.39.3-9ubuntu2_armhf.deb ... 2833s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2833s Preparing to unpack .../2-gpgconf_2.4.4-2ubuntu15_armhf.deb ... 2834s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2834s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_armhf.deb ... 2834s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2835s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 2835s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2835s Preparing to unpack .../5-python3-apt_2.7.6build1_armhf.deb ... 2835s Unpacking python3-apt (2.7.6build1) over (2.7.6) ... 2836s Preparing to unpack .../6-apt-utils_2.7.13ubuntu1_armhf.deb ... 2836s Unpacking apt-utils (2.7.13ubuntu1) over (2.7.12) ... 2836s dpkg: libapt-pkg6.0:armhf: dependency problems, but removing anyway as you requested: 2836s apt depends on libapt-pkg6.0 (>= 2.7.12). 2836s 2836s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58598 files and directories currently installed.) 2836s Removing libapt-pkg6.0:armhf (2.7.12) ... 2836s dpkg: libnettle8:armhf: dependency problems, but removing anyway as you requested: 2836s libhogweed6:armhf depends on libnettle8. 2836s libgnutls30:armhf depends on libnettle8 (>= 3.9~). 2836s libcurl3-gnutls:armhf depends on libnettle8. 2836s 2836s Removing libnettle8:armhf (3.9.1-2) ... 2836s Selecting previously unselected package libapt-pkg6.0t64:armhf. 2837s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58542 files and directories currently installed.) 2837s Preparing to unpack .../libapt-pkg6.0t64_2.7.13ubuntu1_armhf.deb ... 2837s Unpacking libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 2837s Setting up libapt-pkg6.0t64:armhf (2.7.13ubuntu1) ... 2837s Selecting previously unselected package libnettle8t64:armhf. 2837s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 2837s Preparing to unpack .../libnettle8t64_3.9.1-2.2_armhf.deb ... 2837s Unpacking libnettle8t64:armhf (3.9.1-2.2) ... 2838s Setting up libnettle8t64:armhf (3.9.1-2.2) ... 2838s dpkg: libhogweed6:armhf: dependency problems, but removing anyway as you requested: 2838s libgnutls30:armhf depends on libhogweed6 (>= 3.6). 2838s 2838s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58600 files and directories currently installed.) 2838s Removing libhogweed6:armhf (3.9.1-2) ... 2838s Selecting previously unselected package libhogweed6t64:armhf. 2838s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58595 files and directories currently installed.) 2838s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_armhf.deb ... 2838s Unpacking libhogweed6t64:armhf (3.9.1-2.2) ... 2838s Setting up libhogweed6t64:armhf (3.9.1-2.2) ... 2838s dpkg: libgnutls30:armhf: dependency problems, but removing anyway as you requested: 2838s libcurl3-gnutls:armhf depends on libgnutls30 (>= 3.8.2). 2838s apt depends on libgnutls30 (>= 3.8.1). 2838s 2838s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58601 files and directories currently installed.) 2838s Removing libgnutls30:armhf (3.8.3-1ubuntu1) ... 2839s Selecting previously unselected package libgnutls30t64:armhf. 2839s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58592 files and directories currently installed.) 2839s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_armhf.deb ... 2839s Unpacking libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 2839s Setting up libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 2840s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2840s Preparing to unpack .../apt_2.7.13ubuntu1_armhf.deb ... 2840s Unpacking apt (2.7.13ubuntu1) over (2.7.12) ... 2841s Setting up apt (2.7.13ubuntu1) ... 2844s dpkg: libcurl3-gnutls:armhf: dependency problems, but removing anyway as you requested: 2844s libfwupd2:armhf depends on libcurl3-gnutls (>= 7.63.0). 2844s 2844s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2844s Removing libcurl3-gnutls:armhf (8.5.0-2ubuntu2) ... 2844s Selecting previously unselected package libcurl3t64-gnutls:armhf. 2845s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58613 files and directories currently installed.) 2845s Preparing to unpack .../libcurl3t64-gnutls_8.5.0-2ubuntu7_armhf.deb ... 2845s Unpacking libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 2846s Preparing to unpack .../libfwupd2_1.9.15-1_armhf.deb ... 2846s Unpacking libfwupd2:armhf (1.9.15-1) over (1.9.14-1) ... 2846s dpkg: libpsl5:armhf: dependency problems, but removing anyway as you requested: 2846s wget depends on libpsl5 (>= 0.16.0). 2846s libcurl4:armhf depends on libpsl5 (>= 0.16.0). 2846s 2846s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58620 files and directories currently installed.) 2846s Removing libpsl5:armhf (0.21.2-1build1) ... 2846s Selecting previously unselected package libpsl5t64:armhf. 2846s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58615 files and directories currently installed.) 2846s Preparing to unpack .../libpsl5t64_0.21.2-1.1_armhf.deb ... 2846s Unpacking libpsl5t64:armhf (0.21.2-1.1) ... 2847s Preparing to unpack .../wget_1.21.4-1ubuntu2_armhf.deb ... 2847s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 2847s Preparing to unpack .../tnftp_20230507-2build1_armhf.deb ... 2847s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 2847s dpkg: libpcap0.8:armhf: dependency problems, but removing anyway as you requested: 2847s tcpdump depends on libpcap0.8 (>= 1.9.1). 2847s 2848s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58621 files and directories currently installed.) 2848s Removing libpcap0.8:armhf (1.10.4-4ubuntu3) ... 2848s Selecting previously unselected package libpcap0.8t64:armhf. 2848s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58610 files and directories currently installed.) 2848s Preparing to unpack .../0-libpcap0.8t64_1.10.4-4.1ubuntu1_armhf.deb ... 2848s Unpacking libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 2848s Preparing to unpack .../1-tcpdump_4.99.4-3ubuntu2_armhf.deb ... 2848s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 2849s Preparing to unpack .../2-sudo_1.9.15p5-3ubuntu2_armhf.deb ... 2849s Unpacking sudo (1.9.15p5-3ubuntu2) over (1.9.15p5-3ubuntu1) ... 2850s Preparing to unpack .../3-rsync_3.2.7-1build1_armhf.deb ... 2850s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 2850s Preparing to unpack .../4-python3-cryptography_41.0.7-4build2_armhf.deb ... 2851s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 2851s Preparing to unpack .../5-openssh-sftp-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 2851s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 2852s Preparing to unpack .../6-openssh-client_1%3a9.6p1-3ubuntu10_armhf.deb ... 2852s Unpacking openssh-client (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 2852s Preparing to unpack .../7-openssh-server_1%3a9.6p1-3ubuntu10_armhf.deb ... 2853s Unpacking openssh-server (1:9.6p1-3ubuntu10) over (1:9.6p1-3ubuntu2) ... 2853s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58622 files and directories currently installed.) 2853s Removing linux-headers-generic (6.8.0-11.11+1) ... 2853s Removing linux-headers-6.8.0-11-generic (6.8.0-11.11) ... 2858s dpkg: libssl3:armhf: dependency problems, but removing anyway as you requested: 2858s systemd depends on libssl3 (>= 3.0.0). 2858s libsystemd-shared:armhf depends on libssl3 (>= 3.0.0). 2858s libssh-4:armhf depends on libssl3 (>= 3.0.0). 2858s libsasl2-modules:armhf depends on libssl3 (>= 3.0.0). 2858s libsasl2-2:armhf depends on libssl3 (>= 3.0.0). 2858s libnvme1 depends on libssl3 (>= 3.0.0). 2858s libkrb5-3:armhf depends on libssl3 (>= 3.0.0). 2858s libfido2-1:armhf depends on libssl3 (>= 3.0.0). 2858s libcurl4:armhf depends on libssl3 (>= 3.0.0). 2858s libcryptsetup12:armhf depends on libssl3 (>= 3.0.0). 2858s dhcpcd-base depends on libssl3 (>= 3.0.0). 2858s bind9-libs:armhf depends on libssl3 (>= 3.0.0). 2858s 2858s Removing libssl3:armhf (3.0.10-1ubuntu4) ... 2858s Selecting previously unselected package libssl3t64:armhf. 2858s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47469 files and directories currently installed.) 2858s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_armhf.deb ... 2858s Unpacking libssl3t64:armhf (3.0.13-0ubuntu1) ... 2859s Setting up libssl3t64:armhf (3.0.13-0ubuntu1) ... 2859s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 2859s Preparing to unpack .../0-systemd-dev_255.4-1ubuntu5_all.deb ... 2859s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2859s Preparing to unpack .../1-systemd_255.4-1ubuntu5_armhf.deb ... 2860s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2862s Preparing to unpack .../2-udev_255.4-1ubuntu5_armhf.deb ... 2862s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2863s Preparing to unpack .../3-libnss-systemd_255.4-1ubuntu5_armhf.deb ... 2863s Unpacking libnss-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2863s Preparing to unpack .../4-libsystemd-shared_255.4-1ubuntu5_armhf.deb ... 2863s Unpacking libsystemd-shared:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2863s Preparing to unpack .../5-libudev1_255.4-1ubuntu5_armhf.deb ... 2863s Unpacking libudev1:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2863s Setting up libudev1:armhf (255.4-1ubuntu5) ... 2864s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 2864s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_armhf.deb ... 2864s Unpacking libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 2864s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_armhf.deb ... 2864s Unpacking libuuid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2864s Setting up libuuid1:armhf (2.39.3-9ubuntu2) ... 2864s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 2864s Preparing to unpack .../libcryptsetup12_2%3a2.7.0-1ubuntu2_armhf.deb ... 2864s Unpacking libcryptsetup12:armhf (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 2865s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_armhf.deb ... 2865s Unpacking libfdisk1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2865s Preparing to unpack .../mount_2.39.3-9ubuntu2_armhf.deb ... 2865s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2865s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_armhf.deb ... 2865s Unpacking libsystemd0:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 2865s Setting up libsystemd0:armhf (255.4-1ubuntu5) ... 2866s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47482 files and directories currently installed.) 2866s Preparing to unpack .../python3-yaml_6.0.1-2build1_armhf.deb ... 2866s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 2866s Preparing to unpack .../pinentry-curses_1.2.1-3ubuntu4_armhf.deb ... 2866s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 2867s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_armhf.deb ... 2867s Unpacking libsmartcols1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2867s Setting up libsmartcols1:armhf (2.39.3-9ubuntu2) ... 2867s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2867s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 2867s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 2867s Preparing to unpack .../python-apt-common_2.7.6build1_all.deb ... 2867s Unpacking python-apt-common (2.7.6build1) over (2.7.6) ... 2868s Preparing to unpack .../python3-setuptools_68.1.2-2ubuntu1_all.deb ... 2868s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 2869s Preparing to unpack .../python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 2870s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 2870s Preparing to unpack .../dpkg_1.22.6ubuntu2_armhf.deb ... 2870s Unpacking dpkg (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 2871s Setting up dpkg (1.22.6ubuntu2) ... 2873s Setting up libpython3.12-minimal:armhf (3.12.2-4build2) ... 2873s Setting up libexpat1:armhf (2.6.1-2) ... 2873s Setting up python3.12-minimal (3.12.2-4build2) ... 2878s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2878s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_armhf.deb ... 2878s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 2878s Setting up python3-minimal (3.12.2-0ubuntu1) ... 2880s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2880s Preparing to unpack .../00-python3_3.12.2-0ubuntu1_armhf.deb ... 2880s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 2881s Preparing to unpack .../01-libpython3-stdlib_3.12.2-0ubuntu1_armhf.deb ... 2881s Unpacking libpython3-stdlib:armhf (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 2881s Preparing to unpack .../02-bsdextrautils_2.39.3-9ubuntu2_armhf.deb ... 2881s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2881s Preparing to unpack .../03-groff-base_1.23.0-3build1_armhf.deb ... 2881s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 2882s Preparing to unpack .../04-libsasl2-2_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 2882s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 2882s Preparing to unpack .../05-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 2882s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 2882s Preparing to unpack .../06-libjson-glib-1.0-0_1.8.0-2build1_armhf.deb ... 2882s Unpacking libjson-glib-1.0-0:armhf (1.8.0-2build1) over (1.8.0-2) ... 2882s Preparing to unpack .../07-libxml2_2.9.14+dfsg-1.3ubuntu2_armhf.deb ... 2882s Unpacking libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 2882s Preparing to unpack .../08-libgudev-1.0-0_1%3a238-3ubuntu2_armhf.deb ... 2882s Unpacking libgudev-1.0-0:armhf (1:238-3ubuntu2) over (1:238-3) ... 2883s Preparing to unpack .../09-libusb-1.0-0_2%3a1.0.27-1_armhf.deb ... 2883s Unpacking libusb-1.0-0:armhf (2:1.0.27-1) over (2:1.0.26-1) ... 2883s Preparing to unpack .../10-libgusb2_0.4.8-1build1_armhf.deb ... 2883s Unpacking libgusb2:armhf (0.4.8-1build1) over (0.4.8-1) ... 2883s Preparing to unpack .../11-libmbim-proxy_1.31.2-0ubuntu2_armhf.deb ... 2883s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 2883s Preparing to unpack .../12-libmbim-glib4_1.31.2-0ubuntu2_armhf.deb ... 2883s Unpacking libmbim-glib4:armhf (1.31.2-0ubuntu2) over (1.30.0-1) ... 2883s Preparing to unpack .../13-libmm-glib0_1.23.4-0ubuntu1_armhf.deb ... 2883s Unpacking libmm-glib0:armhf (1.23.4-0ubuntu1) over (1.22.0-3) ... 2884s Preparing to unpack .../14-libpolkit-agent-1-0_124-1ubuntu1_armhf.deb ... 2884s Unpacking libpolkit-agent-1-0:armhf (124-1ubuntu1) over (124-1) ... 2884s Preparing to unpack .../15-libpolkit-gobject-1-0_124-1ubuntu1_armhf.deb ... 2884s Unpacking libpolkit-gobject-1-0:armhf (124-1ubuntu1) over (124-1) ... 2884s Preparing to unpack .../16-libqmi-proxy_1.35.2-0ubuntu1_armhf.deb ... 2884s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 2884s Preparing to unpack .../17-libqrtr-glib0_1.2.2-1ubuntu3_armhf.deb ... 2884s Unpacking libqrtr-glib0:armhf (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 2884s Preparing to unpack .../18-libqmi-glib5_1.35.2-0ubuntu1_armhf.deb ... 2884s Unpacking libqmi-glib5:armhf (1.35.2-0ubuntu1) over (1.34.0-2) ... 2884s Preparing to unpack .../19-libxmlb2_0.3.15-1build1_armhf.deb ... 2884s Unpacking libxmlb2:armhf (0.3.15-1build1) over (0.3.15-1) ... 2885s Preparing to unpack .../20-shared-mime-info_2.4-1build1_armhf.deb ... 2885s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 2885s Preparing to unpack .../21-libbrotli1_1.1.0-2build1_armhf.deb ... 2885s Unpacking libbrotli1:armhf (1.1.0-2build1) over (1.1.0-2) ... 2885s Preparing to unpack .../22-libgssapi-krb5-2_1.20.1-5.1build3_armhf.deb ... 2885s Unpacking libgssapi-krb5-2:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 2885s Preparing to unpack .../23-libkrb5-3_1.20.1-5.1build3_armhf.deb ... 2885s Unpacking libkrb5-3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 2886s Preparing to unpack .../24-libkrb5support0_1.20.1-5.1build3_armhf.deb ... 2886s Unpacking libkrb5support0:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 2886s Preparing to unpack .../25-libk5crypto3_1.20.1-5.1build3_armhf.deb ... 2886s Unpacking libk5crypto3:armhf (1.20.1-5.1build3) over (1.20.1-5build1) ... 2886s Preparing to unpack .../26-libcom-err2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 2886s Unpacking libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 2886s Preparing to unpack .../27-libnghttp2-14_1.59.0-1build1_armhf.deb ... 2886s Unpacking libnghttp2-14:armhf (1.59.0-1build1) over (1.59.0-1) ... 2886s Preparing to unpack .../28-libssh-4_0.10.6-2build1_armhf.deb ... 2886s Unpacking libssh-4:armhf (0.10.6-2build1) over (0.10.6-2) ... 2887s Preparing to unpack .../29-libibverbs1_50.0-2build1_armhf.deb ... 2887s Unpacking libibverbs1:armhf (50.0-2build1) over (50.0-2) ... 2887s Preparing to unpack .../30-libfido2-1_1.14.0-1build1_armhf.deb ... 2887s Unpacking libfido2-1:armhf (1.14.0-1build1) over (1.14.0-1) ... 2887s Preparing to unpack .../31-coreutils_9.4-3ubuntu3_armhf.deb ... 2887s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 2888s Setting up coreutils (9.4-3ubuntu3) ... 2888s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2889s Preparing to unpack .../debianutils_5.17_armhf.deb ... 2889s Unpacking debianutils (5.17) over (5.16) ... 2889s Setting up debianutils (5.17) ... 2889s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2889s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_armhf.deb ... 2889s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2890s Setting up util-linux (2.39.3-9ubuntu2) ... 2894s fstrim.service is a disabled or a static unit not running, not starting it. 2894s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2894s Preparing to unpack .../libc-bin_2.39-0ubuntu6_armhf.deb ... 2894s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 2895s Setting up libc-bin (2.39-0ubuntu6) ... 2896s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47481 files and directories currently installed.) 2896s Removing libatm1:armhf (1:2.5.1-5) ... 2896s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 2896s Preparing to unpack .../curl_8.5.0-2ubuntu7_armhf.deb ... 2896s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 2897s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 2897s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 2897s Selecting previously unselected package libcurl4t64:armhf. 2897s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 2897s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_armhf.deb ... 2897s Unpacking libcurl4t64:armhf (8.5.0-2ubuntu7) ... 2897s Preparing to unpack .../libbpf1_1%3a1.3.0-2build1_armhf.deb ... 2897s Unpacking libbpf1:armhf (1:1.3.0-2build1) over (1:1.3.0-2) ... 2897s Preparing to unpack .../iproute2_6.1.0-1ubuntu5_armhf.deb ... 2897s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 2898s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 2898s Removing libelf1:armhf (0.190-1) ... 2898s Selecting previously unselected package libelf1t64:armhf. 2898s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47472 files and directories currently installed.) 2898s Preparing to unpack .../libelf1t64_0.190-1.1build2_armhf.deb ... 2898s Unpacking libelf1t64:armhf (0.190-1.1build2) ... 2899s Preparing to unpack .../lsof_4.95.0-1build2_armhf.deb ... 2899s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 2899s Preparing to unpack .../libnsl2_1.3.0-3build2_armhf.deb ... 2899s Unpacking libnsl2:armhf (1.3.0-3build2) over (1.3.0-3) ... 2899s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47477 files and directories currently installed.) 2899s Removing libtirpc3:armhf (1.3.4+ds-1build1) ... 2899s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47471 files and directories currently installed.) 2899s Preparing to unpack .../0-libtirpc-common_1.3.4+ds-1.1_all.deb ... 2899s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 2900s Selecting previously unselected package libtirpc3t64:armhf. 2900s Preparing to unpack .../1-libtirpc3t64_1.3.4+ds-1.1_armhf.deb ... 2900s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' 2900s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 2900s Unpacking libtirpc3t64:armhf (1.3.4+ds-1.1) ... 2900s Preparing to unpack .../2-libblockdev-utils3_3.1.0-1build1_armhf.deb ... 2900s Unpacking libblockdev-utils3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2900s Preparing to unpack .../3-libblockdev-fs3_3.1.0-1build1_armhf.deb ... 2900s Unpacking libblockdev-fs3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2900s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 2900s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 2900s Preparing to unpack .../5-initramfs-tools_0.142ubuntu22_all.deb ... 2901s Unpacking initramfs-tools (0.142ubuntu22) over (0.142ubuntu20) ... 2901s Preparing to unpack .../6-initramfs-tools-core_0.142ubuntu22_all.deb ... 2901s Unpacking initramfs-tools-core (0.142ubuntu22) over (0.142ubuntu20) ... 2901s Preparing to unpack .../7-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 2901s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 2901s dpkg: libext2fs2:armhf: dependency problems, but removing anyway as you requested: 2901s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 2901s btrfs-progs depends on libext2fs2 (>= 1.42). 2901s 2902s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 2902s Removing libext2fs2:armhf (1.47.0-2ubuntu1) ... 2902s Selecting previously unselected package libext2fs2t64:armhf. 2902s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47476 files and directories currently installed.) 2902s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 2902s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 2902s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 2902s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 2902s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 2902s Unpacking libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 2902s Setting up libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) ... 2902s Setting up libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 2903s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 2903s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 2903s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 2903s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_armhf.deb ... 2903s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 2904s Preparing to unpack .../dhcpcd-base_1%3a10.0.6-1ubuntu2_armhf.deb ... 2904s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 2904s Preparing to unpack .../initramfs-tools-bin_0.142ubuntu22_armhf.deb ... 2904s Unpacking initramfs-tools-bin (0.142ubuntu22) over (0.142ubuntu20) ... 2904s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 2904s Removing libreiserfscore0 (1:3.6.27-7) ... 2904s Selecting previously unselected package libreiserfscore0t64. 2904s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 2904s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_armhf.deb ... 2904s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 2904s Preparing to unpack .../file_1%3a5.45-3_armhf.deb ... 2904s Unpacking file (1:5.45-3) over (1:5.45-2) ... 2905s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47493 files and directories currently installed.) 2905s Removing libmagic1:armhf (1:5.45-2) ... 2905s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47483 files and directories currently installed.) 2905s Preparing to unpack .../0-libmagic-mgc_1%3a5.45-3_armhf.deb ... 2905s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 2905s Selecting previously unselected package libmagic1t64:armhf. 2906s Preparing to unpack .../1-libmagic1t64_1%3a5.45-3_armhf.deb ... 2906s Unpacking libmagic1t64:armhf (1:5.45-3) ... 2906s Selecting previously unselected package libnetplan1:armhf. 2906s Preparing to unpack .../2-libnetplan1_1.0-1_armhf.deb ... 2906s Unpacking libnetplan1:armhf (1.0-1) ... 2906s Preparing to unpack .../3-python3-netplan_1.0-1_armhf.deb ... 2906s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 2906s Preparing to unpack .../4-netplan-generator_1.0-1_armhf.deb ... 2906s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 2906s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 2906s Preparing to unpack .../5-python3-dbus_1.3.2-5build2_armhf.deb ... 2907s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 2907s Preparing to unpack .../6-netplan.io_1.0-1_armhf.deb ... 2907s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 2908s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47498 files and directories currently installed.) 2908s Removing libnetplan0:armhf (0.107.1-3) ... 2908s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 2908s Preparing to unpack .../libblockdev-nvme3_3.1.0-1build1_armhf.deb ... 2908s Unpacking libblockdev-nvme3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2908s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47494 files and directories currently installed.) 2908s Removing libnvme1 (1.8-2) ... 2908s Selecting previously unselected package libnvme1t64. 2908s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47487 files and directories currently installed.) 2908s Preparing to unpack .../libnvme1t64_1.8-3_armhf.deb ... 2908s Unpacking libnvme1t64 (1.8-3) ... 2909s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu4_armhf.deb ... 2909s Unpacking libplymouth5:armhf (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 2909s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47495 files and directories currently installed.) 2909s Removing libpng16-16:armhf (1.6.43-1) ... 2909s Selecting previously unselected package libpng16-16t64:armhf. 2909s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47485 files and directories currently installed.) 2909s Preparing to unpack .../libpng16-16t64_1.6.43-3_armhf.deb ... 2909s Unpacking libpng16-16t64:armhf (1.6.43-3) ... 2910s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47496 files and directories currently installed.) 2910s Removing libudisks2-0:armhf (2.10.1-1ubuntu2) ... 2910s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 2910s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_armhf.deb ... 2910s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 2910s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_armhf.deb ... 2910s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 2910s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_armhf.deb ... 2910s Unpacking bind9-libs:armhf (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 2911s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47491 files and directories currently installed.) 2911s Removing libuv1:armhf (1.48.0-1) ... 2911s Selecting previously unselected package libuv1t64:armhf. 2911s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47486 files and directories currently installed.) 2911s Preparing to unpack .../libuv1t64_1.48.0-1.1_armhf.deb ... 2911s Unpacking libuv1t64:armhf (1.48.0-1.1) ... 2911s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47492 files and directories currently installed.) 2911s Removing python3-distutils (3.11.5-1) ... 2911s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 2911s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_armhf.deb ... 2911s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2912s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_armhf.deb ... 2912s Unpacking libdebconfclient0:armhf (0.271ubuntu2) over (0.271ubuntu1) ... 2912s Setting up libdebconfclient0:armhf (0.271ubuntu2) ... 2912s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 2912s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 2912s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 2912s Setting up libsemanage-common (3.5-1build4) ... 2913s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 2913s Preparing to unpack .../libsemanage2_3.5-1build4_armhf.deb ... 2913s Unpacking libsemanage2:armhf (3.5-1build4) over (3.5-1build2) ... 2913s Setting up libsemanage2:armhf (3.5-1build4) ... 2913s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 2913s Preparing to unpack .../install-info_7.1-3build1_armhf.deb ... 2913s Unpacking install-info (7.1-3build1) over (7.1-3) ... 2914s Setting up install-info (7.1-3build1) ... 2915s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47437 files and directories currently installed.) 2915s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_armhf.deb ... 2915s Unpacking gcc-13-base:armhf (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 2915s Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 2915s Unpacking libss2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 2915s Preparing to unpack .../02-dmsetup_2%3a1.02.185-3ubuntu2_armhf.deb ... 2915s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 2915s Preparing to unpack .../03-eject_2.39.3-9ubuntu2_armhf.deb ... 2915s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 2915s Preparing to unpack .../04-gir1.2-girepository-2.0_1.79.1-1ubuntu6_armhf.deb ... 2915s Unpacking gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 2916s Preparing to unpack .../05-gir1.2-glib-2.0_2.79.3-3ubuntu5_armhf.deb ... 2916s Unpacking gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 2916s Preparing to unpack .../06-libgirepository-1.0-1_1.79.1-1ubuntu6_armhf.deb ... 2916s Unpacking libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 2916s Preparing to unpack .../07-krb5-locales_1.20.1-5.1build3_all.deb ... 2916s Unpacking krb5-locales (1.20.1-5.1build3) over (1.20.1-5build1) ... 2916s Preparing to unpack .../08-libbsd0_0.12.1-1_armhf.deb ... 2916s Unpacking libbsd0:armhf (0.12.1-1) over (0.11.8-1) ... 2916s Preparing to unpack .../09-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 2916s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 2916s Preparing to unpack .../10-libslang2_2.3.3-3build1_armhf.deb ... 2916s Unpacking libslang2:armhf (2.3.3-3build1) over (2.3.3-3) ... 2917s Preparing to unpack .../11-locales_2.39-0ubuntu6_all.deb ... 2917s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 2918s Preparing to unpack .../12-python3-gi_3.47.0-3build1_armhf.deb ... 2919s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 2919s Preparing to unpack .../13-vim-tiny_2%3a9.1.0016-1ubuntu5_armhf.deb ... 2919s Unpacking vim-tiny (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 2919s Preparing to unpack .../14-vim-common_2%3a9.1.0016-1ubuntu5_all.deb ... 2919s Unpacking vim-common (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 2919s Selecting previously unselected package xdg-user-dirs. 2919s Preparing to unpack .../15-xdg-user-dirs_0.18-1_armhf.deb ... 2919s Unpacking xdg-user-dirs (0.18-1) ... 2920s Preparing to unpack .../16-xxd_2%3a9.1.0016-1ubuntu5_armhf.deb ... 2920s Unpacking xxd (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 2920s Preparing to unpack .../17-apparmor_4.0.0~beta2-0ubuntu3_armhf.deb ... 2923s Unpacking apparmor (4.0.0~beta2-0ubuntu3) over (4.0.0~alpha4-0ubuntu1) ... 2924s Preparing to unpack .../18-ftp_20230507-2build1_all.deb ... 2924s Unpacking ftp (20230507-2build1) over (20230507-2) ... 2925s Preparing to unpack .../19-inetutils-telnet_2%3a2.5-3ubuntu3_armhf.deb ... 2925s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 2925s Preparing to unpack .../20-info_7.1-3build1_armhf.deb ... 2925s Unpacking info (7.1-3build1) over (7.1-3) ... 2925s Preparing to unpack .../21-libxmuu1_2%3a1.1.3-3build1_armhf.deb ... 2925s Unpacking libxmuu1:armhf (2:1.1.3-3build1) over (2:1.1.3-3) ... 2925s Preparing to unpack .../22-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_armhf.deb ... 2925s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 2925s Preparing to unpack .../23-mtr-tiny_0.95-1.1build1_armhf.deb ... 2925s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 2926s Preparing to unpack .../24-plymouth-theme-ubuntu-text_24.004.60-1ubuntu4_armhf.deb ... 2926s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 2926s Preparing to unpack .../25-plymouth_24.004.60-1ubuntu4_armhf.deb ... 2927s Unpacking plymouth (24.004.60-1ubuntu4) over (24.004.60-1ubuntu3) ... 2927s Preparing to unpack .../26-psmisc_23.7-1_armhf.deb ... 2927s Unpacking psmisc (23.7-1) over (23.6-2) ... 2927s Preparing to unpack .../27-telnet_0.17+2.5-3ubuntu3_all.deb ... 2927s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 2927s Preparing to unpack .../28-xz-utils_5.6.0-0.2_armhf.deb ... 2927s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 2928s Preparing to unpack .../29-bolt_0.9.6-2build1_armhf.deb ... 2928s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 2928s Preparing to unpack .../30-cryptsetup-bin_2%3a2.7.0-1ubuntu2_armhf.deb ... 2928s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 2928s Preparing to unpack .../31-dpkg-dev_1.22.6ubuntu2_all.deb ... 2928s Unpacking dpkg-dev (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 2929s Preparing to unpack .../32-libdpkg-perl_1.22.6ubuntu2_all.deb ... 2929s Unpacking libdpkg-perl (1.22.6ubuntu2) over (1.22.4ubuntu5) ... 2930s Preparing to unpack .../33-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 2930s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 2930s Preparing to unpack .../34-ibverbs-providers_50.0-2build1_armhf.deb ... 2930s Unpacking ibverbs-providers:armhf (50.0-2build1) over (50.0-2) ... 2931s Preparing to unpack .../35-jq_1.7.1-3_armhf.deb ... 2931s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 2931s Preparing to unpack .../36-libjq1_1.7.1-3_armhf.deb ... 2931s Unpacking libjq1:armhf (1.7.1-3) over (1.7.1-2) ... 2931s Selecting previously unselected package libatm1t64:armhf. 2931s Preparing to unpack .../37-libatm1t64_1%3a2.5.1-5.1_armhf.deb ... 2931s Unpacking libatm1t64:armhf (1:2.5.1-5.1) ... 2931s Preparing to unpack .../38-libblockdev-crypto3_3.1.0-1build1_armhf.deb ... 2931s Unpacking libblockdev-crypto3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../39-libblockdev-loop3_3.1.0-1build1_armhf.deb ... 2932s Unpacking libblockdev-loop3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../40-libblockdev-mdraid3_3.1.0-1build1_armhf.deb ... 2932s Unpacking libblockdev-mdraid3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../41-libblockdev-part3_3.1.0-1build1_armhf.deb ... 2932s Unpacking libblockdev-part3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../42-libblockdev-swap3_3.1.0-1build1_armhf.deb ... 2932s Unpacking libblockdev-swap3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../43-libblockdev3_3.1.0-1build1_armhf.deb ... 2932s Unpacking libblockdev3:armhf (3.1.0-1build1) over (3.1.0-1) ... 2932s Preparing to unpack .../44-libevent-core-2.1-7_2.1.12-stable-9build1_armhf.deb ... 2932s Unpacking libevent-core-2.1-7:armhf (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 2933s Preparing to unpack .../45-libftdi1-2_1.5-6build4_armhf.deb ... 2933s Unpacking libftdi1-2:armhf (1.5-6build4) over (1.5-6build3) ... 2933s Preparing to unpack .../46-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 2933s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 2933s Preparing to unpack .../47-libsasl2-modules_2.1.28+dfsg1-4ubuntu4_armhf.deb ... 2933s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) over (2.1.28+dfsg1-4) ... 2933s Preparing to unpack .../48-python3-lib2to3_3.12.2-3ubuntu2_all.deb ... 2934s Unpacking python3-lib2to3 (3.12.2-3ubuntu2) over (3.11.5-1) ... 2934s Preparing to unpack .../49-python3-markupsafe_2.1.5-1build1_armhf.deb ... 2934s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 2935s Preparing to unpack .../50-python3-openssl_24.0.0-2_all.deb ... 2935s Unpacking python3-openssl (24.0.0-2) over (23.2.0-1) ... 2935s Preparing to unpack .../51-python3-pyrsistent_0.20.0-1build1_armhf.deb ... 2936s Unpacking python3-pyrsistent:armhf (0.20.0-1build1) over (0.20.0-1) ... 2936s Preparing to unpack .../52-python3-typing-extensions_4.10.0-1_all.deb ... 2937s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 2937s Preparing to unpack .../53-kpartx_0.9.4-5ubuntu4_armhf.deb ... 2937s Unpacking kpartx (0.9.4-5ubuntu4) over (0.9.4-5ubuntu3) ... 2937s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 2937s Setting up libtext-iconv-perl:armhf (1.7-8build2) ... 2937s Setting up libtext-charwidth-perl:armhf (0.04-11build2) ... 2937s Setting up libibverbs1:armhf (50.0-2build1) ... 2937s Setting up libapparmor1:armhf (4.0.0~beta2-0ubuntu3) ... 2937s Setting up libatm1t64:armhf (1:2.5.1-5.1) ... 2937s Setting up libgdbm6t64:armhf (1.23-5.1) ... 2937s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 2937s Setting up libgdbm-compat4t64:armhf (1.23-5.1) ... 2937s Setting up xdg-user-dirs (0.18-1) ... 2937s Setting up ibverbs-providers:armhf (50.0-2build1) ... 2938s Setting up libmagic-mgc (1:5.45-3) ... 2938s Setting up gawk (1:5.2.1-2build2) ... 2938s Setting up psmisc (23.7-1) ... 2938s Setting up libjq1:armhf (1.7.1-3) ... 2938s Setting up libtirpc-common (1.3.4+ds-1.1) ... 2938s Setting up libbrotli1:armhf (1.1.0-2build1) ... 2938s Setting up libsqlite3-0:armhf (3.45.1-1ubuntu1) ... 2938s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-4ubuntu4) ... 2938s Setting up libuv1t64:armhf (1.48.0-1.1) ... 2938s Setting up libmagic1t64:armhf (1:5.45-3) ... 2938s Setting up libpsl5t64:armhf (0.21.2-1.1) ... 2938s Setting up libnghttp2-14:armhf (1.59.0-1build1) ... 2938s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 2938s Setting up systemd-dev (255.4-1ubuntu5) ... 2938s Setting up krb5-locales (1.20.1-5.1build3) ... 2938s Setting up file (1:5.45-3) ... 2938s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 2938s Setting up locales (2.39-0ubuntu6) ... 2944s Generating locales (this might take a while)... 2953s en_US.UTF-8... done 2953s Generation complete. 2953s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 2953s Setting up xxd (2:9.1.0016-1ubuntu5) ... 2953s Setting up libelf1t64:armhf (0.190-1.1build2) ... 2953s Setting up libkrb5support0:armhf (1.20.1-5.1build3) ... 2953s Setting up eject (2.39.3-9ubuntu2) ... 2953s Setting up apparmor (4.0.0~beta2-0ubuntu3) ... 2953s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 2953s Installing new version of config file /etc/apparmor.d/code ... 2954s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2954s 2954s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2954s 2954s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2954s 2959s sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory 2959s Reloading AppArmor profiles 2959s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2959s 2959s Error: At least one profile failed to load 2960s Setting up libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 2960s No schema files found: doing nothing. 2960s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 2960s Setting up vim-common (2:9.1.0016-1ubuntu5) ... 2960s Setting up gcc-13-base:armhf (13.2.0-19ubuntu1) ... 2960s Setting up libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 2960s Setting up libslang2:armhf (2.3.3-3build1) ... 2960s Setting up libnvme1t64 (1.8-3) ... 2960s Setting up mtr-tiny (0.95-1.1build1) ... 2960s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 2960s Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) ... 2960s Setting up libdbus-1-3:armhf (1.14.10-4ubuntu2) ... 2960s Setting up xz-utils (5.6.0-0.2) ... 2960s Setting up perl-modules-5.38 (5.38.2-3.2) ... 2960s Setting up libpng16-16t64:armhf (1.6.43-3) ... 2960s Setting up libevent-core-2.1-7:armhf (2.1.12-stable-9build1) ... 2960s Setting up libss2:armhf (1.47.0-2.4~exp1ubuntu2) ... 2960s Setting up sudo (1.9.15p5-3ubuntu2) ... 2960s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 2960s Setting up gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 2960s Setting up libk5crypto3:armhf (1.20.1-5.1build3) ... 2960s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 2960s Setting up libfdisk1:armhf (2.39.3-9ubuntu2) ... 2960s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-5build1) ... 2960s Setting up libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) ... 2960s Setting up python-apt-common (2.7.6build1) ... 2960s Setting up mount (2.39.3-9ubuntu2) ... 2960s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 2960s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 2963s uuidd.service is a disabled or a static unit not running, not starting it. 2963s Setting up libmm-glib0:armhf (1.23.4-0ubuntu1) ... 2963s Setting up groff-base (1.23.0-3build1) ... 2963s Setting up libplymouth5:armhf (24.004.60-1ubuntu4) ... 2963s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 2963s Setting up jq (1.7.1-3) ... 2963s Setting up gpgconf (2.4.4-2ubuntu15) ... 2963s Setting up libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 2963s Setting up libcryptsetup12:armhf (2:2.7.0-1ubuntu2) ... 2964s Setting up libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 2964s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 2964s Setting up libkrb5-3:armhf (1.20.1-5.1build3) ... 2964s Setting up libpython3.11-minimal:armhf (3.11.8-1build3) ... 2964s Setting up libusb-1.0-0:armhf (2:1.0.27-1) ... 2964s Setting up libperl5.38t64:armhf (5.38.2-3.2) ... 2964s Setting up tnftp (20230507-2build1) ... 2964s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 2964s Setting up libfido2-1:armhf (1.14.0-1build1) ... 2964s Setting up openssl (3.0.13-0ubuntu1) ... 2964s Setting up libbsd0:armhf (0.12.1-1) ... 2964s Setting up readline-common (8.2-3.1) ... 2964s Setting up libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) ... 2964s Setting up libxmuu1:armhf (2:1.1.3-3build1) ... 2964s Setting up dbus-bin (1.14.10-4ubuntu2) ... 2964s Setting up info (7.1-3build1) ... 2964s Setting up liblocale-gettext-perl (1.07-6ubuntu3) ... 2964s Setting up gpg (2.4.4-2ubuntu15) ... 2964s Setting up libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 2964s Setting up libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 2964s Setting up libbpf1:armhf (1:1.3.0-2build1) ... 2964s Setting up libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 2964s Setting up rsync (3.2.7-1build1) ... 2967s rsync.service is a disabled or a static unit not running, not starting it. 2967s Setting up libkmod2:armhf (31+20240202-2ubuntu4) ... 2967s Setting up bolt (0.9.6-2build1) ... 2969s bolt.service is a disabled or a static unit not running, not starting it. 2969s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 2969s Setting up initramfs-tools-bin (0.142ubuntu22) ... 2969s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 2969s Setting up python3.11-minimal (3.11.8-1build3) ... 2972s Setting up tcpdump (4.99.4-3ubuntu2) ... 2973s apparmor_parser: Unable to replace "tcpdump". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2973s 2973s Setting up apt-utils (2.7.13ubuntu1) ... 2973s Setting up gpg-agent (2.4.4-2ubuntu15) ... 2975s Setting up libpython3.12-stdlib:armhf (3.12.2-4build2) ... 2975s Setting up wget (1.21.4-1ubuntu2) ... 2975s Setting up libxmlb2:armhf (0.3.15-1build1) ... 2975s Setting up btrfs-progs (6.6.3-1.1build1) ... 2975s Setting up libpython3.11-stdlib:armhf (3.11.8-1build3) ... 2975s Setting up python3.12 (3.12.2-4build2) ... 2980s Setting up gpgsm (2.4.4-2ubuntu15) ... 2980s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 2980s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 2980s update-initramfs: deferring update (trigger activated) 2981s e2scrub_all.service is a disabled or a static unit not running, not starting it. 2982s Setting up libparted2t64:armhf (3.6-3.1build2) ... 2982s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 2982s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 2982s Setting up vim-tiny (2:9.1.0016-1ubuntu5) ... 2982s Setting up kmod (31+20240202-2ubuntu4) ... 2983s Setting up libnetplan1:armhf (1.0-1) ... 2983s Setting up man-db (2.12.0-3build4) ... 2983s Updating database of manual pages ... 2989s apparmor_parser: Unable to replace "/usr/bin/man". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2989s 2990s man-db.service is a disabled or a static unit not running, not starting it. 2990s Setting up fdisk (2.39.3-9ubuntu2) ... 2990s Setting up libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 2990s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-4ubuntu4) ... 2990s Setting up libftdi1-2:armhf (1.5-6build4) ... 2990s Setting up perl (5.38.2-3.2) ... 2990s Setting up gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 2990s Setting up dbus (1.14.10-4ubuntu2) ... 2990s A reboot is required to replace the running dbus-daemon. 2990s Please reboot the system when convenient. 2991s Setting up shared-mime-info (2.4-1build1) ... 2992s Setting up libblockdev-utils3:armhf (3.1.0-1build1) ... 2992s Setting up libgssapi-krb5-2:armhf (1.20.1-5.1build3) ... 2992s Setting up libsystemd-shared:armhf (255.4-1ubuntu5) ... 2992s Setting up ftp (20230507-2build1) ... 2992s Setting up keyboxd (2.4.4-2ubuntu15) ... 2993s Setting up libdpkg-perl (1.22.6ubuntu2) ... 2993s Setting up libsasl2-2:armhf (2.1.28+dfsg1-4ubuntu4) ... 2993s Setting up libssh-4:armhf (0.10.6-2build1) ... 2993s Setting up libblockdev-nvme3:armhf (3.1.0-1build1) ... 2993s Setting up libblockdev-fs3:armhf (3.1.0-1build1) ... 2993s Setting up libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 2993s Setting up libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 2993s Setting up libarchive13t64:armhf (3.7.2-1.1ubuntu1) ... 2993s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) ... 2993s Setting up libpython3-stdlib:armhf (3.12.2-0ubuntu1) ... 2993s Setting up python3.11 (3.11.8-1build3) ... 2995s Setting up telnet (0.17+2.5-3ubuntu3) ... 2995s Setting up libblockdev-mdraid3:armhf (3.1.0-1build1) ... 2995s Setting up libcurl4t64:armhf (8.5.0-2ubuntu7) ... 2995s Setting up bind9-libs:armhf (1:9.18.24-0ubuntu3) ... 2995s Setting up libtirpc3t64:armhf (1.3.4+ds-1.1) ... 2995s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 2995s Setting up libblockdev-swap3:armhf (3.1.0-1build1) ... 2995s Setting up iproute2 (6.1.0-1ubuntu5) ... 2996s Setting up openssh-client (1:9.6p1-3ubuntu10) ... 2996s Setting up libgusb2:armhf (0.4.8-1build1) ... 2996s Setting up libblockdev-loop3:armhf (3.1.0-1build1) ... 2996s Setting up libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 2996s Setting up parted (3.6-3.1build2) ... 2996s Setting up libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 2996s Setting up python3 (3.12.2-0ubuntu1) ... 2997s Setting up systemd (255.4-1ubuntu5) ... 2998s Setting up python3-markupsafe (2.1.5-1build1) ... 2999s Setting up libblockdev3:armhf (3.1.0-1build1) ... 2999s Setting up libjcat1:armhf (0.2.0-2build2) ... 2999s Setting up dpkg-dev (1.22.6ubuntu2) ... 2999s Setting up libblockdev-part3:armhf (3.1.0-1build1) ... 2999s Setting up dirmngr (2.4.4-2ubuntu15) ... 2999s Setting up python3-cryptography (41.0.7-4build2) ... 3000s Setting up python3-gi (3.47.0-3build1) ... 3000s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 3001s Setting up udev (255.4-1ubuntu5) ... 3003s Setting up python3-typing-extensions (4.10.0-1) ... 3004s Setting up lsof (4.95.0-1build2) ... 3004s Setting up python3-pyrsistent:armhf (0.20.0-1build1) ... 3004s Setting up kpartx (0.9.4-5ubuntu4) ... 3004s Setting up libnsl2:armhf (1.3.0-3build2) ... 3004s Setting up gnupg (2.4.4-2ubuntu15) ... 3004s Setting up python3-netplan (1.0-1) ... 3004s Setting up curl (8.5.0-2ubuntu7) ... 3004s Setting up libvolume-key1:armhf (0.3.12-7build1) ... 3004s Setting up netplan-generator (1.0-1) ... 3004s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 3004s Setting up initramfs-tools-core (0.142ubuntu22) ... 3005s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 3005s Setting up python3-lib2to3 (3.12.2-3ubuntu2) ... 3005s Setting up systemd-resolved (255.4-1ubuntu5) ... 3007s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 3007s Setting up openssh-sftp-server (1:9.6p1-3ubuntu10) ... 3007s Setting up systemd-sysv (255.4-1ubuntu5) ... 3007s Setting up python3-dbus (1.3.2-5build2) ... 3008s Setting up initramfs-tools (0.142ubuntu22) ... 3008s update-initramfs: deferring update (trigger activated) 3008s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 3009s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 3009s Setting up openssh-server (1:9.6p1-3ubuntu10) ... 3009s Replacing config file /etc/ssh/sshd_config with new version 3013s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 3015s Setting up libblockdev-crypto3:armhf (3.1.0-1build1) ... 3015s Setting up python3-gdbm:armhf (3.12.2-3ubuntu2) ... 3015s Setting up plymouth (24.004.60-1ubuntu4) ... 3016s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 3016s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 3017s Setting up python3-apt (2.7.6build1) ... 3017s Setting up python3-openssl (24.0.0-2) ... 3018s Setting up libfwupd2:armhf (1.9.15-1) ... 3018s Setting up libnss-systemd:armhf (255.4-1ubuntu5) ... 3018s Setting up python3-yaml (6.0.1-2build1) ... 3018s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 3018s Setting up netplan.io (1.0-1) ... 3018s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu4) ... 3018s update-initramfs: deferring update (trigger activated) 3018s Setting up libpam-systemd:armhf (255.4-1ubuntu5) ... 3019s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 3019s Setting up ubuntu-pro-client (31.2) ... 3019s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 3019s 3022s Setting up fwupd (1.9.15-1) ... 3023s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 3024s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 3024s fwupd.service is a disabled or a static unit not running, not starting it. 3024s Setting up ubuntu-pro-client-l10n (31.2) ... 3024s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 3024s Processing triggers for libc-bin (2.39-0ubuntu6) ... 3024s Processing triggers for ufw (0.36.2-5) ... 3024s Processing triggers for install-info (7.1-3build1) ... 3024s Processing triggers for initramfs-tools (0.142ubuntu22) ... 3028s Reading package lists... 3029s Building dependency tree... 3029s Reading state information... 3031s The following packages will be REMOVED: 3031s libatasmart4* libblockdev-crypto3* libblockdev-fs3* libblockdev-loop3* 3031s libblockdev-mdraid3* libblockdev-nvme3* libblockdev-part3* 3031s libblockdev-swap3* libblockdev-utils3* libblockdev3* libbytesize-common* 3031s libbytesize1* libnspr4* libnss3* libnvme1t64* libpolkit-agent-1-0* 3031s libvolume-key1* linux-headers-6.8.0-11* python3-lib2to3* 3032s 0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded. 3032s After this operation, 89.7 MB disk space will be freed. 3032s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 47392 files and directories currently installed.) 3032s Removing libatasmart4:armhf (0.19-5build2) ... 3032s Removing libblockdev-crypto3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-fs3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-loop3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-mdraid3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-nvme3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-part3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-swap3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev3:armhf (3.1.0-1build1) ... 3032s Removing libblockdev-utils3:armhf (3.1.0-1build1) ... 3032s Removing libbytesize1:armhf (2.10-1ubuntu1) ... 3032s Removing libbytesize-common (2.10-1ubuntu1) ... 3032s Removing libvolume-key1:armhf (0.3.12-7build1) ... 3032s Removing libnss3:armhf (2:3.98-1) ... 3032s Removing libnspr4:armhf (2:4.35-1.1) ... 3032s Removing libnvme1t64 (1.8-3) ... 3032s Removing libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 3032s Removing linux-headers-6.8.0-11 (6.8.0-11.11) ... 3035s Removing python3-lib2to3 (3.12.2-3ubuntu2) ... 3035s Processing triggers for libc-bin (2.39-0ubuntu6) ... 3035s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27121 files and directories currently installed.) 3035s Purging configuration files for libblockdev3:armhf (3.1.0-1build1) ... 3038s autopkgtest [01:39:39]: rebooting testbed after setup commands that affected boot 3069s autopkgtest [01:40:10]: testbed dpkg architecture: armhf 3096s Reading package lists... 3097s Building dependency tree... 3097s Reading state information... 3098s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 3098s Starting 2 pkgProblemResolver with broken count: 0 3098s Done 3099s Done 3100s Starting pkgProblemResolver with broken count: 0 3100s Starting 2 pkgProblemResolver with broken count: 0 3100s Done 3102s The following additional packages will be installed: 3102s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 3102s libdconf1 session-migration 3102s Suggested packages: 3102s fakeroot 3102s The following NEW packages will be installed: 3102s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 3102s libdconf1 session-migration 3102s 0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded. 3102s 1 not fully installed or removed. 3102s Need to get 145 kB of archives. 3102s After this operation, 607 kB of additional disk space will be used. 3102s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdconf1 armhf 0.40.0-4build1 [38.4 kB] 3102s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dconf-service armhf 0.40.0-4build1 [27.4 kB] 3102s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dconf-gsettings-backend armhf 0.40.0-4build1 [23.6 kB] 3102s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf dpkg-repack all 1.52 [12.1 kB] 3102s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf session-migration armhf 0.3.8 [8470 B] 3102s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gsettings-desktop-schemas all 46~rc-1ubuntu1 [35.5 kB] 3103s Fetched 145 kB in 0s (357 kB/s) 3103s Selecting previously unselected package libdconf1:armhf. 3104s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27117 files and directories currently installed.) 3104s Preparing to unpack .../0-libdconf1_0.40.0-4build1_armhf.deb ... 3104s Unpacking libdconf1:armhf (0.40.0-4build1) ... 3104s Selecting previously unselected package dconf-service. 3104s Preparing to unpack .../1-dconf-service_0.40.0-4build1_armhf.deb ... 3104s Unpacking dconf-service (0.40.0-4build1) ... 3104s Selecting previously unselected package dconf-gsettings-backend:armhf. 3104s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4build1_armhf.deb ... 3104s Unpacking dconf-gsettings-backend:armhf (0.40.0-4build1) ... 3104s Selecting previously unselected package dpkg-repack. 3104s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 3104s Unpacking dpkg-repack (1.52) ... 3104s Selecting previously unselected package session-migration. 3104s Preparing to unpack .../4-session-migration_0.3.8_armhf.deb ... 3104s Unpacking session-migration (0.3.8) ... 3104s Selecting previously unselected package gsettings-desktop-schemas. 3104s Preparing to unpack .../5-gsettings-desktop-schemas_46~rc-1ubuntu1_all.deb ... 3104s Unpacking gsettings-desktop-schemas (46~rc-1ubuntu1) ... 3104s Setting up session-migration (0.3.8) ... 3104s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 3104s Setting up dpkg-repack (1.52) ... 3104s Setting up libdconf1:armhf (0.40.0-4build1) ... 3104s Setting up dconf-service (0.40.0-4build1) ... 3104s Setting up dconf-gsettings-backend:armhf (0.40.0-4build1) ... 3104s Setting up gsettings-desktop-schemas (46~rc-1ubuntu1) ... 3104s Processing triggers for libc-bin (2.39-0ubuntu6) ... 3104s Processing triggers for man-db (2.12.0-3build4) ... 3105s Processing triggers for libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 3105s Setting up autopkgtest-satdep (0) ... 3121s (Reading database ... 27200 files and directories currently installed.) 3121s Removing autopkgtest-satdep (0) ... 3141s autopkgtest [01:41:22]: test 1065022-futureproofing: [----------------------- 3143s + export DEBIAN_FRONTEND=noninteractive 3143s + n=0 3143s + failed=0 3143s + binary_package=libglib2.0-0t64 3143s + future_binary_package=libglib2.0-0xyz 3143s + pwd 3143s + srcdir=/tmp/autopkgtest.31oWYP/build.RKw/src 3143s + mktemp -d 3143s + tmpdir=/tmp/tmp.zTUOImqw0M 3143s + cd /tmp/tmp.zTUOImqw0M 3143s + [ -e /tmp/autopkgtest.31oWYP/build.RKw/src/debian/tests/manual/local-1065022.sources ] 3143s + dpkg-query -W dpkg-repack 3143s dpkg-repack 1.52 3143s + dpkg-repack --generate libglib2.0-0t64 3144s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 3144s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.5o5eG3 for libglib2.0-0t64 3144s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.5o5eG3 ." 3144s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.5o5eG3/DEBIAN/control 3144s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.5o5eG3/DEBIAN/control 3144s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.5o5eG3/DEBIAN/control 3144s + 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.5o5eG3/DEBIAN/control 3144s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.5o5eG3 libglib2.0-0xyz.deb 3144s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 3147s + apt-get -y install ./libglib2.0-0xyz.deb 3148s Reading package lists... 3148s Building dependency tree... 3148s Reading state information... 3150s The following packages were automatically installed and are no longer required: 3150s apport-symptoms jq libarchive13t64 libcurl3t64-gnutls libflashrom1 3150s libftdi1-2 libgpgme11t64 libjq1 libjson-glib-1.0-common libonig5 3150s libprotobuf-c1 python3-apport python3-blinker python3-certifi 3150s python3-cffi-backend python3-chardet python3-configobj python3-cryptography 3150s python3-debconf python3-httplib2 python3-jwt python3-launchpadlib 3150s python3-lazr.restfulclient python3-lazr.uri python3-markdown-it 3150s python3-mdurl python3-netifaces python3-oauthlib python3-openssl 3150s python3-problem-report python3-pygments python3-pyparsing python3-requests 3150s python3-rich python3-six python3-systemd python3-urllib3 python3-wadllib 3150s Use 'apt autoremove' to remove them. 3150s Suggested packages: 3150s low-memory-monitor 3150s Recommended packages: 3150s shared-mime-info 3150s The following packages will be REMOVED: 3150s apport apport-core-dump-handler bolt cloud-init dconf-gsettings-backend 3150s dconf-service fwupd gir1.2-girepository-2.0 gir1.2-glib-2.0 3150s gsettings-desktop-schemas libdconf1 libfwupd2 libgirepository-1.0-1 3150s libglib2.0-0t64 libgudev-1.0-0 libgusb2 libjcat1 libjson-glib-1.0-0 3150s libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 libpolkit-gobject-1-0 3150s libqmi-glib5 libqmi-proxy libqrtr-glib0 libxmlb2 netplan-generator 3150s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 3150s session-migration shared-mime-info ubuntu-minimal 3150s The following NEW packages will be installed: 3150s libglib2.0-0xyz 3151s 0 upgraded, 1 newly installed, 36 to remove and 1 not upgraded. 3151s Need to get 0 B/1414 kB of archives. 3151s After this operation, 23.1 MB disk space will be freed. 3151s Get:1 /tmp/tmp.zTUOImqw0M/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.79.3-3ubuntu5 [1414 kB] 3153s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 27200 files and directories currently installed.) 3153s Removing bolt (0.9.6-2build1) ... 3154s Removing cloud-init (24.1.1-0ubuntu1) ... 3156s Removing gsettings-desktop-schemas (46~rc-1ubuntu1) ... 3157s Removing dconf-gsettings-backend:armhf (0.40.0-4build1) ... 3158s Removing dconf-service (0.40.0-4build1) ... 3158s Removing fwupd (1.9.15-1) ... 3161s Removing networkd-dispatcher (2.2.4-1) ... 3162s Removing libdconf1:armhf (0.40.0-4build1) ... 3163s Removing libfwupd2:armhf (1.9.15-1) ... 3164s Removing shared-mime-info (2.4-1build1) ... 3164s Removing session-migration (0.3.8) ... 3164s Removing libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 3165s Removing libgusb2:armhf (0.4.8-1build1) ... 3165s Removing libjcat1:armhf (0.2.0-2build2) ... 3165s Removing libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 3165s Removing libqmi-proxy (1.35.2-0ubuntu1) ... 3166s Removing libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 3166s Removing libmbim-proxy (1.31.2-0ubuntu2) ... 3166s Removing libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 3167s Removing libmm-glib0:armhf (1.23.4-0ubuntu1) ... 3167s Removing ubuntu-minimal (1.536) ... 3167s Removing netplan.io (1.0-1) ... 3167s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 3168s Removing python3-netplan (1.0-1) ... 3168s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 3168s Removing netplan-generator (1.0-1) ... 3168s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 3169s Removing libnetplan1:armhf (1.0-1) ... 3169s Removing libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 3170s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 3172s Removing libxmlb2:armhf (0.3.15-1build1) ... 3173s Removing python3-dbus (1.3.2-5build2) ... 3174s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 3176s Removing apport (2.28.0-0ubuntu1) ... 3177s Removing python3-gi (3.47.0-3build1) ... 3178s Removing gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 3178s Removing gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 3178s Removing libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 3178s Removing libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 3179s Selecting previously unselected package libglib2.0-0xyz:armhf. 3179s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26230 files and directories currently installed.) 3179s Preparing to unpack .../libglib2.0-0xyz.deb ... 3179s Unpacking libglib2.0-0xyz:armhf (2.79.3-3ubuntu5) ... 3179s Setting up libglib2.0-0xyz:armhf (2.79.3-3ubuntu5) ... 3179s No schema files found: removed existing output file. 3179s Processing triggers for dbus (1.14.10-4ubuntu2) ... 3179s Processing triggers for libc-bin (2.39-0ubuntu6) ... 3179s Processing triggers for man-db (2.12.0-3build4) ... 3182s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3182s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3182s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3182s + n=1 3182s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3182s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3182s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3182s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3182s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3182s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3182s + failed=1 3182s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3182s + n=2 3182s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3182s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3182s + failed=1 3182s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 3182s + n=3 3182s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3182s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3182s + failed=1 3182s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 3182s + n=4 3182s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 3182s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3182s + failed=1 3182s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 3182s + n=5 3182s + test -e /usr/lib/*/gio/modules/giomodule.cache 3182s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3182s + failed=1 3182s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 3182s + n=6 3182s + test -s /usr/lib/*/gio/modules/giomodule.cache 3182s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3182s + failed=1 3182s + apt-get -y purge libglib2.0-0t64 3182s Reading package lists... 3183s Building dependency tree... 3183s Reading state information... 3184s The following packages were automatically installed and are no longer required: 3184s apport-symptoms jq libarchive13t64 libcurl3t64-gnutls libflashrom1 3184s libftdi1-2 libgpgme11t64 libjq1 libjson-glib-1.0-common libonig5 3184s libprotobuf-c1 python3-apport python3-blinker python3-certifi 3184s python3-cffi-backend python3-chardet python3-configobj python3-cryptography 3184s python3-debconf python3-httplib2 python3-jwt python3-launchpadlib 3184s python3-lazr.restfulclient python3-lazr.uri python3-markdown-it 3184s python3-mdurl python3-netifaces python3-oauthlib python3-openssl 3184s python3-problem-report python3-pygments python3-pyparsing python3-requests 3184s python3-rich python3-six python3-systemd python3-urllib3 python3-wadllib 3184s Use 'apt autoremove' to remove them. 3184s The following packages will be REMOVED: 3184s libglib2.0-0t64* 3185s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 3185s After this operation, 0 B of additional disk space will be used. 3186s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26251 files and directories currently installed.) 3186s Purging configuration files for libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 3186s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3186s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3186s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3186s + n=7 3186s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3186s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3186s + failed=1 3186s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3186s + n=8 3186s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3186s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3186s + failed=1 3186s + assert test -enot ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3186s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3186s /usr/lib/*/gio/modules/libdconfsettings.so 3186s + n=9 3186s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3186s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3186s + failed=1 3186s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 3186s + n=10 3186s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 3186s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3186s + failed=1 3186s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3186s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3186s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 3186s + n=11 3186s + test -e /usr/lib/*/gio/modules/giomodule.cache 3186s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3186s + failed=1 3186s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 3186s + n=12 3186s + test -s /usr/lib/*/gio/modules/giomodule.cache 3186s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3186s + failed=1 3186s + apt-get -y purge libglib2.0-0xyz 3186s Reading package lists... 3187s Building dependency tree... 3187s Reading state information... 3189s The following packages were automatically installed and are no longer required: 3189s apport-symptoms jq libarchive13t64 libcurl3t64-gnutls libflashrom1 3189s libftdi1-2 libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common 3189s libonig5 libprotobuf-c1 python3-apport python3-blinker python3-certifi 3189s python3-cffi-backend python3-chardet python3-configobj python3-cryptography 3189s python3-debconf python3-httplib2 python3-jwt python3-launchpadlib 3189s python3-lazr.restfulclient python3-lazr.uri python3-markdown-it 3189s python3-mdurl python3-netifaces python3-oauthlib python3-openssl 3189s python3-problem-report python3-pygments python3-pyparsing python3-requests 3189s python3-rich python3-six python3-systemd python3-urllib3 python3-wadllib 3189s xdg-user-dirs 3189s Use 'apt autoremove' to remove them. 3189s The following packages will be REMOVED: 3189s libglib2.0-0xyz* 3190s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 3190s After this operation, 3084 kB disk space will be freed. 3191s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26251 files and directories currently installed.) 3191s Removing libglib2.0-0xyz:armhf (2.79.3-3ubuntu5) ... 3191s Processing triggers for libc-bin (2.39-0ubuntu6) ... 3191s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26226 files and directories currently installed.) 3191s Purging configuration files for libglib2.0-0xyz:armhf (2.79.3-3ubuntu5) ... 3192s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3192s + n=13 3192s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3192s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3192s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3192s + n=14 3192s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3192s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3192s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 3192s + n=15 3192s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3192s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 3192s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3192s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3192s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 3192s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 3192s 1..16 3192s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 3192s + n=16 3192s + test -e /usr/lib/*/gio/modules/giomodule.cache 3192s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 3192s + echo 1..16 3192s + exit 1 3192s autopkgtest [01:42:13]: test 1065022-futureproofing: -----------------------] 3197s autopkgtest [01:42:18]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 3197s 1065022-futureproofing FLAKY non-zero exit status 1 3202s autopkgtest [01:42:23]: @@@@@@@@@@@@@@@@@@@@ summary 3202s build PASS (superficial) 3202s build-static PASS (superficial) 3202s installed-tests PASS 3202s closure-refcount PASS 3202s debugcontroller PASS 3202s gdbus-server-auth PASS 3202s gdbus-threading PASS 3202s gmenumodel PASS 3202s mainloop PASS 3202s memory-monitor-dbus PASS 3202s socket PASS 3202s testfilemonitor PASS 3202s thread-pool-slow PASS 3202s threadtests PASS 3202s timeout PASS 3202s timer PASS 3202s 1065022-futureproofing FLAKY non-zero exit status 1